|
|
|
@ -31,14 +31,14 @@
|
|
|
|
|
<u-form-item label="规格:">
|
|
|
|
|
<u-input :disabled="true" v-model="orderNoItemList.productSpc" placeholder="" style="overflow: hidden" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<u-form-item label="起始缓存区:">
|
|
|
|
|
<u-form-item label="起始区域类型:">
|
|
|
|
|
<jPicker sureColor="#ff0000" :moren="moren" @bindpicker="selectProductlocCode" showKey="label" valKey="value" :val="productCodelocList.value" :options="model.locList" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
|
|
|
|
<u-form-item label="起始位置:">
|
|
|
|
|
<jPicker sureColor="#ff0000" :moren="morenStart" @bindpicker="selectProductCode" showKey="label" valKey="value" :val="productCodeList.value" :options="model.DictList" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<u-form-item label="目的缓存区:">
|
|
|
|
|
<u-form-item label="目的区域类型:">
|
|
|
|
|
<jPicker sureColor="#ff0000" :moren="moren" @bindpicker="selectProductlocCode2" showKey="label" valKey="value" :val="productDestinationList.value" :options="model.locList" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<u-form-item label="目的地点:">
|
|
|
|
@ -86,7 +86,7 @@ import jPicker from '@/components/J-Picker/jPicker.vue';
|
|
|
|
|
})
|
|
|
|
|
export default class ChangePalletNew extends BasePage {
|
|
|
|
|
model = model;
|
|
|
|
|
moren = '选择缓存区';
|
|
|
|
|
moren = '选择区域类型';
|
|
|
|
|
morenStart = '选择起始位置';
|
|
|
|
|
Destination = '选择目的地点';
|
|
|
|
|
shouciFocus = true;
|
|
|
|
@ -155,6 +155,7 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
async onsubmit() {
|
|
|
|
|
console.log(this.productCodeList.value == '' || this.productCodeList.value == undefined, this.productCodeList.value);
|
|
|
|
|
if (this.orderNo == '' || this.orderNo.length == 0) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请输入nficl',
|
|
|
|
@ -169,9 +170,9 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.productCodelocList.value == '' || this.productCodelocList.value == undefined) {
|
|
|
|
|
if (this.productCodelocList.value < 0) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请选择起始缓存区',
|
|
|
|
|
title: '请选择起始区域',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
@ -183,9 +184,9 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.productDestinationList.value == '' || this.productDestinationList.value == undefined) {
|
|
|
|
|
if (this.productCodelocList.value < 0) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请选择目的缓存区',
|
|
|
|
|
title: '请选择目的区域',
|
|
|
|
|
type: 'default',
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
@ -220,6 +221,7 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
sourceAddress: this.productCodeList.value,
|
|
|
|
|
//productionState: this.productCodeList.value,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
await this.model.palletInforUpdate(params);
|
|
|
|
|
if (model.SubmitCode == 200) {
|
|
|
|
|
this.uni.showToast({ title: '成功' });
|
|
|
|
|