Browse Source

去掉工作令号必填

qinhb 2 tháng trước cách đây
mục cha
commit
3c0852131c

+ 2 - 2
src/views/plan/requisition/index.vue

@@ -556,10 +556,10 @@ const saveForm = (type) => {
       return;
       return;
     }
     }
     for (let item of tableDataList.value) {
     for (let item of tableDataList.value) {
-      if (!item.workCode) {
+      /*if (!item.workCode) {
         ElMessage.error("工作令号不能为空");
         ElMessage.error("工作令号不能为空");
         return;
         return;
-      }
+      }*/
       if (!item.num || item.num <= 0) {
       if (!item.num || item.num <= 0) {
         ElMessage.error("物料数量不正确");
         ElMessage.error("物料数量不正确");
         return;
         return;