diff --git a/pages.json b/pages.json index 6e40ddc..cddb6ec 100644 --- a/pages.json +++ b/pages.json @@ -719,6 +719,22 @@ } } + ,{ + "path" : "pages/SecondPhase/production/MjMake", + "style" : + { + "navigationStyle": "custom" + } + + } + ,{ + "path" : "pages/SecondPhase/production/SboCool", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/SecondPhase/production/BakeProcess.vue b/pages/SecondPhase/production/BakeProcess.vue index f52aaf2..75a683a 100644 --- a/pages/SecondPhase/production/BakeProcess.vue +++ b/pages/SecondPhase/production/BakeProcess.vue @@ -23,13 +23,19 @@ {{$t('filter.temperature')}} - + - {{$t('filter.time')}} + {{$t('filter.time')}}(分) - + + + + + 类型 + + @@ -38,7 +44,7 @@ - + @@ -46,7 +52,7 @@ \ No newline at end of file diff --git a/pages/SecondPhase/production/SboCool.vue b/pages/SecondPhase/production/SboCool.vue new file mode 100644 index 0000000..91db4fc --- /dev/null +++ b/pages/SecondPhase/production/SboCool.vue @@ -0,0 +1,160 @@ + + + + + diff --git a/pages/SecondPhase/production/SboProcess.vue b/pages/SecondPhase/production/SboProcess.vue index e52cd59..6df9ce9 100644 --- a/pages/SecondPhase/production/SboProcess.vue +++ b/pages/SecondPhase/production/SboProcess.vue @@ -63,9 +63,6 @@ @clear="handleClear" @search="searchList" > - - - @@ -175,20 +172,6 @@ this.status = 'noMore' } }, - // 新增工单 - async _createOrder () { - this.disabled1 = true - try { - let res = await createOrder(this.conditions[0].value, this.conditions[1].value) - this.disabled1 = false - uni.showToast({ - title: res.message, - icon: 'none' - }) - } catch (e) { - this.disabled1 = false - } - }, // 准备就绪 async _confirmBlanking () { this.disabled2 = true diff --git a/utils/getData1.js b/utils/getData1.js index 50297fd..8936538 100644 --- a/utils/getData1.js +++ b/utils/getData1.js @@ -142,6 +142,17 @@ export const bakingquery = (pcode) => request({ point_code: pcode } }) +// 质检不合格 +export const inCoolOrOven = (pcode, cname, temp, hours, type) => request({ + url: 'api/pda/baking/inCoolOrOven', + data: { + point_code: pcode, + container_name: cname, + temperature: temp, + hours: hours, + type: type, + } +}) /** * 人工烘烤 diff --git a/utils/getData3.js b/utils/getData3.js index 898378f..c005410 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -558,6 +558,26 @@ export const updatePackagePoint = (ivt, code) => request({ * 分切暂存维护(二期-分切管理) */ export const cutCacheInventory = (code, type) => request({ - url:'/api/pda/slitter/cutCacheInventory', + url:'api/pda/slitter/cutCacheInventory', data: {point_code: code, type: type} +}) +/** + * 母卷决策 + */ +export const bakingReBake = (code, type) => request({ + url:'api/pda/baking/reBake', + data: {container_name: code, type: type} +}) +/** + * 冷却区生箔详情 + */ +export const rawQuery = (pcode, cname, parea, page, size) => request({ + url:'api/pda/raw/query', + data: { + point_code: pcode, + container_name: cname, + product_area: parea, + page: page, + size: size + } }) \ No newline at end of file diff --git a/utils/mork2.js b/utils/mork2.js index 6076f02..15ebd47 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -82,7 +82,9 @@ export const allAuthority = () => { {menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'}, {menu_id: '8', title: '木箱库存', path: '/pages/SecondPhase/production/BoxStock'}, {menu_id: '8', title: '子卷入库', path: '/pages/SecondPhase/production/ZjInStore'}, - {menu_id: '8', title: '标签打印', path: '/pages/SecondPhase/production/PrintTable'} + {menu_id: '8', title: '标签打印', path: '/pages/SecondPhase/production/PrintTable'}, + {menu_id: '8', title: '母卷决策', path: '/pages/SecondPhase/production/MjMake'}, + {menu_id: '8', title: '冷却区生箔详情', path: '/pages/SecondPhase/production/SboCool'} ]}, {menu_id: '5', path: 'RF03', title: '分切管理', sonTree: [ {menu_id: '1', title: '分切上料', path: '/pages/SecondPhase/slitting/SlittingFeeding'},