生产领料提示修改

master
guoshuang 6 months ago
parent 050e1239ed
commit d485a1c879

@ -353,14 +353,14 @@ export default class ProductionREQ extends BasePage {
this.isdisabled = false; this.isdisabled = false;
if (this.model.SubmitCode == '200') { if (this.model.SubmitCode == '200') {
(this.$refs.uToast as any).show({ (this.$refs.uToast as any).show({
title: '成功', title: this.model.Submitmsg,
type: 'success', type: 'success',
}); });
this.mepty(); this.mepty();
//this.getlist(); //this.getlist();
} else { } else {
(this.$refs.uToast as any).show({ (this.$refs.uToast as any).show({
title: '失败', title: this.model.Submitmsg,
type: 'error', type: 'error',
}); });
//this.getlist(); //this.getlist();

@ -71,11 +71,13 @@ export class ProductionREQ extends VuexModule {
const SubmitCode = result.code; const SubmitCode = result.code;
return { SubmitCode }; return { SubmitCode };
} }
Submitmsg: any = '';
@MutationAction @MutationAction
async out(params: any) { async out(params: any) {
const result: any = await http.post(url.lanjuwms.raw.ProductionREQ.NewConMaterialOutSCNew, params); const result: any = await http.post(url.lanjuwms.raw.ProductionREQ.NewConMaterialOutSCNew, params);
const SubmitCode = result.code; const SubmitCode = result.code;
return { SubmitCode }; const Submitmsg = result.msg;
return { SubmitCode, Submitmsg };
} }
warehouselist: any = []; warehouselist: any = [];
@MutationAction @MutationAction

Loading…
Cancel
Save