|
@@ -277,7 +277,6 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- showDesc: false,
|
|
|
typelist: [
|
|
|
{ text: '电子普通发票', value: '1' },
|
|
|
{ text: '电子专用发票', value: '2' }
|
|
@@ -360,7 +359,8 @@ export default {
|
|
|
order_code: '',
|
|
|
type: '',
|
|
|
urlparms: {},
|
|
|
- invoiceId: ''
|
|
|
+ invoiceId: '',
|
|
|
+ showDesc: false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -625,6 +625,19 @@ export default {
|
|
|
loading.clear()
|
|
|
}
|
|
|
this.initshowModule()
|
|
|
+
|
|
|
+ if (this.type === 'again' || this.type === 'Replace') {
|
|
|
+ // 换开和重开有回显 防止回显数据有误初始校验一次
|
|
|
+ for (const key in this.infoCheckMap) {
|
|
|
+ this.getCheckMap(key)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.infoMap.desc) {
|
|
|
+ // 备注初始是否填写
|
|
|
+ this.showDesc = true
|
|
|
+ } else {
|
|
|
+ this.showDesc = false
|
|
|
+ }
|
|
|
},
|
|
|
chooseContent() {
|
|
|
this.$refs.PopupSelect.visibleHandle(true)
|