Procházet zdrojové kódy

refactor(销售订单): 统一销售订单号字段名称为orderNo

liujt před 7 měsíci
rodič
revize
117f1de48a

+ 2 - 2
src/views/bpm/handleTask/components/saleOrder/customerReturnGoods/productionPlanList.vue

@@ -59,8 +59,8 @@
           },
 
           {
-            prop: 'salesCode',
-            action: 'salesCode',
+            prop: 'orderNo',
+            action: 'orderNo',
             label: '销售订单号',
             align: 'center',
             minWidth: 160

+ 9 - 2
src/views/bpm/stockManagement/storage.vue

@@ -1749,7 +1749,7 @@
             });
             console.log(this.productList, 'this.productListtttttttttttt');
             this.$nextTick(() => {
-              this.batchSave();
+              // this.batchSave();
               // this.listSaveArrs()
             });
           });
@@ -3072,6 +3072,13 @@
             `productList.${index}.packingUnit`,
             `productList.${index}.warehouseId`
           ];
+
+          if(this.isShowPackage) {
+            fileds.push(
+              `productList.${index}.unpackUserName`,
+              `productList.${index}.ifPackageOk`,
+            )
+          }
           Promise.all(
             fileds.map(
               (item) =>
@@ -3160,7 +3167,7 @@
             }
           }
         } catch (error) {
-          this.$message.error('批量保存失败,请检查必填项');
+          // this.$message.error('批量保存失败,请检查必填项');
         }
       },
       listSave(row, index) {