diff --git a/common/style/layout.styl b/common/style/layout.styl index 2c0a7e8..dfdb6dd 100644 --- a/common/style/layout.styl +++ b/common/style/layout.styl @@ -47,6 +47,17 @@ uni-button:after { background-color: #D7592F ; border: 1rpx solid #D7592F ; } +.icon_minus-filled { + display: inline-block; + color: #fff; + width: 42rpx; + height: 42rpx; + background-color: #4e6ef2; + font-size: 28rpx; + line-height: 38rpx; + border: 1rpx solid #4e6ef2; + border-radius: 8rpx; +} .icon_back { font-size: 52rpx; line-height: 52rpx; @@ -125,6 +136,11 @@ uni-button:after { padding: 0 14rpx; border-radius: 0; } +.zd_wrapper-2 { + width: 100%; + background-color: #fff; + padding: 14rpx 14rpx 0 14rpx; +} .filter_item { display: flex; align-items: center; @@ -381,6 +397,14 @@ uni-button[disabled]:not([type]) { .pophide { transform: translateY(100%); } +.popshow1 { + top: 50%; + transform: translateY(-50%); +} +.pophide1 { + top: 100%; + transform: translateY(0%); +} .msg_wrapper { position: fixed; top: auto; @@ -412,6 +436,9 @@ uni-button[disabled]:not([type]) { margin-bottom: 86rpx; overflow-y: scroll; } +.msg_content_1 { + height: calc(100% - 116rpx) +} .msg_box { width: 100%; } @@ -425,6 +452,9 @@ uni-button[disabled]:not([type]) { background: #000; z-index: 300; } +.msg_mask_1 { + z-index: 310; +} .msg_btns { width: 100%; max-width: 300px; @@ -463,4 +493,37 @@ uni-button[disabled]:not([type]) { font-weight: 700; color: #ff6a00; margin-top: 30rpx; +} +.msg_modal { + position: fixed; + z-index: 311; + width: 80%; + left: 10%; + background-color: #fff; + text-align: center; + border-radius: 3px; + overflow: hidden; + padding: 30rpx; +} +.msg_tip { + font-size: 32rpx; + line-height: 32rpx; + font-weight: 700; + color: #333; + margin-bottom: 30rpx; + text-align: center; +} +.msg_p1 { + font-size: 26rpx; + line-height: 30rpx; + color: #323232; + text-align: left; + margin-bottom: 16rpx; +} +.msg_p2 { + font-size: 28rpx; + line-height: 30rpx; + color: #ff6a00; + text-align: left; + margin-bottom: 16rpx; } \ No newline at end of file diff --git a/common/style/reset.css b/common/style/reset.css index 4558010..128e30b 100644 --- a/common/style/reset.css +++ b/common/style/reset.css @@ -136,4 +136,10 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re } .mgr20 { margin-right: 20rpx; +} +.pdb110 { + padding-bottom: 110rpx; +} +.pdt26 { + padding-top: 26rpx !important; } \ No newline at end of file diff --git a/pages.json b/pages.json index 79f86c2..b94cf3c 100644 --- a/pages.json +++ b/pages.json @@ -487,6 +487,14 @@ } } + ,{ + "path" : "pages/SecondPhase/slitting/ZjContainer", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/SecondPhase/slitting/ZjContainer.vue b/pages/SecondPhase/slitting/ZjContainer.vue new file mode 100644 index 0000000..a8d91db --- /dev/null +++ b/pages/SecondPhase/slitting/ZjContainer.vue @@ -0,0 +1,276 @@ + + + \ No newline at end of file diff --git a/utils/getData3.js b/utils/getData3.js index ae12f95..c99169f 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -245,3 +245,19 @@ export const AGVPass = (code) => request({ url:'api/pda/feeding/AGVPass', data: {point_code: code} }) +/** + * 子卷装箱 + */ +export const queryContainerNameBySaleOrder = (code) => request({ + url:'api/pdmBiSubpackagerelation/queryContainerNameBySaleOrder', + data: {type: '1', container_name: code} +}) +export const queryBoxSpec = (code) => request({ + method: 'GET', + url:'api/pdmBiSubpackagerelation/queryBoxSpec', + data: {page: '0', size: '200', sort: 'material_name%2Cdesc', search: code} +}) +export const updateEntityList = (checked, arr) => request({ + url:'api/pdmBiSubpackagerelation/updateEntityList', + data: {checked: checked, tableMater: arr} +}) diff --git a/utils/mork2.js b/utils/mork2.js index 38e9506..82037db 100644 --- a/utils/mork2.js +++ b/utils/mork2.js @@ -87,7 +87,8 @@ export const allAuthority = () => { {menu_id: '8', title: '气胀轴库维护', path: '/pages/SecondPhase/slitting/ShaftSave'}, {menu_id: '8', title: '分切子卷维护', path: '/pages/SecondPhase/slitting/ZjSave'}, {menu_id: '8', title: '备货区管理', path: '/pages/SecondPhase/slitting/StockingArea'}, - {menu_id: '8', title: 'AGV放行', path: '/pages/SecondPhase/slitting/AGVPass'} + {menu_id: '8', title: 'AGV放行', path: '/pages/SecondPhase/slitting/AGVPass'}, + {menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/slitting/ZjContainer'} ]}, {menu_id: '6', path: 'RF04', title: '点位管理', sonTree: [ {menu_id: '1', title: '点位管理', path: '/pages/SecondPhase/point/PointManage'}, @@ -127,7 +128,7 @@ export const authority = () => { {title: '空木箱入库',sonTree: [{title: '空木箱入库'}]}, {title: '发货区',sonTree: [{title: '发货区解绑'}]}, {title: '生产管理',sonTree: [{title: '生箔生产进度'},{title: '生箔工序'},{title: '烘烤工序'},{title: '表处工序'},{title: '人工烘烤'},{title: '子卷质检'}]}, - {title: '分切管理', sonTree: [{title: '分切上料'},{title: '分切下料'},{title: '空轴套管'},{title: '空轴配送'},{title: '空轴进站'},{title: '子卷出站'},{title: '穿拔轴初始化'},{title: '纸管绑定'},{title: '分切暂存下料'},{title: '分切暂存清除'},{title: '气胀轴库维护'}, {title: '分切子卷维护'}, {title: '备货区管理'}, {title: 'AGV放行'}]}, + {title: '分切管理', sonTree: [{title: '分切上料'},{title: '分切下料'},{title: '空轴套管'},{title: '空轴配送'},{title: '空轴进站'},{title: '子卷出站'},{title: '穿拔轴初始化'},{title: '纸管绑定'},{title: '分切暂存下料'},{title: '分切暂存清除'},{title: '气胀轴库维护'}, {title: '分切子卷维护'}, {title: '备货区管理'}, {title: 'AGV放行'}, {title: '子卷装箱'}]}, {title: '点位管理', sonTree: [{title: '点位管理'},{title: '异常出库解锁'}]}, {title: '成品入库', sonTree: [{title: '退货口入库'},{title: '异常口入库'},{title: '木箱称重'}]} ] @@ -174,4 +175,50 @@ export const queryProductArea = () => { data: [{text: '物料一', value: '001'}, {text: '物料a', value: '002'}, {text: '物料b', value: '003'}] } return res +} +export const queryContainerNameBySaleOrder = () => { + let res = { + "totalElements": 1, + "content": [ + { + "workorder_id": "1597797877562871810", + "package_box_sn": null, + "quanlity_in_box": null, + "box_weight": 210.000000, + "sale_order_name": "100000011-100", + "customer_name": "10000252", + "customer_description": "惠州市禾腾能源科技有限公司", + "container_name": "A1522210281605B1", + "status": "99", + "box_type": "", + "sap_pcsn": "AA20000251", + "box_group": "0", + "paper_tube_description": " 璃纤维及其制品|FRP管|6英寸|25|1300", + "paper_weight": "22", + "weight": "2" + } + ], + "code": 200, + "msg": "查询成功" + } + return res +} +export const queryBoxSpec = () => { + let res = { + "totalElements": 1, + "content": [ + { + "box_high": "730", + "ivt_num": 3, + "num": "4", + "box_width": "676", + "material_name": "木制包装容器及板材|木箱|1300|1|6|1376*676*730", + "box_length": "1376", + "material_code": "441510009000470" + } + ], + "code": 200, + "msg": "查询成功" + } + return res } \ No newline at end of file diff --git a/utils/request.js b/utils/request.js index 015aca8..948e794 100644 --- a/utils/request.js +++ b/utils/request.js @@ -50,6 +50,7 @@ const request = (params) => { // } }) .then(res => { // 成功 + uni.hideLoading(); if (res.length === 1) { uni.showModal({ content: 'request:fail', @@ -120,10 +121,11 @@ const request = (params) => { } }) .catch(err => { // 错误 + uni.hideLoading(); reject(err) }) .finally(() => { - uni.hideLoading(); + // uni.hideLoading(); }) }) }