修改问题

master
sunzehua 1 year ago
parent f499142ca4
commit 64ddda1072

@ -783,7 +783,7 @@ export default {
if (changeValue) { if (changeValue) {
CheckCtnCode({ code: changeValue }).then(res => { CheckCtnCode({ code: changeValue }).then(res => {
if (!res.data) { if (!res.data) {
this.$message.error(changeValue + '箱号不符合规') this.$message.error(changeValue + '箱号不符合规')
} }
}) })
} }
@ -1054,7 +1054,7 @@ export default {
if (selectionRangeKeys.endColKey === 'cntrno') { if (selectionRangeKeys.endColKey === 'cntrno') {
CheckCtnCode({ code: changeValue }).then(res => { CheckCtnCode({ code: changeValue }).then(res => {
if (!res.data) { if (!res.data) {
this.$message.error(changeValue + '箱号不符合规') this.$message.error(changeValue + '箱号不符合规')
} }
}) })
} }

@ -440,6 +440,7 @@ import {
ChangeServiceltem ChangeServiceltem
} from '@/api/modular/main/BookingLedger' } from '@/api/modular/main/BookingLedger'
import { AntdEditor } from '@/components' import { AntdEditor } from '@/components'
import { mapGetters } from 'vuex'
import { sysFileInfoUpload } from '@/api/modular/system/fileManage' import { sysFileInfoUpload } from '@/api/modular/system/fileManage'
export default { export default {
name: '', name: '',
@ -540,6 +541,7 @@ export default {
} }
}, },
computed: { computed: {
...mapGetters(['userInfo']),
locaService() { locaService() {
if (!this.details || Object.keys(this.details).length === 0) { if (!this.details || Object.keys(this.details).length === 0) {
return [] return []
@ -635,7 +637,7 @@ export default {
if (this.editor) { if (this.editor) {
this.editor.txt.html(`<div>您好</div><div style='padding-left:20px;'> this.editor.txt.html(`<div>您好</div><div style='padding-left:20px;'>
附件是${file.fileName }请查收</div><br/><div>-------------------------------------------------------</div> 附件是${file.fileName }请查收</div><br/><div>-------------------------------------------------------</div>
<div>公司名</div><div>操作名</div><div>电话</div><div>邮箱</div>`) <div>${this.userInfo.loginEmpInfo.orgName}</div><div>${this.userInfo.name}</div><div>${this.userInfo.phone}</div><div>${this.userInfo.email}</div>`)
} }
this.forwardForm = {} this.forwardForm = {}
this.forwardFile = file this.forwardFile = file
@ -643,7 +645,7 @@ export default {
this.forwardForm.subject = '【' + file.fileName + '】请查收' this.forwardForm.subject = '【' + file.fileName + '】请查收'
this.forwardForm.body = `<div>您好</div><div style='padding-left:20px;'> this.forwardForm.body = `<div>您好</div><div style='padding-left:20px;'>
附件是${file.fileName }请查收</div><br/><div>-------------------------------------------------------</div> 附件是${file.fileName }请查收</div><br/><div>-------------------------------------------------------</div>
<div>公司名</div><div>操作名</div><div>电话</div><div>邮箱</div>` <div>${this.userInfo.loginEmpInfo.orgName}</div><div>${this.userInfo.name}</div><div>${this.userInfo.phone}</div><div>${this.userInfo.email}</div>`
}, },
handleOpenAtd(type) { handleOpenAtd(type) {
this.atdFlag = true this.atdFlag = true

Loading…
Cancel
Save