|
|
|
@ -102,7 +102,7 @@ export default class WhiteReturn extends BasePage {
|
|
|
|
|
orderNoItemList: any = [];
|
|
|
|
|
warehouselist = [];
|
|
|
|
|
materialCode: any = '';
|
|
|
|
|
amount = 0;
|
|
|
|
|
amount: any = '';
|
|
|
|
|
wlCode: any = '';
|
|
|
|
|
|
|
|
|
|
async onLoad() {
|
|
|
|
@ -137,7 +137,7 @@ export default class WhiteReturn extends BasePage {
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.amount == '' || this.amount <= 0) {
|
|
|
|
|
if (this.amount == '') {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '请输入退货数量',
|
|
|
|
|
// url: '/pages/user/index'
|
|
|
|
@ -164,7 +164,7 @@ export default class WhiteReturn extends BasePage {
|
|
|
|
|
this.orderNo = '';
|
|
|
|
|
this.materialCode = '';
|
|
|
|
|
this.orderNoItemList = {};
|
|
|
|
|
this.amount = 0;
|
|
|
|
|
this.amount = '';
|
|
|
|
|
this.wlCode = '';
|
|
|
|
|
} else {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|