浏览代码

预装箱单字段增加

jbb 2 年之前
父节点
当前提交
163f88e4e1
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      src/views/packing-list/packinglist-clothes/clothesAddDrawer.vue

+ 6 - 4
src/views/packing-list/packinglist-clothes/clothesAddDrawer.vue

@@ -542,7 +542,9 @@ export default {
               business_Type_Value:data.business_Type_Value,
               salesman:data.salesman,
               salesDepartment:data.salesDepartment,
-              ompoId:data.ompoId
+              ompoId:data.ompoId,
+              purchase:data.purchase,
+              customerAbbreviation:data.customerAbbreviation
             }
           this.setHeadCalField(data.syPackingListTailoringItemList)
           this.dynamicColumns(data.sizeTables)
@@ -761,7 +763,9 @@ export default {
           newObj.business_Type_Value=this.clothesAdd.business_Type_Value,
           newObj.salesman=this.clothesAdd.salesman,
           newObj.salesDepartment=this.clothesAdd.salesDepartment,
-          newObj.ompoId=this.clothesAdd.ompoId
+          newObj.ompoId=this.clothesAdd.ompoId,
+          newObj.purchase=this.clothesAdd.purchase,
+          newObj.customerAbbreviation=this.clothesAdd.customerAbbreviation
           var sort = 0;
           for (var i=0; i<newObj.syPackingListTailoringItemList.length;i++){
              var tableRow = newObj.syPackingListTailoringItemList[i];
@@ -821,7 +825,6 @@ export default {
           }
            tableRow.sort = ++sort;
          } 
-         debugger
          if(this.editDecide === 'edit'){
            editSpltList(newObj).then(res => {
              if (res.success) {
@@ -837,7 +840,6 @@ export default {
         }else {
           addSpltList(newObj).then(res => {
              if (res.success) {
-               debugger
               this.$message.success('新增成功')
               this.close()
               //清空信息