|
|
@ -10,6 +10,9 @@
|
|
|
|
<u-form class="form" ref="form" :model="form" :error-type="['toast']" label-width="120rpx">
|
|
|
|
<u-form class="form" ref="form" :model="form" :error-type="['toast']" label-width="120rpx">
|
|
|
|
<u-row align="top">
|
|
|
|
<u-row align="top">
|
|
|
|
<u-col :span="12">
|
|
|
|
<u-col :span="12">
|
|
|
|
|
|
|
|
<u-form-item :label="$t('message.product_barCode')">
|
|
|
|
|
|
|
|
<u-search :placeholder="$t('message.po_PleaseInput')" v-model.trim="form.barCode" @search="getBarcode" :focus="firstFocus" maxlength="20" :show-action="false"></u-search>
|
|
|
|
|
|
|
|
</u-form-item>
|
|
|
|
<u-form-item :required="true" :label="$t('message.product_Location')" prop="dockName">
|
|
|
|
<u-form-item :required="true" :label="$t('message.product_Location')" prop="dockName">
|
|
|
|
<jPicker sureColor="#ff0000" @bindpicker="bookTypeChange" showKey="value" valKey="value" :val="form.aimWl.value" :options="model.returningTypeList" :focus="true" />
|
|
|
|
<jPicker sureColor="#ff0000" @bindpicker="bookTypeChange" showKey="value" valKey="value" :val="form.aimWl.value" :options="model.returningTypeList" :focus="true" />
|
|
|
|
<!-- <u-input v-model="form.dockName" type="select" @click="returningTypeSelect = true" />-->
|
|
|
|
<!-- <u-input v-model="form.dockName" type="select" @click="returningTypeSelect = true" />-->
|
|
|
@ -24,9 +27,6 @@
|
|
|
|
<!-- "-->
|
|
|
|
<!-- "-->
|
|
|
|
<!-- ></u-select>-->
|
|
|
|
<!-- ></u-select>-->
|
|
|
|
</u-form-item>
|
|
|
|
</u-form-item>
|
|
|
|
<u-form-item :label="$t('message.product_barCode')">
|
|
|
|
|
|
|
|
<u-search :placeholder="$t('message.po_PleaseInput')" v-model.trim="form.barCode" @search="getBarcode" :focus="firstFocus" maxlength="20" :show-action="false"></u-search>
|
|
|
|
|
|
|
|
</u-form-item>
|
|
|
|
|
|
|
|
</u-col>
|
|
|
|
</u-col>
|
|
|
|
<u-col :span="12">
|
|
|
|
<u-col :span="12">
|
|
|
|
<view class="table-wrapper">
|
|
|
|
<view class="table-wrapper">
|
|
|
@ -247,13 +247,13 @@ export default class finishProductOfflineDom extends BasePage {
|
|
|
|
this.customToast(this.$t('message.product_Tip3') as string);
|
|
|
|
this.customToast(this.$t('message.product_Tip3') as string);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(this.form.barCode.length < 20){
|
|
|
|
if (this.form.barCode.length < 20) {
|
|
|
|
this.customToast(this.$t('message.barCodeLength') as string);
|
|
|
|
this.customToast(this.$t('message.barCodeLength') as string);
|
|
|
|
return
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(this.form.barCode.length > 20){
|
|
|
|
if (this.form.barCode.length > 20) {
|
|
|
|
this.customToast(this.$t('message.standard') as string);
|
|
|
|
this.customToast(this.$t('message.standard') as string);
|
|
|
|
return
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log('this.form', this.form);
|
|
|
|
console.log('this.form', this.form);
|
|
|
|
if (this.materielList.length == 0) {
|
|
|
|
if (this.materielList.length == 0) {
|
|
|
|