合同
This commit is contained in:
@ -49,7 +49,19 @@
|
||||
</nz-alert>
|
||||
</div>
|
||||
<div style="margin-top: 15px;">
|
||||
<st #st [data]="url" [columns]="columns">
|
||||
<st
|
||||
#st
|
||||
size="small"
|
||||
[bordered]="true"
|
||||
[scroll]="{ x: '2000px' }"
|
||||
[data]="service.$api_get_bulkPage_list"
|
||||
[columns]="columns"
|
||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||
[loadingDelay]="500"
|
||||
[loading]="service.http.loading"
|
||||
>
|
||||
<ng-template st-row="goodsId" let-item let-index="index">
|
||||
<a [routerLink]="'/supply-management/bulk-detail/'+item.id">{{item.no}}</a>
|
||||
</ng-template>
|
||||
|
||||
@ -53,7 +53,14 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
this.initST();
|
||||
this.initSFFre();
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询参数
|
||||
*/
|
||||
get reqParams() {
|
||||
return {
|
||||
...this.sf?.value,
|
||||
};
|
||||
}
|
||||
/**
|
||||
* 初始化查询表单
|
||||
*/
|
||||
@ -315,13 +322,13 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
getCatalogueMember() {
|
||||
const params = {
|
||||
};
|
||||
return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe(
|
||||
map((res) => {
|
||||
if (res) {
|
||||
console.log(res)
|
||||
}
|
||||
}),
|
||||
);
|
||||
// return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe(
|
||||
// map((res) => {
|
||||
// if (res) {
|
||||
// console.log(res)
|
||||
// }
|
||||
// }),
|
||||
// );
|
||||
}
|
||||
|
||||
selectChange(e: number) {
|
||||
|
||||
Reference in New Issue
Block a user