diff --git a/src/config/getData2.js b/src/config/getData2.js index 4affea2..ae3cec9 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -204,3 +204,21 @@ export const loamCompareDoCheck = (pcode, code) => post('api/pda/manual/loamComp point_code: pcode, vehicle_code: code }) +/** + * 修改料盅重量/数量 + */ +export const updateInfo = (code) => post('api/pda/manual/updateInfo/getInfo', { + vehicle_code: code, + vehicle_type: '1' +}) +export const updateWeight = (code, weight) => post('api/pda/manual/updateInfo/updateWeight', { + vehicle_code: code, + vehicle_type: '1', + current_weight: weight +}) +export const updateQty = (code, qty, weight) => post('api/pda/manual/updateInfo/updateQty', { + vehicle_code: code, + vehicle_type: '1', + current_qty: qty, + current_weight: weight +}) diff --git a/src/config/mork2.js b/src/config/mork2.js index 432abdc..2a6dabd 100644 --- a/src/config/mork2.js +++ b/src/config/mork2.js @@ -158,3 +158,11 @@ export const loamCompareDoCheck = () => { let res = {code: '1', desc: 'ok'} return res } +export const updateInfo = () => { + let res = {"result":{"qty":"0","weight":"3002","material_brick_type":"镁碳砖","material_code":"GBMCZ3039M423166GM016ZX25-30","single_weight":"11.18"},"code":"1","desc":"操作成功!"} + return res +} +export const updateWeight = () => { + let res = {code: '1', desc: 'ok'} + return res +} diff --git a/src/pages/manual/UpdateWeight.vue b/src/pages/manual/UpdateWeight.vue new file mode 100644 index 0000000..da0ddac --- /dev/null +++ b/src/pages/manual/UpdateWeight.vue @@ -0,0 +1,101 @@ + + + diff --git a/src/style/common.styl b/src/style/common.styl index 4e61b09..f98bef3 100644 --- a/src/style/common.styl +++ b/src/style/common.styl @@ -422,10 +422,11 @@ header background-color #fff // box-sizing border-box &:disabled - color #929292 + color #c0c4cc background-color #f5f7fa - border .02rem solid #e4e7ed cursor not-allowed +.filter-disabled + background-color #f5f7fa .bottom-input width 100% _font(.28rem,.6rem,#929292,,center) @@ -548,6 +549,9 @@ header opacity .2 background #000 z-index 99 +.msg_txt + _font(14px,16px,#606266) + margin-bottom 0.3rem .msg_item height 50px line-height 50px