|
@ -410,6 +410,7 @@ export default { |
|
|
this.form = branchData |
|
|
this.form = branchData |
|
|
this.form.branchType = branchData.branchType === 1 || branchData.branchType === '1' ? '1' : '2' |
|
|
this.form.branchType = branchData.branchType === 1 || branchData.branchType === '1' ? '1' : '2' |
|
|
this.libImgList = branchData.promotions |
|
|
this.libImgList = branchData.promotions |
|
|
|
|
|
this.form.explains = branchData.explains.replace(/<br\/?>/g, '\n') |
|
|
} |
|
|
} |
|
|
this.libDialogVisible = true |
|
|
this.libDialogVisible = true |
|
|
}, |
|
|
}, |
|
@ -473,6 +474,7 @@ export default { |
|
|
if (this.form.branchType === '2') { |
|
|
if (this.form.branchType === '2') { |
|
|
this.form.libcode = this.user.fonds.fondsNo |
|
|
this.form.libcode = this.user.fonds.fondsNo |
|
|
} |
|
|
} |
|
|
|
|
|
this.form.explains = this.form.explains.replace(/\n/g, '<br>') |
|
|
console.log('FetchEditScreenBranch', this.form) |
|
|
console.log('FetchEditScreenBranch', this.form) |
|
|
FetchEditScreenBranch(this.form).then((res) => { |
|
|
FetchEditScreenBranch(this.form).then((res) => { |
|
|
console.log('res', res) |
|
|
console.log('res', res) |
|
|