diff --git a/pages/home/home.vue b/pages/home/home.vue index 76b0bf4..c8d8c80 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -48,7 +48,7 @@ // {title: '入库管理', path: 'RF01', sonTree: [{title: '组盘入库', path: '/pages/entry/groupplate-instore'}, {title: '拣选余料回库', path: '/pages/entry/pick-yl-return-store'}, {title: '空载具入库', path: '/pages/entry/empty-vehicle-instore'}]}, // {title: '出库管理', path: 'RF02', sonTree: [{title: '产线转运', path: '/pages/outbound/line-transfer'}, {title: '空载具出库', path: '/pages/outbound/empty-vehicle-outstore'}, {title: 'CTU载具出库', path: '/pages/outbound/ctu-vehicle-outstore'}]} // {title: '入库管理', path: 'RF01', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}, {title: '合格证入库', path: '/pages/entry/qualified-to-store'}, {title: '单据入库', path: '/pages/entry/bill-to-store'}, {title: '盘点入库', path: '/pages/entry/check-to-store'}, {title: '空托盘入库', path: '/pages/entry/empty-tray-to-store'}]}, - // {title: '出库管理', path: 'RF02', sonTree: [{title: '空托盘出库', path: '/pages/outbound/tray-out-store'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}, {title: '单据出库', path: '/pages/outbound/bill-list'}, {title: '盘点出库', path: '/pages/outbound/stock-out-store'}, {title: '物料出库', path: '/pages/outbound/mater-outstore'}, {title: '货架绑定', path: '/pages/outbound/shelf-bind'}, {title: '产线转运', path: '/pages/outbound/line-transfer'}, {title: '空载具出库', path: '/pages/outbound/empty-vehicle-outstore'}, {title: 'CTU载具出库', path: '/pages/outbound/ctu-vehicle-outstore'}]} + // {title: '出库管理', path: 'RF02', sonTree: [{title: '空托盘出库', path: '/pages/outbound/tray-out-store'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}, {title: '单据出库', path: '/pages/outbound/bill-list'}, {title: '盘点出库', path: '/pages/outbound/stock-out-store'}, {title: '物料出库', path: '/pages/outbound/mater-outstore'}, {title: '货架绑定', path: '/pages/outbound/shelf-bind'}, {title: '产线转运', path: '/pages/outbound/line-transfer'}, {title: '空载具出库', path: '/pages/outbound/empty-vehicle-outstore'}, {title: 'CTU载具出库', path: '/pages/outbound/ctu-vehicle-outstore'}]}, // {title: '拣选管理', path: 'RF04', sonTree: [{title: '拣选作业', path: '/pages/pick/pick-task'}]}, // {title: '设备操控', path: 'RF07', sonTree: [{title: '切换出入库模式', path: '/pages/mode/switch-in-out'}, {title: '拣选工位启停模式', path: '/pages/mode/pick'}, {title: '下发输送线运动命令', path: '/pages/mode/command'}]}, // {title: '产线叫料', path: 'RF10', sonTree: [{title: '二楼生产出库', path: '/pages/outbound/produce-out-store-2nd'}, {title: '二楼取货确认', path: '/pages/outbound/pick-confirm-2nd'}, {title: '二楼货架绑定', path: '/pages/outbound/shelf-bind-2nd'}]}, diff --git a/pages/outbound/line-transfer.vue b/pages/outbound/line-transfer.vue index 547c2da..753ff39 100644 --- a/pages/outbound/line-transfer.vue +++ b/pages/outbound/line-transfer.vue @@ -50,6 +50,15 @@ + + + 物料校验 + + + + + + @@ -81,6 +90,7 @@ index2: '', disabled: false, currentData: {}, + isChecked: true }; }, onLoad (options) { @@ -115,6 +125,7 @@ this.index2 = '' this.disabled = false this.kwData = {} + this.isChecked = true }, async _transferConfirm () { this.disabled = true @@ -123,7 +134,8 @@ return } try { - let res = await transferConfirm(this.val3, this.val1, this.val2, this.index2) + let check = this.isChecked ? '1' : '0' + let res = await transferConfirm(this.val3, this.val1, this.val2, this.index2, check) if (res.code === '200') { uni.showToast({ title: res.message, @@ -140,6 +152,9 @@ } catch (e) { this.disabled = false } + }, + setWStatus () { + this.isChecked = !this.isChecked } } } diff --git a/pages/outbound/line-transfer2.vue b/pages/outbound/line-transfer2.vue index d53ee8f..6450974 100644 --- a/pages/outbound/line-transfer2.vue +++ b/pages/outbound/line-transfer2.vue @@ -50,6 +50,15 @@ + + + 物料校验 + + + + + + @@ -81,6 +90,7 @@ index2: '', disabled: false, currentData: {}, + isChecked: true }; }, onLoad (options) { @@ -115,6 +125,7 @@ this.index2 = '' this.disabled = false this.kwData = {} + this.isChecked = true }, async _transferConfirm () { this.disabled = true @@ -123,7 +134,8 @@ return } try { - let res = await transferConfirm(this.val3, this.val1, this.val2, this.index2) + let check = this.isChecked ? '1' : '0' + let res = await transferConfirm(this.val3, this.val1, this.val2, this.index2, check) if (res.code === '200') { uni.showToast({ title: res.message, @@ -140,6 +152,9 @@ } catch (e) { this.disabled = false } + }, + setWStatus () { + this.isChecked = !this.isChecked } } } diff --git a/utils/getData3.js b/utils/getData3.js index d104751..9048a7c 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -121,9 +121,9 @@ export const bindOrUnbind = (siteCode, shelfCode, mode) => request({ data: {siteCode: siteCode, shelfCode: shelfCode, mode: mode} }) // 转运确认 -export const transferConfirm = (pointCode, scode, siteCode, rcode) => request({ +export const transferConfirm = (pointCode, scode, siteCode, rcode, isCheckIvt) => request({ url:'api/pda/iosOut/transferConfirm', - data: {pointCode: pointCode, storagevehicle_code: scode, siteCode: siteCode, region_code: rcode} + data: {pointCode: pointCode, storagevehicle_code: scode, siteCode: siteCode, region_code: rcode, isCheckIvt: isCheckIvt} }) // 空载具/CTU出库确认 export const vehicleOutConfirm = (sid, siteCode, qty) => request({