This commit is contained in:
xd 2024-04-10 16:19:00 +08:00
parent 545d650d08
commit 5ce44c47af
2 changed files with 3 additions and 2 deletions

View File

@ -713,7 +713,7 @@ export default {
const quotId = row.quotId || this.ids
getQuot(quotId).then(response => {
this.form = response.data;
this.$set(this.form, "quotJsxzGroup", this.form.quotJsxzGroup==''?[]:this.form.quotJsxzGroup.split(','));
this.$set(this.form, "quotJsxzGroup", (this.form.quotJsxzGroup==''||this.form.quotJsxzGroup==null)?[]:this.form.quotJsxzGroup.split(','));
this.quotMaterialList = response.data.quotMaterialList;
this.open = true;
this.title = "修改报价";

View File

@ -889,7 +889,7 @@ export default {
const quotJsqrId = row.quotJsqrId || this.ids
getJsqr(quotJsqrId).then(response => {
this.form = response.data;
this.$set(this.form, "quotJsxzGroup", this.form.quotJsxzGroup==''?[]:this.form.quotJsxzGroup.split(','));
this.$set(this.form, "quotJsxzGroup", (this.form.quotJsxzGroup==''||this.form.quotJsxzGroup==null)?[]:this.form.quotJsxzGroup.split(','));
var quotJsxzGroup = this.form.quotJsxzGroup;
if(quotJsxzGroup.indexOf("TL")!==-1){
this.showTl = true;
@ -934,6 +934,7 @@ export default {
commitQuot(this.form).then(response => {
this.open = false;
})
this.form.quotJsxzGroup = quotJsxzGroups.split(",");
},
/** 删除按钮操作 */
handleDelete(row) {