|
@@ -183,7 +183,7 @@ export default {
|
|
|
}
|
|
|
if (key == 'qty') {
|
|
|
updateQty({
|
|
|
- waitDispatchDetailSn: row.waitDispatchDetailSn,
|
|
|
+ dispatchBillDetailSn: row.dispatchBillDetailSn,
|
|
|
qty: row.qty,
|
|
|
salesBillSn: this.salesBillSn
|
|
|
}).then(res => {
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
}
|
|
|
const obj = []
|
|
|
_this.selectedRows.map(item => {
|
|
|
- obj.push(item.waitDispatchDetailSn)
|
|
|
+ obj.push(item.dispatchBillDetailSn)
|
|
|
})
|
|
|
|
|
|
this.$confirm({
|
|
@@ -247,7 +247,7 @@ export default {
|
|
|
deleteFun (row, type) {
|
|
|
const _this = this
|
|
|
_this.delLoading = true
|
|
|
- deleteBatch(type == 0 ? [row.waitDispatchDetailSn] : row).then(res => {
|
|
|
+ deleteBatch(type == 0 ? [row.dispatchBillDetailSn] : row).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.resetSearchForm(true)
|
|
|
_this.$message.success(res.message)
|