|
@@ -189,6 +189,7 @@ export default {
|
|
|
console.log(this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.tableData)
|
|
|
selected.forEach(k => {
|
|
|
k.diffQty = Number(k.qty) - Number(k.refundQty)
|
|
|
+ k.qty = k.refundQty
|
|
|
})
|
|
|
let obj = {
|
|
|
id:Object.freeze(this.dataList[0].id)
|
|
@@ -266,13 +267,13 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
|
- this.dataList[i].id = ''
|
|
|
+
|
|
|
this.dataList[i].directFlag = this.dataList[i].flag
|
|
|
if (Number(this.dataList[i].qty) < 0 || !this.dataList[i].qty) {
|
|
|
this.$errorMsg(`第${i + 1}产品退货数量有误`)
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+ // this.dataList[i].id = ''
|
|
|
}
|
|
|
|
|
|
const params = {
|