领用,报废扫描修改

master
guoshuang 3 years ago
parent d44f36fd2f
commit 11491dd5b6

@ -62,6 +62,7 @@ export default {
succeeded: '退扫成功',
//jpicker提示
unselected: '未选中',
scanning: '扫描',
//po收货
po_ReceivingGoods: 'PO收货',

@ -70,6 +70,7 @@ export default {
rawMenu_InTheLibrary: 'RAW WH',
rawMenu_ReturnGoods: 'Return',
rawMenu_SignOut: 'Sign out',
scanning: 'Scan',
//po收货
po_ReceivingGoods: 'PO receive',
po_ReturnGoods: 'DN return',

@ -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 = '';
}
}
//

@ -62,7 +62,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>
@ -124,7 +124,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;
}
@ -253,11 +253,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 = '';
}
}
//

Loading…
Cancel
Save