Browse Source

处理bug94-安全库存、最大库存、最小库存字段设置为必输项

dev_web_online
安虹睿 2 years ago
parent
commit
4c121b5ba6
  1. 23
      fe/PC/src/views/basicData/WarehouseManage/ItemSafetyStock.vue

23
fe/PC/src/views/basicData/WarehouseManage/ItemSafetyStock.vue

@ -157,9 +157,9 @@ export default {
warehouseCode: null, warehouseCode: null,
storeRelationType: 1, storeRelationType: 1,
storeValue: null, storeValue: null,
maxStock: 0, maxStock: null,
minStock: 0, minStock: null,
safetyStock: 0, safetyStock: null,
feedLine: 0, feedLine: 0,
feedQty: 0, feedQty: 0,
feedUM: null, feedUM: null,
@ -173,9 +173,9 @@ export default {
warehouseCode: null, warehouseCode: null,
storeRelationType: 1, storeRelationType: 1,
storeValue: null, storeValue: null,
maxStock: 0, maxStock: null,
minStock: 0, minStock: null,
safetyStock: 0, safetyStock: null,
feedLine: 0, feedLine: 0,
feedQty: 0, feedQty: 0,
feedUM: null, feedUM: null,
@ -219,8 +219,17 @@ export default {
itemCode: [{ required: true, trigger: "change", message: "不可为空" },], itemCode: [{ required: true, trigger: "change", message: "不可为空" },],
storeRelationType: [{ required: true, trigger: "change", message: "不可为空" },], storeRelationType: [{ required: true, trigger: "change", message: "不可为空" },],
storeValue: [{ required: true, trigger: "change", message: "不可为空" },], storeValue: [{ required: true, trigger: "change", message: "不可为空" },],
maxStock: [{ required: true, trigger: "change", message: "不可为空" },],
minStock: [{ required: true, trigger: "change", message: "不可为空" },],
safetyStock: [{ required: true, trigger: "change", message: "不可为空" },],
}, },
editRule: {} editRule: {
storeRelationType: [{ required: true, trigger: "change", message: "不可为空" },],
storeValue: [{ required: true, trigger: "change", message: "不可为空" },],
maxStock: [{ required: true, trigger: "change", message: "不可为空" },],
minStock: [{ required: true, trigger: "change", message: "不可为空" },],
safetyStock: [{ required: true, trigger: "change", message: "不可为空" },],
}
}, },
}; };
}, },

Loading…
Cancel
Save