fix bug
This commit is contained in:
@@ -433,9 +433,8 @@ export default {
|
||||
`
|
||||
},
|
||||
async editContract() { // 选择一个询价单,整成合同明细
|
||||
if (this.demoRadio) {
|
||||
await sleep(0) // 处理渲染延迟
|
||||
if (this.contractNumValue) {
|
||||
if (this.demoRadio) {
|
||||
this.$refs.tinymce.destroyTinymce()
|
||||
document.getElementById('contractName') ? document.getElementById('contractName').innerHTML = this.contractName : ''
|
||||
document.getElementById('contractNum') ? document.getElementById('contractNum').innerHTML = this.contractNum : ''
|
||||
@@ -500,10 +499,10 @@ export default {
|
||||
this.contentNew = document.getElementsByClassName('editor-content')[0].innerHTML
|
||||
this.$refs.tinymce.initTinymce()
|
||||
} else {
|
||||
this.$message.warning('请先选择合同,再预览')
|
||||
this.$message.warning('请先选择合同模板,再预览')
|
||||
}
|
||||
} else {
|
||||
this.$message.warning('请先选择合同模板,再预览')
|
||||
this.$message.warning('请先选择合同,再预览')
|
||||
}
|
||||
},
|
||||
demo2() {
|
||||
|
||||
Reference in New Issue
Block a user