LAPTOP-R6EHHS26\86155 2 years ago
commit f3c51e150f

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

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

@ -95,7 +95,8 @@ export default class RawHome extends BasePage {
async checkupdate() { async checkupdate() {
try { try {
this.checkversion = await model.checkupdate(); 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; versionNumber = 1;
if (versionNumber == -1) { if (versionNumber == -1) {
// //

Loading…
Cancel
Save