diff --git a/src/api/oms/emisWarehouseIn.js b/src/api/oms/emisWarehouseIn.js index bacd866..acbe764 100644 --- a/src/api/oms/emisWarehouseIn.js +++ b/src/api/oms/emisWarehouseIn.js @@ -50,3 +50,14 @@ export function delEmisWarehouseIn(id) { method: 'delete' }) } + +//根据进仓单编号查询进仓单详情 +export function getWarehouseInDetail(query) { + return request({ + url: '/oms2c/emisWarehouseIn/getWarehouseInDetail', + method: 'get', + params: { + inNo: query.inNo + } + }) +} \ No newline at end of file diff --git a/src/views/oms/emisWaybill/WsInBatchList.vue b/src/views/oms/emisWaybill/WsInBatchList.vue new file mode 100644 index 0000000..9fa907a --- /dev/null +++ b/src/views/oms/emisWaybill/WsInBatchList.vue @@ -0,0 +1,392 @@ + + + + + diff --git a/src/views/oms/orderCheck/OrderWarehouseInList.vue b/src/views/oms/orderCheck/OrderWarehouseInList.vue index 318b729..a6d25e1 100644 --- a/src/views/oms/orderCheck/OrderWarehouseInList.vue +++ b/src/views/oms/orderCheck/OrderWarehouseInList.vue @@ -4,10 +4,10 @@
- + - - + +
@@ -30,6 +30,8 @@ export default { return { activeTab:'billList', billTabs:[], + selectInNo:null, + openViewForm:false, }; }, created() { @@ -39,27 +41,36 @@ export default { }, onSelectBill(item) { - let old=this.billTabs.find(mItem=>mItem.settleBillNo==item.settleBillNo); - if(old){ - this.activeTab=item.settleBillNo; - }else{ - this.billTabs.push(item); - this.activeTab=item.settleBillNo; - } + this.selectInNo=item.inNo; + this.openViewForm=true; + this.activeTab='wsInView'; }, - removeTab(targetName) { - - var self=this; + removeTab(targetName) { + if (targetName == 'wsInPanel') { + this.showWsInPanel = false; + this.activeTab = "billList"; + } + else if (targetName == 'wsInView') { + this.openViewForm = false; + this.activeTab = "billList"; + } + else { + var self = this; let tabs = self.billTabs; - self.billTabs = tabs.filter(tab => tab.settleBillNo !== targetName); - if(self.billTabs.length>0){ - this.activeTab=self.billTabs[self.billTabs.length-1].settleBillNo; - }else{ - this.activeTab="billList"; + self.billTabs = tabs.filter(tab => tab.inNo !== targetName); + if (self.billTabs.length > 0) { + this.activeTab = self.billTabs[self.billTabs.length - 1].inNo; + } else { + this.activeTab = "billList"; } + } }, - + onStockIn(inNo) { + this.selectInNo = inNo; + this.showWsInPanel = true; + this.activeTab = 'wsInPanel'; + }, } }; diff --git a/src/views/oms/orderCheck/WarehouseInBatchPanel.vue b/src/views/oms/orderCheck/WarehouseInBatchPanel.vue index 2727de3..14a836c 100644 --- a/src/views/oms/orderCheck/WarehouseInBatchPanel.vue +++ b/src/views/oms/orderCheck/WarehouseInBatchPanel.vue @@ -1,311 +1,88 @@ diff --git a/src/views/oms/orderCheck/WarehouseInPanel.vue b/src/views/oms/orderCheck/WarehouseInPanel.vue index 2ee5c0c..4f02d56 100644 --- a/src/views/oms/orderCheck/WarehouseInPanel.vue +++ b/src/views/oms/orderCheck/WarehouseInPanel.vue @@ -176,20 +176,7 @@ 部分入仓 - - - - - - - - -