质检增加提示

master
guoshuang 2 years ago
parent 066581b489
commit 521bb64417

@ -314,7 +314,7 @@ export default class productCheckReceipt extends BasePage {
checkResult: this.productCodeList.value,
};
await this.model.sendDestinationStations(params);
//this.uni.showToast({ title: '' });
this.uni.showToast({ title: '质检完成' });
this.orderNo = '';
this.badMeg = '';
this.productCodeList = {};

@ -50,11 +50,12 @@ export class ProductionQtyInsp extends VuexModule {
return { SubmitCode };
}
//烘房出来下发搬运任务
SubmitCodeone: any = '';
@MutationAction
async sendDestinationStations(params: any) {
const result: any = await http.post(url.lanjumes.product.sendDestinationStations, params);
const SubmitCode = result.code;
return { SubmitCode };
const SubmitCodeone = result.code;
return { SubmitCodeone };
}
@MutationAction
async empty() {

@ -95,7 +95,8 @@ export default class RawHome extends BasePage {
async checkupdate() {
try {
this.checkversion = await model.checkupdate();
let versionNumber = this.compareVersion(this.version, this.checkversion.Version);
const queryversion = this.checkversion.Version.match(/\d+\.\d+\.\d+/)[0];
let versionNumber = this.compareVersion(this.version, queryversion);
versionNumber = 1;
if (versionNumber == -1) {
//

Loading…
Cancel
Save