|
@@ -231,7 +231,8 @@
|
|
|
workerId: '',
|
|
|
idcard: '',
|
|
|
phone: '',
|
|
|
- remark: ''
|
|
|
+ remark: '',
|
|
|
+ totalAmount: ''
|
|
|
},
|
|
|
isEdit: 0,
|
|
|
companyName: JSON.parse(localStorage.getItem('greemall_user')).companyName,
|
|
@@ -285,6 +286,7 @@
|
|
|
this.formData.phone = res.data.workerMobile
|
|
|
this.getCategory(res.data.websitId)
|
|
|
this.formData.remark = res.data.remark
|
|
|
+ this.formData.totalAmount = res.data.totalAmount
|
|
|
for(var item of res.data.items){
|
|
|
item.parentCategory = {categoryId: item.parentCategoryId,categoryName: item.parentCategoryName,items: [{categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}]}
|
|
|
item.goodsCategory = {categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}
|
|
@@ -316,6 +318,7 @@
|
|
|
this.formData.phone = res.data.workerMobile
|
|
|
this.getCategory(res.data.websitId)
|
|
|
this.formData.remark = res.data.remark
|
|
|
+ this.formData.totalAmount = res.data.totalAmount
|
|
|
for(var item of res.data.websitSalesRetItems){
|
|
|
item.parentCategory = {categoryId: item.parentCategoryId,categoryName: item.parentCategoryName,items: [{categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}]}
|
|
|
item.goodsCategory = {categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}
|