|
@@ -20,7 +20,8 @@
|
|
ref="table"
|
|
ref="table"
|
|
:style="{ height: tableHeight+84.5+'px' }"
|
|
:style="{ height: tableHeight+84.5+'px' }"
|
|
size="small"
|
|
size="small"
|
|
- :rowKey="(record) => record.id"
|
|
|
|
|
|
+ rowKeyName="productSn"
|
|
|
|
+ :rowKey="(record) => record.productSn"
|
|
:row-selection="{ columnWidth: 40 }"
|
|
:row-selection="{ columnWidth: 40 }"
|
|
@rowSelection="rowSelectionFun"
|
|
@rowSelection="rowSelectionFun"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
@@ -196,17 +197,13 @@ export default {
|
|
list: data
|
|
list: data
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
- this.resetSearchForm(true)
|
|
|
|
|
|
+ this.resetSearchForm(false)
|
|
this.$message.success(res.message)
|
|
this.$message.success(res.message)
|
|
}
|
|
}
|
|
this.loading = false
|
|
this.loading = false
|
|
this.spinning = false
|
|
this.spinning = false
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // 重置列表
|
|
|
|
- resetForm () {
|
|
|
|
- this.$refs.table.refresh(true)
|
|
|
|
- },
|
|
|
|
// 获取单据详细
|
|
// 获取单据详细
|
|
getOrderDetail () {
|
|
getOrderDetail () {
|
|
allocateReturnQueryBySn({ allocateReturnSn: this.orderSn }).then(res => {
|
|
allocateReturnQueryBySn({ allocateReturnSn: this.orderSn }).then(res => {
|