695593266@qq.com 4 miesięcy temu
rodzic
commit
0c81c14011

+ 1 - 1
src/views/entrust/components/produceOrder.vue

@@ -58,7 +58,7 @@
         ],
         statusOpt: {
           first: [
-            { label: '所有状态', value: '5,4' },
+            { label: '所有状态', value: '5,4,7' },
             { label: '待生产', value: '4' },
             { label: '生产中', value: '5' }
             // { label: '已延期', value: '7' }

+ 2 - 0
src/views/produceOrder/components/releaseDialog/index.vue

@@ -786,6 +786,8 @@
       // 选择工作中心
       async changeWork(e) {
         this.form.workCenterId = e;
+        const item = this.workCenterList.find((it) => it.centerId == e);
+        this.form.workCenterName = item ? item.centerName : '';
 
         let data = this.userTeamList.filter((item) =>
           item.workCenterIds.includes(e)