update 更新数据添加日志

This commit is contained in:
赵霄
2024-04-29 17:14:31 +08:00
parent 659e03373b
commit feff4c955c
+3 -2
View File
@@ -222,7 +222,7 @@ export default {
Asc.scope.issueDate = this.form.issueTime || 'xxxx-xx-xx'
Asc.scope.impDate = this.form.putTime || 'xxxx-xx-xx'
Asc.scope.standardNumberPrefix = this.form.standardNumberPrefix || 'X/XX'
window.Asc.plugin.callCommand(() => {
this.ctx.callCommand(() => {
try {
console.log('创建封面,start')
const oDocument = Api.GetDocument()
@@ -1156,6 +1156,7 @@ export default {
}, 1600)
},
replaceData () {
console.log('更新数据外层')
Asc.scope.standCode = this.form.standCode || 'X/XX xxxx-xxxx'
Asc.scope.replaceStandCode = this.form.dtqbbhbuss || 'X/XX xxxx-xxxx'
Asc.scope.standCNName = this.form.standName || 'xx'
@@ -1163,7 +1164,7 @@ export default {
Asc.scope.issueDate = this.form.issueTime || 'xxxx-xx-xx'
Asc.scope.impDate = this.form.putTime || 'xxxx-xx-xx'
Asc.scope.standardNumberPrefix = this.form.standardNumberPrefix || 'X/XX'
window.Asc.plugin.callCommand(() => {
this.ctx.callCommand(() => {
try {
console.log('更新数据', Asc.scope.issueDate, Asc.scope.impDate)
const oDocument = Api.GetDocument()