fix: 取消更新后登录页不再自动弹框,等级改为非必填并升至1.1.17
This commit is contained in:
@@ -376,10 +376,6 @@ export default {
|
||||
return;
|
||||
}
|
||||
const levelIds = normalizeLevelIds(this.detail.grey_fabric_level_id);
|
||||
if (!levelIds.length) {
|
||||
this.$u.toast('请选择等级');
|
||||
return;
|
||||
}
|
||||
if (this.submitting) return;
|
||||
this.submitting = true;
|
||||
try {
|
||||
@@ -387,8 +383,10 @@ export default {
|
||||
fabric_piece_code: fabricPieceCode,
|
||||
actual_weight: actualWeight,
|
||||
electronic_scale_weight: actualWeight,
|
||||
grey_fabric_level_id: levelIds,
|
||||
};
|
||||
if (levelIds.length) {
|
||||
payload.grey_fabric_level_id = levelIds;
|
||||
}
|
||||
const inspectorName = String(this.detail.inspector_name || '').trim();
|
||||
if (inspectorName) {
|
||||
payload.inspector_name = inspectorName;
|
||||
|
||||
Reference in New Issue
Block a user