cosmoim-852 fix 泰国备件发货默认库位

master
guoshuang 2 years ago
parent 95b9b4309b
commit b8523e80e9

@ -173,7 +173,7 @@ export default class LoginPage extends BasePage {
// //
this.Version = '1.1.41'; this.Version = '1.1.41';
} else { } else {
this.Version = '1.0.56'; this.Version = '1.0.57';
} }
console.log('////', this.Version); console.log('////', this.Version);
} }

@ -68,14 +68,20 @@ import jPicker from '@/components/J-Picker/jPicker.vue';
}, },
}) })
export default class stoOutboundDom extends BasePage { export default class stoOutboundDom extends BasePage {
border: true; border = true;
model = model; model = model;
form: any = {}; form: any = {};
nxOutCode = ''; nxOutCode = '';
wlcode: any = ''; wlcode: any = '';
async onReady() { async onReady() {
let wlindex: any;
await this.model.querywocodeList(); await this.model.querywocodeList();
this.wlcode = this.model.wlcodeList[0]; this.model.wlcodeList.forEach((item, index) => {
if (item.label === 'SP09') {
wlindex = index;
}
});
this.wlcode = this.model.wlcodeList[wlindex];
} }
async query() { async query() {
if (this.nxOutCode == '') { if (this.nxOutCode == '') {

Loading…
Cancel
Save