|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
<u-button type="primary" @click="bill">{{ $t('message.detailed') }}</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col :span="3">
|
|
|
|
|
<u-button type="primary" @click="onSubmit">{{ $t('message.InventoryFinish') }}</u-button>
|
|
|
|
|
<u-button type="primary" @click="scanning">{{ $t('message.scanning') }}</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col :span="3">
|
|
|
|
|
<u-button type="primary" @click="closure">{{ $t('message.closure') }}</u-button>
|
|
|
|
@ -141,7 +141,7 @@ export default class ProductCheckReceipt extends BasePage {
|
|
|
|
|
this.customToast(this.$t('message.barcode') as string);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.Some.actualQty > this.Some.qty) {
|
|
|
|
|
if (this.Some.actualQty >= this.Some.qty) {
|
|
|
|
|
this.customToast(this.$t('message.barcode') as string);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -154,8 +154,13 @@ export default class ProductCheckReceipt extends BasePage {
|
|
|
|
|
};
|
|
|
|
|
await this.model.getProductCode(params);
|
|
|
|
|
if (this.model.code == '1') {
|
|
|
|
|
this.customToast(this.$t('message.product_Tip8') as string);
|
|
|
|
|
this.Some.actualQty += 1;
|
|
|
|
|
//this.customToast(this.$t('message.product_Tip8') as string);
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: 'success',
|
|
|
|
|
title: this.$t('message.product_Tip8') as string,
|
|
|
|
|
});
|
|
|
|
|
//this.Some.actualQty += 1;
|
|
|
|
|
this.onSubmit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//确定
|
|
|
|
@ -226,11 +231,11 @@ export default class ProductCheckReceipt extends BasePage {
|
|
|
|
|
icon: 'success',
|
|
|
|
|
title: this.$t('message.success') as string,
|
|
|
|
|
});
|
|
|
|
|
this.Some = {};
|
|
|
|
|
this.Some.fileNo = ' ';
|
|
|
|
|
this.wl = {};
|
|
|
|
|
this.form.order3 = '';
|
|
|
|
|
this.form.barcode = '';
|
|
|
|
|
// this.Some = {};
|
|
|
|
|
// this.Some.fileNo = ' ';
|
|
|
|
|
// this.wl = {};
|
|
|
|
|
// this.form.order3 = '';
|
|
|
|
|
// this.form.barcode = '';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//查询明细
|
|
|
|
|