成功提示不长存

master
guoshuang 3 years ago
parent 25d5bcc606
commit 6a57703525

@ -97,7 +97,11 @@ export default class ProductCheckReceipt extends BasePage {
};
await this.model.queryScrapList(param);
if (this.model.code == '1') {
this.customToast(this.$t('message.product_Tip8') as string);
//this.customToast(this.$t('message.product_Tip8') as string);
uni.showToast({
icon: 'success',
title: this.$t('message.product_Tip8') as string,
});
let num = 0;
this.model.modelList.forEach((item: any) => {
num += item.spQty;
@ -143,7 +147,11 @@ 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.customToast(this.$t('message.product_Tip8') as string);
uni.showToast({
icon: 'success',
title: this.$t('message.product_Tip8') as string,
});
this.total += 1;
this.model.modelList.forEach((item: any) => {
if (item.locCode == this.wl.value) {

@ -105,7 +105,11 @@ export default class ProductCheckReceipt extends BasePage {
};
await this.model.queryScrapList(param);
if (this.model.code == '1') {
this.customToast(this.$t('message.product_Tip8') as string);
//this.customToast(this.$t('message.product_Tip8') as string);
uni.showToast({
icon: 'success',
title: this.$t('message.product_Tip8') as string,
});
let num = 0;
this.model.modelList.forEach((item: any) => {
num += parseFloat(item.spQty);
@ -152,7 +156,11 @@ 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.customToast(this.$t('message.product_Tip8') as string);
uni.showToast({
icon: 'success',
title: this.$t('message.product_Tip8') as string,
});
this.total += 1;
this.model.modelList.forEach((item: any) => {
if (item.productCode == this.wl.value) {

@ -115,7 +115,11 @@ export default class ProductCheckReceipt extends BasePage {
};
await this.model.queryScrapList(param);
if (this.model.code == '1') {
this.customToast(this.$t('message.product_Tip8') as string);
//this.customToast(this.$t('message.product_Tip8') as string);
uni.showToast({
icon: 'success',
title: this.$t('message.product_Tip8') as string,
});
this.wl.value = this.model.choiceCodeList[0].value;
this.Some = this.model.recordsList[0];
}

@ -125,7 +125,11 @@ export default class productCheckReceipt extends BasePage {
}
await this.model.getProductCode(this.form.pddNo);
if (model.code == '1') {
this.customToast(this.$t('message.product_Tip8') as string);
//this.customToast(this.$t('message.product_Tip8') as string);
uni.showToast({
icon: 'success',
title: this.$t('message.product_Tip8') as string,
});
//
const storeList = [];
storeList.push(this.model.WlListaa[0]);

@ -169,7 +169,7 @@ export default class dnReceiptDom extends BasePage {
//
async query() {
this.list = [];
this.wlCode = '';
//this.wlCode = '';
this.nowAmount = '';
this.every = '';
this.materialList = [];

Loading…
Cancel
Save