diff --git a/src/config/getData2.js b/src/config/getData2.js index ded9e39..2f9be92 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -140,7 +140,8 @@ export const workorderExecutes = (id) => post('api/pda/workorder/executes', { * 包装输送线送货 */ // 物料 -export const ssxqueryMaterial = () => post('api/pda/ssx/sendMaterial/queryMaterial', { +export const ssxqueryMaterial = (code) => post('api/pda/ssx/sendMaterial/queryMaterial', { + material_code: code }) // 载具类型 export const ssxqueryVehicle = () => post('api/pda/ssx/sendMaterial/queryVehicle', { diff --git a/src/pages/proj/PackLineDelivery.vue b/src/pages/proj/PackLineDelivery.vue index e3655fd..1854e16 100644 --- a/src/pages/proj/PackLineDelivery.vue +++ b/src/pages/proj/PackLineDelivery.vue @@ -3,6 +3,15 @@
+
+
物料编码
+
+ +
+
+ +
+
载具类型
@@ -23,22 +32,14 @@
-
- - - - - - - -
物料名称
{{e.material_name}}
-
+ +
物料名称 物料编码
{{e.material_name}} {{e.material_code}}
@@ -63,11 +64,12 @@ export default { }, data () { return { + val1: '', option1: [], active1: '', open1: false, qty: '', - dataList: [], + dataList: [{}], pkId: '', pkObj: {}, disabled1: false @@ -96,7 +98,7 @@ export default { }, // 查询grid async _ssxqueryMaterial () { - let res = await ssxqueryMaterial() + let res = await ssxqueryMaterial(this.val1) if (res.code) { this.dataList = [...res.result] } else { @@ -132,4 +134,15 @@ export default { diff --git a/src/style/common.styl b/src/style/common.styl index 15a7218..54707fe 100644 --- a/src/style/common.styl +++ b/src/style/common.styl @@ -150,7 +150,7 @@ header /** grid列表 **/ .grid-wraper _fj(,flex-start) - max-height 12rem + // max-height 12rem overflow-y: auto .left_fixed flex 0 0 1.5rem