|
|
|
@ -106,15 +106,9 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
];
|
|
|
|
|
userinfo: any = null;
|
|
|
|
|
// remove: any = {};
|
|
|
|
|
onShow() {
|
|
|
|
|
async onShow() {
|
|
|
|
|
this.onLoad;
|
|
|
|
|
}
|
|
|
|
|
async onReady() {
|
|
|
|
|
//await this.model.getpalletLocation();
|
|
|
|
|
//this.remove = this.model.WlList[0];
|
|
|
|
|
}
|
|
|
|
|
async onLoad() {
|
|
|
|
|
console.log(uni.getStorageSync('userinfo'));
|
|
|
|
|
console.log('1111');
|
|
|
|
|
this.userinfo = uni.getStorageSync('userinfo');
|
|
|
|
|
if (this.userinfo) {
|
|
|
|
|
await this.model.getTodayTask(this.userinfo.userName);
|
|
|
|
@ -122,6 +116,20 @@ export default class ChangePalletNew extends BasePage {
|
|
|
|
|
this.listdata = model.orderNoItemList;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
async onReady() {
|
|
|
|
|
//await this.model.getpalletLocation();
|
|
|
|
|
//this.remove = this.model.WlList[0];
|
|
|
|
|
}
|
|
|
|
|
async onLoad() {
|
|
|
|
|
// console.log('1222')
|
|
|
|
|
// console.log(uni.getStorageSync('userinfo'));
|
|
|
|
|
// this.userinfo = uni.getStorageSync('userinfo');
|
|
|
|
|
// if (this.userinfo) {
|
|
|
|
|
// await this.model.getTodayTask(this.userinfo.userName);
|
|
|
|
|
// console.log(model.orderNoItemList);
|
|
|
|
|
// this.listdata = model.orderNoItemList;
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
// selectItem(e: any) {
|
|
|
|
|
// this.remove = e.pickerName;
|
|
|
|
|
// }
|
|
|
|
|