|
@@ -94,26 +94,15 @@ export default {
|
|
label: '规格型号',
|
|
label: '规格型号',
|
|
width: '300'
|
|
width: '300'
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
prop: 'qty',
|
|
prop: 'qty',
|
|
align: 'left',
|
|
align: 'left',
|
|
- label: '发货数量',
|
|
|
|
- width: '180'
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- prop: 'refundQty',
|
|
|
|
- align: 'left',
|
|
|
|
label: '退货数量',
|
|
label: '退货数量',
|
|
width: '180',
|
|
width: '180',
|
|
isInput: true
|
|
isInput: true
|
|
},
|
|
},
|
|
- {
|
|
|
|
- prop: 'diffQty',
|
|
|
|
- align: 'left',
|
|
|
|
- label: '已退数量',
|
|
|
|
- width: '180'
|
|
|
|
|
|
|
|
- },
|
|
|
|
// {
|
|
// {
|
|
// prop: 'volume',
|
|
// prop: 'volume',
|
|
// label: '体积',
|
|
// label: '体积',
|
|
@@ -248,11 +237,11 @@ export default {
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
for (let i = 0; i < this.dataList.length; i++) {
|
|
this.dataList[i].id = ''
|
|
this.dataList[i].id = ''
|
|
this.dataList[i].directFlag = this.dataList[i].flag
|
|
this.dataList[i].directFlag = this.dataList[i].flag
|
|
- if (Number(this.dataList[i].refundQty) < 0 || !this.dataList[i].refundQty) {
|
|
|
|
|
|
+ if (Number(this.dataList[i].qty) < 0 || !this.dataList[i].qty) {
|
|
this.$errorMsg(`第${i + 1}产品退货数量有误`)
|
|
this.$errorMsg(`第${i + 1}产品退货数量有误`)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- this.dataList[i].qty = this.dataList[i].refundQty
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
const params = {
|
|
const params = {
|
|
@@ -282,29 +271,21 @@ export default {
|
|
label: '规格型号',
|
|
label: '规格型号',
|
|
width: '300'
|
|
width: '300'
|
|
},
|
|
},
|
|
|
|
+
|
|
{
|
|
{
|
|
prop: 'qty',
|
|
prop: 'qty',
|
|
align: 'left',
|
|
align: 'left',
|
|
- label: '发货数量',
|
|
|
|
- width: '180'
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- prop: 'refundQty',
|
|
|
|
- align: 'left',
|
|
|
|
label: '退货数量',
|
|
label: '退货数量',
|
|
width: '180',
|
|
width: '180',
|
|
- },
|
|
|
|
- {
|
|
|
|
- prop: 'diffQty',
|
|
|
|
- align: 'left',
|
|
|
|
- label: '已退数量',
|
|
|
|
- width: '180'
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
+
|
|
{
|
|
{
|
|
prop: 'notes',
|
|
prop: 'notes',
|
|
label: '备注',
|
|
label: '备注',
|
|
width: '180',
|
|
width: '180',
|
|
|
|
+
|
|
type: 'text'
|
|
type: 'text'
|
|
}
|
|
}
|
|
]
|
|
]
|