diff --git a/src/mycomponents/query/fifoQuery.vue b/src/mycomponents/query/fifoQuery.vue
new file mode 100644
index 00000000..8e19f4e5
--- /dev/null
+++ b/src/mycomponents/query/fifoQuery.vue
@@ -0,0 +1,297 @@
+
+
+
+
+
+
+ 先进先出查询
+
+
+ 关闭
+
+
+
+
+
+
+
+ 物料号:
+
+
+
+
+
+
+
+
+ 仓库:
+
+
+
+
+
+
+
+
+ ({{index+1}}) 物料代码 : {{item.code}}
+
+
+ 名称 : {{item.name}}
+
+
+ 描述1 : {{item.desc1}}
+
+
+ 描述2 : {{item.desc1}}
+
+
+
+
+
+
+
+
+
+
+ 批次
+ 库位
+ 状态
+ 数量
+ 单位
+
+
+
+ {{item.batch}}
+ {{item.locationCode}}
+ {{statusDesc(item.inventoryStatus)}}
+ {{item.totalQty}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/issue/record/directIssueByBatch.vue b/src/pages/issue/record/directIssueByBatch.vue
index 9457e8aa..2c8a1ab0 100644
--- a/src/pages/issue/record/directIssueByBatch.vue
+++ b/src/pages/issue/record/directIssueByBatch.vue
@@ -47,7 +47,8 @@
-
+
+
@@ -62,7 +63,8 @@
import {
goHome,
getPackingNumberAndBatchByList,
- deepCopyData
+ deepCopyData,
+ getSwitchInfoByCode
} from '@/common/basic.js';
import {
@@ -101,8 +103,8 @@
import recordDetailCard from '@/mycomponents/record/recordDetailCard.vue'
import balanceSelect from '@/mycomponents/balance/balanceSelect.vue'
import winComScanBalance from '@/mycomponents/scan/winComScanBalance.vue'
- import balanceQuery from '@/mycomponents/query/balanceQuery.vue'
-
+ import fifoQuery from '@/mycomponents/query/fifoQuery.vue'
+
export default {
components: {
@@ -116,7 +118,7 @@
recordDetailCard,
balanceSelect,
winComScanBalance,
- balanceQuery
+ fifoQuery
},
data() {
return {
@@ -139,7 +141,8 @@
positionInfo: "请选择生产线",
resultData: {},
itemCode: "",
- managementType: ''
+ managementType: '',
+ fifoSwitch:false
};
},
onLoad(option) {
@@ -148,7 +151,7 @@
})
this.clearData();
this.getBusinessType()
-
+ this.fifoSwitch = getSwitchInfoByCode("directIssueFifoSwitch")
// if (this.positionList.length == 0) {
getWorkShopLineStation().then(res => {
if (res.data != null && res.data.length > 0) {
@@ -169,7 +172,7 @@
if (e.index === 0) {
goHome();
} else if (e.index == 1) {
- this.$refs.refBalanceQuery.showDrawer();
+ this.$refs.refFifoQuery.showDrawer();
this.closeScanPopup();
}
},