hou 3 years ago
commit b5920e2d46

@ -253,7 +253,7 @@ export default class RawReceiptDetail extends BasePage {
let allqty = 0; let allqty = 0;
if (this.LocationList.length != 0) { if (this.LocationList.length != 0) {
this.LocationList.forEach((item: any) => { this.LocationList.forEach((item: any) => {
if (this.wlCode.sendSpot != item.Code || this.wlCode.label === item.wlCode) { if (this.wlCode.sendSpot != item.Code) {
this.customToast(this.$t('message.Commission_tips7') as any); this.customToast(this.$t('message.Commission_tips7') as any);
return (isTrue = false); return (isTrue = false);
} }
@ -404,6 +404,7 @@ export default class RawReceiptDetail extends BasePage {
this.some = {}; this.some = {};
this.LocationList = []; this.LocationList = [];
this.wlCode = ''; this.wlCode = '';
this.Barcode = '';
return; return;
} }
this.LOCKProOrderResultListParams = this.model.proOrderResultList; this.LOCKProOrderResultListParams = this.model.proOrderResultList;
@ -411,6 +412,7 @@ export default class RawReceiptDetail extends BasePage {
this.some = {}; this.some = {};
this.LocationList = []; this.LocationList = [];
this.wlCode = ''; this.wlCode = '';
this.Barcode = '';
} }
async GetLocation() { async GetLocation() {
this.Location = []; this.Location = [];

@ -397,7 +397,7 @@ export default class RawReceiptDetail extends BasePage {
this.some = {}; this.some = {};
this.LocationList = []; this.LocationList = [];
this.wlCode = ''; this.wlCode = '';
this.form.xxxx = ''; this.Barcode = '';
} }
async GetLocation() { async GetLocation() {
this.Location = []; this.Location = [];

Loading…
Cancel
Save