|
@@ -602,11 +602,9 @@
|
|
|
item.goods = {...ress.data,oldPrice:ress.data.price}
|
|
|
item.goodsList = ress.data ? [{...ress.data,oldPrice:ress.data.price}] : []
|
|
|
}
|
|
|
+ var ress = await that.getAttachmentList(res.data.websitId)
|
|
|
for(var item of res.data.websitPartsRetOldRecordList){
|
|
|
- var ress = await that.getAttachmentList(res.data.websitId)
|
|
|
- console.log(ress,'3y123euwia')
|
|
|
- debugger
|
|
|
- item.goods = item
|
|
|
+ item.goods = {goodsId: item.goodsId}
|
|
|
item.goodsList = ress.data ? ress.data : []
|
|
|
}
|
|
|
this.dataList = res.data.websitPartsRetItemList
|
|
@@ -792,6 +790,7 @@
|
|
|
});
|
|
|
},
|
|
|
async submit(){
|
|
|
+ console.log(this.oldList)
|
|
|
let is_save = await this.checkForm()
|
|
|
if(!is_save){return false}
|
|
|
this.$confirm(`请确定是否提交, 是否继续?`, '提示', {
|
|
@@ -799,6 +798,7 @@
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
+ console.log(2)
|
|
|
edit({
|
|
|
flag: 'SUBMIT',
|
|
|
salesId: this.formData.salesId,
|