diff --git a/src/config/getData2.js b/src/config/getData2.js index a94780f..5a4fec8 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -222,3 +222,14 @@ export const updateQty = (code, weight, qty) => post('api/pda/manual/updateInfo/ current_weight: weight, current_qty: qty }) +/** + * 空盘解绑 + */ +export const checkHaveMaterial = (code, type) => post('api/pda/manual/unbindVehicle/checkHaveMaterial', { + vehicle_code: code, + vehicle_type: type +}) +export const doUnbindVehicle = (code, type) => post('api/pda/manual/unbindVehicle/doUnbindVehicle', { + vehicle_code: code, + vehicle_type: type +}) diff --git a/src/config/mork2.js b/src/config/mork2.js index 22b011e..058cc28 100644 --- a/src/config/mork2.js +++ b/src/config/mork2.js @@ -170,3 +170,11 @@ export const updateQty = () => { let res = {code: '1', desc: 'ok'} return res } +export const checkHaveMaterial = () => { + let res = {"result":{"message":"该托盘系统中无组盘信息!"},"code":"1","desc":"操作成功!"} + return res +} +export const doUnbindVehicle = () => { + let res = {code: '1', desc: 'ok'} + return res +} diff --git a/src/pages/manual/UnbindVehicle.vue b/src/pages/manual/UnbindVehicle.vue new file mode 100644 index 0000000..bd611b6 --- /dev/null +++ b/src/pages/manual/UnbindVehicle.vue @@ -0,0 +1,109 @@ + + + + + diff --git a/src/style/common.styl b/src/style/common.styl index 659e7e1..b577026 100644 --- a/src/style/common.styl +++ b/src/style/common.styl @@ -396,6 +396,7 @@ header .bottom-filter-tip _fj(space-between) padding 0 .2rem + font-size .26rem border-bottom .02rem solid #f0edf1 &:last-child border-bottom none