Преглед на файлове

过滤系统,采购申请名称,产品名称+日期,后面的审批到采购计划的名称都同步过去

hezhanp преди 9 месеца
родител
ревизия
2999ec5158
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      src/views/materialPlan/components/plan-edit-dialog.vue
  2. 1 1
      src/views/materialPlan/components/producePlan.vue

+ 1 - 1
src/views/materialPlan/components/plan-edit-dialog.vue

@@ -925,7 +925,7 @@ export default {
           salesOrderIds: salesOrderIds,
           demandType: this.formData.demandType
         });
-        if (this.$store.state.user.info.clientEnvironmentId == '4') {
+        if (this.$store.state.user.info.clientEnvironmentId == '5') {
           if (res && res.length > 0) {
             const firstOrderName = res[0].productName || '';
             this.formData.name =

+ 1 - 1
src/views/materialPlan/components/producePlan.vue

@@ -987,7 +987,7 @@
           demandType: this.formData.demandType
         });
         
-        if (this.$store.state.user.info.clientEnvironmentId == '4') {
+        if (this.$store.state.user.info.clientEnvironmentId == '5') {
           if (res && res.length > 0) {
             const firstOrderName = res[0].productName || '';
             this.formData.name =