diff --git a/src/app/routes/sys-setting/components/sms-template/sms-template.component.html b/src/app/routes/sys-setting/components/sms-template/sms-template.component.html index 06e3616b..dbe3cff1 100644 --- a/src/app/routes/sys-setting/components/sms-template/sms-template.component.html +++ b/src/app/routes/sys-setting/components/sms-template/sms-template.component.html @@ -2,6 +2,7 @@
+
- + diff --git a/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts b/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts index 60295812..ea80d563 100644 --- a/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts +++ b/src/app/routes/sys-setting/components/sms-template/sms-template.component.ts @@ -21,6 +21,7 @@ export class SmsTemplateComponent implements OnInit { visible = false; isVisible = false; tempData = {}; + isEdit = false; searchSchema: SFSchema = { properties: { @@ -52,7 +53,8 @@ export class SmsTemplateComponent implements OnInit { templateCode: { type: 'string', title: '模板编码', - ui: { placeholder: '请输入模板编码' } + readOnly: this.isEdit ? true : false, + ui: { placeholder: '请输入模板编码', } }, templateContent: { type: 'string', @@ -100,6 +102,7 @@ export class SmsTemplateComponent implements OnInit { edit(item: any) { // console.log(item); + this.isEdit = true; this.tempData = item; this.isVisible = true; } @@ -117,6 +120,12 @@ export class SmsTemplateComponent implements OnInit { this.visible = false; } + add() { + this.isEdit = false; + this.tempData = {}; + this.isVisible = true; + } + handleOk(): void { const value = this.sfEdit.value; const { id, templateCode, templateName, templateContent } = value diff --git a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html index 3ed4ee8f..d308c5e6 100644 --- a/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html +++ b/src/app/routes/tax-management/components/invoice-reporting/invoice-reporting.component.html @@ -34,12 +34,6 @@ 上传中 上传异常 - - {{item.artoname}} - - - {{item.billHCode}} - 增值税专用发票