lucw hace 9 meses
padre
commit
542a1d7eb0
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/views/materialPlan/components/producePlan.vue

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

@@ -948,7 +948,7 @@
         this.$refs.produceOrderRef.open(this.tableData);
         this.$refs.produceOrderRef.open(this.tableData);
       },
       },
       async chooseOrder(list) {
       async chooseOrder(list) {
-        console.log(list, 'list222');
+        console.log('所选生产计划列表', list);
         let planIds = [];
         let planIds = [];
         const tableList = this.$refs.table.getData() || [];
         const tableList = this.$refs.table.getData() || [];
         const existingIds = tableList.map((item) => item.id);
         const existingIds = tableList.map((item) => item.id);
@@ -1101,6 +1101,7 @@
         this.$refs.versionRefs.open();
         this.$refs.versionRefs.open();
       },
       },
       changeProduct(data) {
       changeProduct(data) {
+        console.log('data xsid', data, this.xsId);
         let param = {
         let param = {
           planIds: [this.xsId],
           planIds: [this.xsId],
           produceRoutingId: data.id
           produceRoutingId: data.id
@@ -1246,6 +1247,7 @@
               this.$message.info('请添加生产计划');
               this.$message.info('请添加生产计划');
               return false;
               return false;
             }
             }
+
             let _arr2 = [];
             let _arr2 = [];
 
 
             _arr2 = _arr.map((m) => {
             _arr2 = _arr.map((m) => {