edit
This commit is contained in:
@ -40,16 +40,16 @@ export class PayableOrderComponent implements OnInit {
|
||||
if (this.sf.value?.createTime) {
|
||||
Object.assign(requestOptions.body, {
|
||||
createTime: {
|
||||
start: this.sf.value.createTime?.[0] || null,
|
||||
end: this.sf.value.createTime?.[1] || null
|
||||
start: this.sf.value.createTime?.[0] || '',
|
||||
end: this.sf.value.createTime?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
if (this.sf.value?.phxdate) {
|
||||
Object.assign(requestOptions.body, {
|
||||
phxdate: {
|
||||
start: this.sf.value.phxdate?.[0] || null,
|
||||
end: this.sf.value.phxdate?.[1] || null
|
||||
start: this.sf.value.phxdate?.[0] || '',
|
||||
end: this.sf.value.phxdate?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -31,15 +31,15 @@ export class PaymentOrderComponent implements OnInit {
|
||||
if (this.sf) {
|
||||
let params = { ...this.sf.value };
|
||||
if (params.payDate) {
|
||||
const payDate = { start: this.sf?.value?.payDate?.[0], end: this.sf?.value?.payDate?.[1] }
|
||||
const payDate = { start: this.sf?.value?.payDate?.[0], end: this.sf?.value?.payDate?.[1] };
|
||||
params.payDate = payDate;
|
||||
}
|
||||
if (params.payDate2) {
|
||||
const payDate2 = { start: this.sf?.value?.payDate2?.[0], end: this.sf?.value?.payDate2?.[1] }
|
||||
const payDate2 = { start: this.sf?.value?.payDate2?.[0], end: this.sf?.value?.payDate2?.[1] };
|
||||
params.payDate2 = payDate2;
|
||||
}
|
||||
if (params.createTime) {
|
||||
const createTime = { start: this.sf?.value?.createTime?.[0], end: this.sf?.value?.createTime?.[1] }
|
||||
const createTime = { start: this.sf?.value?.createTime?.[0] || '', end: this.sf?.value?.createTime?.[1] || '' };
|
||||
params.createTime = createTime;
|
||||
}
|
||||
Object.assign(requestOptions.body, params);
|
||||
@ -95,7 +95,7 @@ export class PaymentOrderComponent implements OnInit {
|
||||
},
|
||||
paycode: {
|
||||
type: 'string',
|
||||
title: '付款单号',
|
||||
title: '付款单号'
|
||||
},
|
||||
ltdId: {
|
||||
type: 'string',
|
||||
@ -125,7 +125,7 @@ export class PaymentOrderComponent implements OnInit {
|
||||
widget: 'dict-select',
|
||||
containsAllLabel: true,
|
||||
params: { dictKey: 'pay:type' },
|
||||
placeholder: '请选择',
|
||||
placeholder: '请选择'
|
||||
}
|
||||
},
|
||||
paymode: {
|
||||
@ -264,7 +264,7 @@ export class PaymentOrderComponent implements OnInit {
|
||||
{
|
||||
text: '浏览',
|
||||
click: item => this.router.navigate(['/financial-management/payment-order/detail/' + item.id])
|
||||
},
|
||||
}
|
||||
// {
|
||||
// text: '修改',
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user