|
|
@@ -1311,9 +1311,12 @@ export default {
|
|
|
if (this.form.companyIds != null && this.form.companyIds != undefined) {
|
|
|
this.form.companyIds = this.form.companyIds.join(',');
|
|
|
}
|
|
|
+ if(this.form.productId !== null && this.form.productId !== undefined && this.form.productId === 0) {
|
|
|
+ this.form.productId=null;
|
|
|
+ }
|
|
|
addOrEdit(this.form).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
- this.msgSuccess("修改成功");
|
|
|
+ this.msgSuccess("操作成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
}
|