Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		| @ -1,5 +1,5 @@ | ||||
| /* | ||||
|  * @Description  :  | ||||
|  * @Description  : | ||||
|  * @Version      : 1.0 | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-18 15:57:44 | ||||
| @ -137,6 +137,22 @@ export class VoucherManagementComponent implements OnInit { | ||||
|         sourceType: { | ||||
|           type: 'string', | ||||
|           title: '原始单类型', | ||||
|           enum: [ | ||||
|             { value: '', label: '全部' }, | ||||
|             { value: 1, label: '收款' }, | ||||
|             { value: 2, label: '收款(退款)' }, | ||||
|             { value: 3, label: '应收费用' }, | ||||
|             { value: 4, label: '应收费用(负数)' }, | ||||
|             { value: 5, label: '应收核销' }, | ||||
|             { value: 6, label: '应收核销(负数)' }, | ||||
|             { value: 7, label: '应付费用' }, | ||||
|             { value: 8, label: '应付费用(负数)' }, | ||||
|             { value: 9, label: '应付核销' }, | ||||
|             { value: 10, label: '应付核销(负数)' }, | ||||
|             { value: 11, label: '分票开票' }, | ||||
|             { value: 12, label: '删除分票' }, | ||||
|             { value: 13, label: '付款' } | ||||
|           ], | ||||
|           ui: { | ||||
|             widget: 'select', | ||||
|             placeholder: '请选择', | ||||
| @ -292,7 +308,7 @@ export class VoucherManagementComponent implements OnInit { | ||||
|     return [ | ||||
|       { title: '', index: 'key', type: 'checkbox', width: 60, className: 'text-center', fixed: 'left' }, | ||||
|       { title: '凭证号', index: 'vccode', type: 'link', width: 200 }, | ||||
|       { title: '帐套', index: 'ltdId', width: 200,format:item=>`${item.vcltdcode}-${item.vcltdname}` }, | ||||
|       { title: '帐套', index: 'ltdId', width: 200, format: item => `${item.vcltdcode}-${item.vcltdname}` }, | ||||
|       { title: '凭证时间', index: 'vctime', type: 'date', width: 200 }, | ||||
|       { title: '凭证类型', index: 'vctype', width: 200 }, | ||||
|       { title: '序号', index: 'invmoney', width: 200, format: _ => '1' }, | ||||
| @ -328,8 +344,8 @@ export class VoucherManagementComponent implements OnInit { | ||||
|           { | ||||
|             text: '浏览', | ||||
|             click: (item: any) => this.router.navigate(['/financial-management/voucher-management/detail/' + item.id]), | ||||
|             acl: { ability: ['FINANCIAL-VOUCHER-view'] }, | ||||
|           }, | ||||
|             acl: { ability: ['FINANCIAL-VOUCHER-view'] } | ||||
|           } | ||||
|           // { | ||||
|           //   text: '修改' | ||||
|           // }, | ||||
|  | ||||
| @ -339,7 +339,7 @@ export class InvoiceRequestedComponent { | ||||
|         }, | ||||
|         arto: { | ||||
|           type: 'string', | ||||
|           title: '购买人', | ||||
|           title: '货主名称', | ||||
|           ui: { | ||||
|             widget: 'select', | ||||
|             placeholder: '请选择', | ||||
| @ -359,7 +359,7 @@ export class InvoiceRequestedComponent { | ||||
|       { title: '', index: 'key', type: 'checkbox' }, | ||||
|       { title: '申请编号', render: 'vatappcode', width: 190 }, | ||||
|       { title: '网络货运人', index: 'ltdName', width: 170 }, | ||||
|       { title: '购买方', index: 'artoName', width: 170 }, | ||||
|       { title: '货主名称', index: 'artoName', width: 170 }, | ||||
|       { title: '订单数', index: 'ordlines', width: 90 }, | ||||
|       { | ||||
|         title: '申请金额', | ||||
|  | ||||
| @ -16,8 +16,7 @@ | ||||
|       <sf #sf [schema]="searchSchema" [ui]="{ '*': { spanLabelFixed: 120, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }" | ||||
|         [compact]="true" [button]="'none'"></sf> | ||||
|     </div> | ||||
|     <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand" | ||||
|       class="text-right"> | ||||
|     <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> | ||||
|       <button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button> | ||||
|       <button nz-button (click)="resetSF()">重置</button> | ||||
|       <!-- <button nz-button> 导出</button> --> | ||||
|  | ||||
| @ -137,7 +137,7 @@ export class InvoicedListComponent implements OnInit { | ||||
|             autocomplete: 'off' | ||||
|           } | ||||
|         }, | ||||
|         vatinvcode: { | ||||
|         vatappHCode: { | ||||
|           type: 'string', | ||||
|           title: '申请编号', | ||||
|           ui: { | ||||
| @ -177,6 +177,16 @@ export class InvoicedListComponent implements OnInit { | ||||
|             asyncData: () => this.service.getNetworkFreightForwarder({}, true) | ||||
|           }, | ||||
|           default: '' | ||||
|         }, | ||||
|         vatinvcode: { | ||||
|           type: 'string', | ||||
|           title: '分票编号', | ||||
|           ui: { | ||||
|             placeholder: '请输入', | ||||
|             visibleIf: { | ||||
|               expand: (value: boolean) => value | ||||
|             } | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|     }; | ||||
| @ -188,7 +198,7 @@ export class InvoicedListComponent implements OnInit { | ||||
|       { title: '发票号码', index: 'invoiceno', width: 150 }, | ||||
|       { | ||||
|         title: '申请编号', | ||||
|         index: 'vatinvcode', | ||||
|         index: 'vatappHCode', | ||||
|         width: 190, | ||||
|         type: 'link', | ||||
|         click: item => | ||||
| @ -243,22 +253,23 @@ export class InvoicedListComponent implements OnInit { | ||||
|         title: '操作', | ||||
|         fixed: 'right', | ||||
|         className: 'text-center', | ||||
|         width: 180, | ||||
|         width: 120, | ||||
|         buttons: [ | ||||
|           {type:'divider'}, | ||||
|           { | ||||
|             text: '查看明细', | ||||
|             text: '查看明细<br>', | ||||
|             click: item => | ||||
|               this.router.navigate(['/ticket/invoice-list/detail/' + item.id], { | ||||
|                 queryParams: { expressno: item.expressno, type: 2, ltdId: item.shipperId } | ||||
|               }) | ||||
|           }, | ||||
|           { | ||||
|             text: '发票作废', | ||||
|             text: '发票作废<br>', | ||||
|             click: item => this.deletedInvoice(item), | ||||
|             iif: item => item.sts === '1' | ||||
|           }, | ||||
|           { | ||||
|             text: '查看物流', | ||||
|             text: '查看物流<br>', | ||||
|             click: item => this.showlogosticsLogs(item), | ||||
|             iif: item => item.expresscompany | ||||
|           } | ||||
|  | ||||
| @ -130,7 +130,7 @@ export class EAUserService extends BaseService { | ||||
|   async doAfterLogin() { | ||||
|     await this.loadUserInfo(); | ||||
|     await this.loadUserMenus(); | ||||
|     await this.loadUserRoles(); | ||||
|     this.loadApp(); | ||||
|   } | ||||
|  | ||||
|   /** | ||||
| @ -165,9 +165,15 @@ export class EAUserService extends BaseService { | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * 加载用户角色 | ||||
|    * 加载系统信息 | ||||
|    */ | ||||
|   loadUserRoles() {} | ||||
|   loadApp() { | ||||
|     this.http.get(`assets/mocks/app-data.json`).subscribe(res => { | ||||
|       if (res.app) { | ||||
|         this.settings.setApp(res.app); | ||||
|       } | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|    * 登出 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user