Browse Source

修复盘点批量删除问题

myd
qb 1 year ago
parent
commit
58208db007
  1. 8
      pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue

8
pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue

@ -982,7 +982,8 @@
confirmText: '确认删除',
success() {
details.renderList = details.renderList.filter(val => Number(val.questStatus) === 1 || !val.isChoose)
details.orderList = details.renderList
if (details.tabBarCode === 1) details.orderList = details.renderList
else if (details.tabBarCode === 2) details.stockList = details.renderList
details.scanNum = details.renderList.reduce((curr, item) => {
if (item.questStatus === 1) return curr += 1
return curr
@ -1523,6 +1524,11 @@
console.log('submitData :>> ', submitData);
const res = await postWarehouseTaskAddDataInfo(submitData)
console.log('res :>> ', res);
const { code } = res
if (code === 200) {
//
uni.navigateBack()
}
} catch (err) {
console.log('err :>> ', err);
//TODO handle the exception

Loading…
Cancel
Save