|
@@ -188,8 +188,8 @@ export default {
|
|
|
if (!this.detailsId) {
|
|
|
this.details = this.dataList[0]
|
|
|
this.details.customerOrderNo = this.dataList[0].id
|
|
|
- this.detailsId = this.detailsId
|
|
|
}
|
|
|
+ this.detailsId = this.detailsId
|
|
|
this.customerNumber = this.dataList[0].customerNumber
|
|
|
this.dialogVisible = false
|
|
|
this.$refs.dia.$refs.pageRef.$refs.zjpage.$refs.tableEl.$refs.tableView.clearSelection()
|
|
@@ -242,6 +242,7 @@ export default {
|
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
|
this.dataList[i].id = ''
|
|
|
this.dataList[i].directFlag = this.dataList[i].flag
|
|
|
+ this.dataList[i].qty = this.dataList[i].refundQty
|
|
|
if (Number(this.dataList[i].refundQty) < 0 || !this.dataList[i].refundQty) {
|
|
|
this.$errorMsg(`第${i + 1}产品退货数量有误`)
|
|
|
return
|
|
@@ -279,6 +280,7 @@ export default {
|
|
|
this.$parent.pageType = 0
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
onReset() {
|
|
|
Object.assign(this.$data, this.$options.data())
|
|
|
|