Commit 98d77f53 authored by LSL's avatar LSL

产品修改

parent 3f94829d
......@@ -496,12 +496,14 @@ export default {
//form.tenantNo = this.tenantNo;
//form.abutmentWay = 'API'
let result;
if(this.appNo){
form.appNo = this.appNo;
result = await API.prod_update({ ...form });
}else{
result = await API.prod_add({ ...form });
}
form.appNo = this.appNo;
result = await API.prod_update({ ...form });
// if(this.appNo){
//
// }else{
// result = await API.prod_add({ ...form });
// }
if (result.success) {
this.$baseMessage("产品保存成功", "success");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment