666
This commit is contained in:
@ -32,7 +32,7 @@
|
|||||||
{{headerInfo?.payMoney}}
|
{{headerInfo?.payMoney}}
|
||||||
</se>
|
</se>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="100" col="1">
|
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="150" col="1">
|
||||||
<se label="要求付款日期" required>
|
<se label="要求付款日期" required>
|
||||||
{{headerInfo?.payDate}}
|
{{headerInfo?.payDate}}
|
||||||
</se>
|
</se>
|
||||||
@ -46,7 +46,7 @@
|
|||||||
{{headerInfo?.payRemarks}}
|
{{headerInfo?.payRemarks}}
|
||||||
</se>
|
</se>
|
||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="100" col="1">
|
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="8" [nzXs]="8" se-container [labelWidth]="150" col="1">
|
||||||
<se label="付款方式" required>
|
<se label="付款方式" required>
|
||||||
{{headerInfo?.payModeLabel}}
|
{{headerInfo?.payModeLabel}}
|
||||||
</se>
|
</se>
|
||||||
|
|||||||
@ -29,9 +29,20 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
|
|
||||||
beforeReq = (requestOptions: STRequestOptions) => {
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
if (this.sf) {
|
if (this.sf) {
|
||||||
Object.assign(requestOptions.body, {
|
let params = {...this.sf.value};
|
||||||
...this.sf.value
|
if(params.payDate){
|
||||||
});
|
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]}
|
||||||
|
params.payDate2 = payDate2;
|
||||||
|
}
|
||||||
|
if(params.createTime){
|
||||||
|
const createTime = {start:this.sf?.value?.createTime?.[0],end:this.sf?.value?.createTime?.[1]}
|
||||||
|
params.createTime = createTime;
|
||||||
|
}
|
||||||
|
Object.assign(requestOptions.body,params );
|
||||||
}
|
}
|
||||||
return requestOptions;
|
return requestOptions;
|
||||||
};
|
};
|
||||||
@ -82,7 +93,7 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
hidden: true
|
hidden: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
paycodes: {
|
paycode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '付款单号',
|
title: '付款单号',
|
||||||
},
|
},
|
||||||
@ -111,9 +122,10 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
title: '付款类型',
|
title: '付款类型',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'dict-select',
|
||||||
|
containsAllLable: true,
|
||||||
|
params: { dictKey: 'pay:type' },
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
allowClear: true,
|
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
@ -123,9 +135,10 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
title: '付款方式',
|
title: '付款方式',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
widget: 'dict-select',
|
||||||
|
containsAllLable: true,
|
||||||
|
params: { dictKey: 'pay:mode' },
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
allowClear: true,
|
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
@ -143,7 +156,7 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
billHCodes: {
|
billCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '订单号',
|
title: '订单号',
|
||||||
ui: {
|
ui: {
|
||||||
@ -155,7 +168,7 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
paydate: {
|
payDate: {
|
||||||
title: '要求付款日期',
|
title: '要求付款日期',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
@ -166,7 +179,7 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
createTi1me: {
|
payDate2: {
|
||||||
title: '确认日期',
|
title: '确认日期',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
ui: {
|
||||||
@ -177,25 +190,19 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
waybillHCodes: {
|
waybillCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '运单号',
|
title: '运单号',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
|
||||||
placeholder: '请选择',
|
|
||||||
allowClear: true,
|
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
feeHCodes: {
|
feeCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '费用号',
|
title: '费用号',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'select',
|
|
||||||
placeholder: '请选择',
|
|
||||||
allowClear: true,
|
|
||||||
visibleIf: {
|
visibleIf: {
|
||||||
expand: (value: boolean) => value
|
expand: (value: boolean) => value
|
||||||
}
|
}
|
||||||
@ -212,7 +219,7 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} as SFDateWidgetSchema
|
} as SFDateWidgetSchema
|
||||||
},
|
},
|
||||||
remarks: {
|
payRemarks: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '付款备注',
|
title: '付款备注',
|
||||||
ui: {
|
ui: {
|
||||||
@ -240,7 +247,7 @@ export class PaymentOrderComponent implements OnInit {
|
|||||||
className: 'text-right',
|
className: 'text-right',
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.payMoney }) }
|
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.payMoney }) }
|
||||||
},
|
},
|
||||||
{ title: '付款类型', index: 'payType', width: 130 },
|
{ title: '付款类型', index: 'payTypeLabel', width: 130 },
|
||||||
{ title: '付款方式', index: 'payModeLabel', width: 130 },
|
{ title: '付款方式', index: 'payModeLabel', width: 130 },
|
||||||
{ title: '结算客户', index: 'cnoName', width: 160 },
|
{ title: '结算客户', index: 'cnoName', width: 160 },
|
||||||
{ title: '收款人', index: 'hrToLabel', width: 150 },
|
{ title: '收款人', index: 'hrToLabel', width: 150 },
|
||||||
|
|||||||
@ -252,7 +252,7 @@ export class InvoiceRequestedComponent implements OnInit {
|
|||||||
placeholder: '请输入'
|
placeholder: '请输入'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
orderSn3: {
|
feeHCode: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '费用号',
|
title: '费用号',
|
||||||
ui: {
|
ui: {
|
||||||
@ -271,7 +271,7 @@ export class InvoiceRequestedComponent implements OnInit {
|
|||||||
asyncData: () => this.service.getEnterpriseProject()
|
asyncData: () => this.service.getEnterpriseProject()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ltd: {
|
ltdId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
@ -285,7 +285,7 @@ export class InvoiceRequestedComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
otherReq: {
|
otherremarks: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '其他需求',
|
title: '其他需求',
|
||||||
enum: [{ label: '全部', value: '' }],
|
enum: [{ label: '全部', value: '' }],
|
||||||
@ -396,7 +396,7 @@ export class InvoiceRequestedComponent implements OnInit {
|
|||||||
{ title: '注册地址', index: 'registerAddr', width: 140 },
|
{ title: '注册地址', index: 'registerAddr', width: 140 },
|
||||||
{ title: '注册电话', index: 'registerPhone', width: 120 },
|
{ title: '注册电话', index: 'registerPhone', width: 120 },
|
||||||
{ title: '服务名称', index: 'vatname', width: 100 },
|
{ title: '服务名称', index: 'vatname', width: 100 },
|
||||||
{ title: '销货清单', index: 'isdetail', width: 100 },
|
{ title: '销货清单', index: 'isdetail', width: 100,format:(item)=>{return item.isdetail === 0 ? '不需要':'需要'} },
|
||||||
{ title: '其他要求', index: 'otherremarks', width: 100 },
|
{ title: '其他要求', index: 'otherremarks', width: 100 },
|
||||||
{ title: '申请人', index: 'applyName', width: 90 },
|
{ title: '申请人', index: 'applyName', width: 90 },
|
||||||
{ title: '申请时间', index: 'applyTime', type: 'date', width: 150 },
|
{ title: '申请时间', index: 'applyTime', type: 'date', width: 150 },
|
||||||
|
|||||||
Reference in New Issue
Block a user