|
@@ -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()
|
|
|
//清空信息
|