From 6a38e3e4998bc69cd97803fd956fedc1fbb78472 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 2 Jul 2024 16:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E7=9B=98=E8=A7=A3=E7=BB=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData2.js | 11 +++ src/config/mork2.js | 8 +++ src/pages/manual/UnbindVehicle.vue | 109 +++++++++++++++++++++++++++++ src/style/common.styl | 1 + 4 files changed, 129 insertions(+) create mode 100644 src/pages/manual/UnbindVehicle.vue 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