一级出入库问题修改

master
zhangdi 2 weeks ago
parent 63c7320fda
commit 28b4cb603e
  1. 12
      src/api/firstOrder/outbound.js
  2. 6
      src/views/firstOrder/components/inDialog.vue
  3. 3
      src/views/firstOrder/outbound.vue

@ -99,3 +99,15 @@ export const getPutPurchaseList = (current, size, params) => {
cryptoData: false cryptoData: false
}) })
} }
// oneOutStorage/delete
export const deleteList = (oneOutStorageId) => {
console.log('api中的数据', oneOutStorageId)
return request({
url: '/smartpark/oneOutStorage/delete',
method: 'get',
params: oneOutStorageId,
cryptoToken: false,
cryptoData: false
})
}

@ -624,6 +624,11 @@ export default {
} else { } else {
this.sizeForm.singleData = handledDetailList; this.sizeForm.singleData = handledDetailList;
} }
if (this.sizeForm.option == 1) {
this.getStatistics();
} else {
this.getStatisticsSingle();
}
} catch (error) { } catch (error) {
this.$message.error("获取详情数据失败"); this.$message.error("获取详情数据失败");
} }
@ -879,6 +884,7 @@ export default {
this.batchType = ""; this.batchType = "";
this.sizeForm.inTableData = []; this.sizeForm.inTableData = [];
this.sizeForm.singleData = []; this.sizeForm.singleData = [];
this.sizeForm.purchaseEndInfo = "";
if (this.sizeForm.option == 1) { if (this.sizeForm.option == 1) {
this.inBatchDialogVisible = true; this.inBatchDialogVisible = true;
} }

@ -293,9 +293,6 @@ export default {
}); });
this.onLoad(this.page, this.query); this.onLoad(this.page, this.query);
}) })
.catch(() => {
});
}) })
.catch(() => { .catch(() => {
this.$message({ this.$message({

Loading…
Cancel
Save