diff --git a/src/config/getData1.js b/src/config/getData1.js index d3b15fa..86e2bab 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -146,3 +146,41 @@ export const tmpcallVechile = (dcode, qty) => post('api/pda/tmpcallVechile', { export const tmpsendVechile = (dcode) => post('api/pda/tmpsendVechile', { device_code: dcode }) + +// 公共接口 +// 1.1车间列表 +export const dictall = () => post('api/dict/all', { +}) + +// 人工倒料 +// 1.1设备列表 +export const washdevicelist = (wid) => post('api/device/list', { + workprocedure_id: wid +}) + +// 1.2根据设备列表获取物料信息 +export const washquery = (parea, dcode) => post('api/pda/wash/query', { + product_area: parea, + device_code: dcode +}) + +// 1.3称重 +export const washweighing = (list) => post('api/pda/wash/weighing', { + list: list +}) + +// 1.4确认 +export const washweighingFinish = (dcode, dweight, mcode, mspec, mname) => post('api/pda/wash/weighingFinish', { + device_code: dcode, + deviceinstor_weight: dweight, + material_code: mcode, + material_spec: mspec, + material_name: mname +}) + +// 1.5查询物料列表 +export const washsearchlist = (page, size, mcode) => post('api/pda/wash/searchlist', { + page: page, + size: size, + material_code: mcode +}) diff --git a/src/pages/modules/clean/index.vue b/src/pages/modules/clean/index.vue index ba0d42e..e0eaa44 100644 --- a/src/pages/modules/clean/index.vue +++ b/src/pages/modules/clean/index.vue @@ -26,7 +26,7 @@ export default { }, computed: { title () { - let res = ['清洗上料', '清洗下料', '人工倒料'][Number(this.$route.meta.guidePath) - 1] + let res = ['清洗上料', '清洗下料', '人工倒料', '选择物料'][Number(this.$route.meta.guidePath) - 1] return res }, ...mapGetters(['keepAlive']) diff --git a/src/pages/modules/clean/man-pour.vue b/src/pages/modules/clean/man-pour.vue index 62b4442..8d98795 100644 --- a/src/pages/modules/clean/man-pour.vue +++ b/src/pages/modules/clean/man-pour.vue @@ -8,9 +8,9 @@ + :key="item.value" + :label="item.label" + :value="item.value"> @@ -31,30 +31,40 @@
规格
- +
编码
- +
名称
- +
重量(g)
- +
+
- - + + +
@@ -62,45 +72,25 @@