Browse Source

fix:[模板管理]sp004

lkf
15881625488@163.com 2 months ago
parent
commit
45f0c8b721
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue
  2. +1
    -1
      src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue

+ 1
- 1
src/views/business/comps/template/comps/sp/SWYPFXRYPZB.vue View File

@ -270,7 +270,7 @@ export default {
EventBus.$emit('showTagPrintDialog', { printConfig }) EventBus.$emit('showTagPrintDialog', { printConfig })
}, },
// //
async getCode() {
async getCode(v) {
const result = await getLatestSn({ const result = await getLatestSn({
count: 1, count: 1,
pre:v.targetCode, pre:v.targetCode,

+ 1
- 1
src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue View File

@ -235,7 +235,7 @@ export default {
this.configCompleteRequest(postData); this.configCompleteRequest(postData);
}, },
getTemplateName() { getTemplateName() {
if (this.templateData.templateMc) {
if (this.templateData&&this.templateData.templateMc) {
return this.templateData.templateMc return this.templateData.templateMc
} }
const o = { const o = {

Loading…
Cancel
Save