diff --git a/src/api/request2.js b/src/api/request2.js index 8efbcaaf..07560d3c 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -370,6 +370,18 @@ export function getItempackagingByItemcode(itemCode) { export function getProductionlineItem(params) { return http.get("/wms/productionlineitem/page" , {params}) } +/** + * 查询生产线物料关系 + * @param {*} productionLineCode 生产线code + * + */ +export function getBomVersionByProductionline(productionline) { + return request({ + url: baseApi + "/wms/productionlineitem/getBomVersionByProductionline?productionline=" + productionline, + method: "get", + data: {}, + }); +} /** * 通过物料查询包装规格 * @param {*} itemCode diff --git a/src/pages/fg/coms/comNoReceiptPopup.vue b/src/pages/fg/coms/comNoReceiptPopup.vue index c37b2c58..be96cac1 100644 --- a/src/pages/fg/coms/comNoReceiptPopup.vue +++ b/src/pages/fg/coms/comNoReceiptPopup.vue @@ -2,78 +2,98 @@ - + - - {{ title }} + + {{title}} - + - - + + - - 生产线: + + 生产线: - {{ productionLineName }} + {{productionLineName}} - + - + + - - - 计划日期: + + + 计划日期: - {{ planDate }} + {{planDate}} - + - + + - - - 物料代码: + + + 物料代码: - {{ itemCode }} + {{itemCode}} - + + Bom版本{{bomVersion}} + + - + + - - - 数量: + + + 数量: - ({{ getUomInfo(uom) }}) + ({{getUomInfo(uom)}}) - + + - - - 包装规格: + + + 包装规格: - {{ packUnitName }} + {{packUnitName}} - + - + + - + - - 批次: + + 批次: - + + @@ -90,12 +110,28 @@ @@ -445,4 +485,4 @@ export default { border-radius: 5rpx; padding: 15rpx; } - + \ No newline at end of file diff --git a/src/pages/fg/receiptNoPlan.vue b/src/pages/fg/receiptNoPlan.vue index f9522fce..7ae11e96 100644 --- a/src/pages/fg/receiptNoPlan.vue +++ b/src/pages/fg/receiptNoPlan.vue @@ -6,28 +6,25 @@ - - - - - 完工库位 - {{dataContent.fgLocationCode}} - - - - - 计划数 - {{dataContent.planQty}}{{dataContent.uom}} - + + + 完工库位 + {{dataContent.fgLocationCode}} + + + + 计划数 + {{dataContent.planQty}}{{dataContent.uom}} + - + - + @@ -142,8 +139,7 @@ export default { }; }, - onShow() { - }, + onShow() {}, onLoad() { this.options = getRemoveOption() this.openFg(); @@ -193,7 +189,12 @@ export default { packUnit: result.packUnit, workStationCode: result.workStationCode, fgLocationCode: result.fgLocationCode, - subList: [] + subList: [], + productionLine: result.productionLineCode, + bomVersion: result.bomVersion, + workshop: result.workshop, + team: "", + shift: "" } }, @@ -467,10 +468,14 @@ page { .header { position: fixed; + /* #ifdef H5 */ + top: 88rpx; + /* #endif */ left: 0; width: 100%; background-color: #fff; z-index: 10; + padding: 10rpx; /* 确保头部在内容之上 */ }