|
|
@ -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() {
|
|
|
|