This commit is contained in:
weiyu
2022-04-21 17:35:56 +08:00
parent 092daa83e2
commit 6138a75312
3 changed files with 30 additions and 15 deletions

View File

@ -24,6 +24,11 @@ export class SmsTemplateComponent implements OnInit {
searchSchema: SFSchema = {
properties: {
templateName: {
type: 'string',
title: '模板名称',
ui: { placeholder: '请输入模板名称' }
},
templateCode: {
type: 'string',
title: '模板编码',
@ -39,6 +44,11 @@ export class SmsTemplateComponent implements OnInit {
editSchema: SFSchema = {
properties: {
templateName: {
type: 'string',
title: '模板名称',
ui: { placeholder: '请输入模板名称' }
},
templateCode: {
type: 'string',
title: '模板编码',
@ -48,11 +58,6 @@ export class SmsTemplateComponent implements OnInit {
type: 'string',
title: '模板内容',
ui: { placeholder: '请输入模板内容' }
},
templateName: {
type: 'string',
title: '模板名称',
ui: { placeholder: '请输入模板名称' }
}
}
}

View File

@ -34,9 +34,6 @@
<span *ngIf="item?.uploadSts == '2'">上传中</span>
<span *ngIf="item?.uploadSts == '4'" style="color: red;" (click)="unnormal(item)">上传异常</span>
</ng-template>
<ng-template st-row="invoiceNO" let-item let-index="index">
<a href="/">{{item.invoiceno}}</a>
</ng-template>
<ng-template st-row="artoname" let-item let-index="index">
<a href="/">{{item.artoname}}</a>
</ng-template>

View File

@ -50,7 +50,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
* 查询参数
*/
get reqParams() {
const params = Object.assign({}, this.sf?.value || {}, {uploadSts: this.selectedIndex});
const params = Object.assign({}, this.sf?.value || {}, { uploadSts: this.selectedIndex });
delete params._$expand;
return { ...params };
}
@ -213,9 +213,12 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
{
title: '发票号码',
index: 'invoiceno',
render: 'invoiceNO',
className: 'text-center',
width: '150px',
type: 'link',
click: item => {
window.open(`/#/ticket/invoice-list/detail/${item.invoiceno}`, '_blank', 'noopener')
}
},
{ title: '发票代码', index: 'invoiceno2', className: 'text-center', width: '150px', },
{
@ -224,14 +227,24 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
className: 'text-center',
width: '180px',
},
{ title: '购买方企业名称', index: 'artoname', render: 'artoname', className: 'text-center', width: '200px' },
{
title: '购买方企业名称', index: 'artoname', className: 'text-center', width: '200px', type: 'link',
click: item => {
window.open(`/#/usercenter/freight/list/detail/${item.ltdId}`, '_blank', 'noopener')
}
},
{ title: '购买方统一社会信用代码', index: 'artotaxno', className: 'text-center', width: '200px' },
{ title: '订单号', index: 'billHCode', render: 'billHCode', className: 'text-center', width: '120px' },
{
title: '订单号', index: 'billHCode', render: 'billHCode', className: 'text-center', width: '120px', type: 'link',
click: item => {
window.open(`/#/order-management/vehicle/vehicle-detail/${item.ltdId}`, '_blank', 'noopener')
}
},
{ title: '货物名称', index: 'goodsinfo', className: 'text-center', width: '180px' },
{ title: '价税合计', index: 'vatmoney', className: 'text-center', width: '180px' },
{ title: '开票日期', index: 'invoicedate', className: 'text-center', width: '180px' },
{ title: '发票所属月份', index: 'invoicemonth', className: 'text-center', width: '250px' },
{ title: '发票状态', index: 'sts', render:'sts', className: 'text-center', width: '200px' },
{ title: '发票状态', index: 'sts', render: 'sts', className: 'text-center', width: '200px' },
{ title: '上传日期', index: 'uoloadDate', className: 'text-center', width: '200px' },
];
}
@ -258,7 +271,7 @@ export class TaxManagementInvoiceReportingComponent implements OnInit {
nzOkText: '确定',
nzCancelText: '取消',
nzOnOk: () => {
this.service.request(this.service.$api_invoiceUpload_withdraw, {ids}).subscribe((res: any) => {
this.service.request(this.service.$api_invoiceUpload_withdraw, { ids }).subscribe((res: any) => {
if (res) {
this.service.msgSrv.success('撤销成功');
this.search();