修改版本

master
LAPTOP-R6EHHS26\86155 2 years ago
parent 0c684672c8
commit d918c3653d

@ -122,7 +122,10 @@ export default class ChangePalletNew extends BasePage {
locationStatus: any = 1;
async query() {
if (this.orderNo == '' || this.orderNo.length == 0) {
this.customToast('请输入nficl');
(this.$refs.uToast as any).show({
title: '请输入nficl',
type: 'default',
});
return;
}
await this.model.queryOrderNo(this.orderNo);
@ -134,6 +137,13 @@ export default class ChangePalletNew extends BasePage {
});
} else {
this.orderNoItemList = model.orderNoItemList;
if (this.orderNoItemList.productCode == 'EmptyPallet') {
(this.$refs.uToast as any).show({
title: '请绑定',
type: 'default',
});
return;
}
}
//console.log('this.orderNoItemList', this.orderNoItemList);
}
@ -276,7 +286,7 @@ export default class ChangePalletNew extends BasePage {
onbind() {
if (this.orderNo == '' || this.orderNo.length == 0) {
(this.$refs.uToast as any).show({
title: '请扫码正确条码',
title: '请输入nficl',
type: 'default',
});
return;

@ -33,8 +33,9 @@
</view>
</view>
</view>
<view class="astyle">
<view class="astyle astyleversion">
<view @click="checkupdate()"> </view>
<view @click="checkupdate()"> Version:{{ version }} </view>
<!-- <u-button
@click.native="
uni.navigateTo({
@ -64,10 +65,11 @@ export default class RawHome extends BasePage {
model = model;
src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg';
today = dayjs().format('YYYY-MM-DD dddd');
version = '0.0.3';
version = '0.0.4';
checkversion: any = {};
onLoad() {
// this.model.getMenuList();
uni.setStorageSync('version', this.version);
}
compareVersion(version1: any, version2: any) {
//version1 1 &&& version2 -1
@ -243,4 +245,8 @@ export default class RawHome extends BasePage {
border-radius: 8rpx;
}
}
.astyleversion {
display: flex;
justify-content: space-between;
}
</style>

Loading…
Cancel
Save