diff --git a/src/config/getData2.js b/src/config/getData2.js index ae3cec9..a94780f 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -216,9 +216,9 @@ export const updateWeight = (code, weight) => post('api/pda/manual/updateInfo/up vehicle_type: '1', current_weight: weight }) -export const updateQty = (code, qty, weight) => post('api/pda/manual/updateInfo/updateQty', { +export const updateQty = (code, weight, qty) => post('api/pda/manual/updateInfo/updateQty', { vehicle_code: code, vehicle_type: '1', - current_qty: qty, - current_weight: weight + current_weight: weight, + current_qty: qty }) diff --git a/src/config/mork2.js b/src/config/mork2.js index 2a6dabd..22b011e 100644 --- a/src/config/mork2.js +++ b/src/config/mork2.js @@ -166,3 +166,7 @@ export const updateWeight = () => { let res = {code: '1', desc: 'ok'} return res } +export const updateQty = () => { + let res = {code: '1', desc: 'ok'} + return res +} diff --git a/src/pages/manual/UpdateQty.vue b/src/pages/manual/UpdateQty.vue new file mode 100644 index 0000000..b635f87 --- /dev/null +++ b/src/pages/manual/UpdateQty.vue @@ -0,0 +1,127 @@ + + + + + + + + 砖块名称 + + + + + + 砖块类型 + + + + + + 砖块单重 + + + + + + 砖块总重 + + + + + + 砖块数量 + + + + + + 修改单重 + + + + + + 修改数量 + + + + + + + + 清空 + 查询 + 确认 + + + 是否确认将托盘[{{result.material_code}}]的单重修改为[{{val2}}],块数修改为[{{val3}}]? + + + + + diff --git a/src/style/common.styl b/src/style/common.styl index f98bef3..659e7e1 100644 --- a/src/style/common.styl +++ b/src/style/common.styl @@ -422,11 +422,10 @@ header background-color #fff // box-sizing border-box &:disabled - color #c0c4cc - background-color #f5f7fa + background-color #dcdfe6 cursor not-allowed .filter-disabled - background-color #f5f7fa + background-color #dcdfe6 .bottom-input width 100% _font(.28rem,.6rem,#929292,,center)