瀏覽代碼

1.【采购需求单】复制,清空子表的采购经理审核人puManagerApproverName字段
2.【采购需求处理】列表编辑,判断状态不为“计划待确认”的情况下,最终采购量和采购员禁止修改

002390 1 年之前
父節點
當前提交
b44a95fb52
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 2
      src/views/purchase/DemandSummary/index.vue
  2. 2 0
      src/views/purchase/PurchaseDemandList/add.vue

+ 2 - 2
src/views/purchase/DemandSummary/index.vue

@@ -332,7 +332,7 @@ export default {
           v-model="scope.row[scope.item.key]"
           :size="size"
           :source.sync="scope.row"
-          :disabled="!isEdit"
+          :disabled="scope.row.status !== '1' || !isEdit"
           @change="changeFinalBuyQty(scope)"
         >
         </component>
@@ -344,7 +344,7 @@ export default {
           v-model="scope.row[scope.item.key]"
           :size="size"
           :source.sync="scope.row"
-          :disabled="!isEdit"
+          :disabled="scope.row.status !== '1' ||!isEdit"
           @clear="changeBuyerName(scope)"
           @change="changeBuyerName(scope)"
         >

+ 2 - 0
src/views/purchase/PurchaseDemandList/add.vue

@@ -1851,6 +1851,8 @@ export default {
         item.contactsPhone = "";
         item.address = "";
         item.statusAllot = "N";
+        item.puManagerApprover = "";
+        item.puManagerApproverName = "";
       });
       this.dafaultDate();
     },