版本更新0.0.8 修改返回信息

master
LAPTOP-R6EHHS26\86155 2 years ago
parent f59e80910b
commit 01d07f7cb5

@ -224,9 +224,14 @@ export default class ChangePalletNew extends BasePage {
//productionState: this.productCodeList.value, //productionState: this.productCodeList.value,
}; };
await this.model.palletInforUpdate(params); await this.model.palletInforUpdate(params);
if (model.SubmitCode == 200) { if (model.SubmitCode.code == 200) {
this.uni.showToast({ title: '成功' }); this.uni.showToast({ title: '成功' });
this.Clear(); this.Clear();
} else {
(this.$refs.uToast as any).show({
title: model.SubmitCode.msg,
type: 'default',
});
} }
} }
Clear() { Clear() {

@ -33,7 +33,7 @@ export class ChangePalletNew extends VuexModule {
@MutationAction @MutationAction
async palletInforUpdate(params: any) { async palletInforUpdate(params: any) {
const result: any = await http.post(url.lanjumes.product.ErrorPalletHandling, params); const result: any = await http.post(url.lanjumes.product.ErrorPalletHandling, params);
const SubmitCode = result.code; const SubmitCode = result;
return { SubmitCode }; return { SubmitCode };
} }
//目的地点下拉列表 //目的地点下拉列表

@ -65,7 +65,7 @@ export default class RawHome extends BasePage {
model = model; model = model;
src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg'; src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg';
today = dayjs().format('YYYY-MM-DD dddd'); today = dayjs().format('YYYY-MM-DD dddd');
version = '0.0.7'; version = '0.0.8';
checkversion: any = {}; checkversion: any = {};
onLoad() { onLoad() {
// this.model.getMenuList(); // this.model.getMenuList();

Loading…
Cancel
Save