产线转运
This commit is contained in:
@@ -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'}]},
|
||||
|
||||
@@ -50,6 +50,15 @@
|
||||
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">物料校验</span>
|
||||
</view>
|
||||
<view class="relative zd-col-24">
|
||||
<switch :checked="isChecked" color="#4e6ef2" style="transform:scale(0.8); transform-origin: left;"/>
|
||||
<text @tap="setWStatus" style="position: absolute;display: inline-block;width: 52px; height: 32px;left: 0;"></text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,6 +50,15 @@
|
||||
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">物料校验</span>
|
||||
</view>
|
||||
<view class="relative zd-col-24">
|
||||
<switch :checked="isChecked" color="#4e6ef2" style="transform:scale(0.8); transform-origin: left;"/>
|
||||
<text @tap="setWStatus" style="position: absolute;display: inline-block;width: 52px; height: 32px;left: 0;"></text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user