dam-7 feat 成品入库调整

master
hou 3 years ago
parent 954571e2d7
commit 878c56f443

@ -150,7 +150,7 @@ export default class LoginPage extends BasePage {
console.log('image', this.image); console.log('image', this.image);
console.log('Version////', this.Version); console.log('Version////', this.Version);
} }
Version = '1.0.3'; Version = '2.0.1';
async update() { async update() {
try { try {
await session.QueryVersion(); await session.QueryVersion();

@ -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) {

Loading…
Cancel
Save