fix bug
This commit is contained in:
@ -131,7 +131,7 @@ export class ContractManagementTemplateFrameComponent implements OnInit {
|
|||||||
title: '签约对象',
|
title: '签约对象',
|
||||||
width: '100px',
|
width: '100px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
render: 'signingObjectLabel'
|
index: 'signingObjectLabel'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '合同类型',
|
title: '合同类型',
|
||||||
@ -145,15 +145,17 @@ export class ContractManagementTemplateFrameComponent implements OnInit {
|
|||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'resourceTypeLabel'
|
index: 'resourceTypeLabel'
|
||||||
},
|
},
|
||||||
{ title: '创建人', index: 'createUserId', width: '120px', className: 'text-center' },
|
{ title: '创建人', index: 'createUserIdLabel', width: '120px', className: 'text-center' },
|
||||||
{
|
{
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'createTime'
|
index: 'createTime',
|
||||||
|
width: '200px'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
|
width: '110px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -145,15 +145,17 @@ export class ContractManagementTemplatePartnerComponent implements OnInit {
|
|||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'resourceTypeLabel'
|
index: 'resourceTypeLabel'
|
||||||
},
|
},
|
||||||
{ title: '创建人', index: 'createUserId', width: '120px', className: 'text-center' },
|
{ title: '创建人', index: 'createUserIdLabel', width: '120px', className: 'text-center' },
|
||||||
{
|
{
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'createTime'
|
index: 'createTime',
|
||||||
|
width: '200px'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
|
width: '110px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -145,15 +145,17 @@ export class ContractManagementTemplateDetailComponent implements OnInit {
|
|||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'resourceTypeLabel'
|
index: 'resourceTypeLabel'
|
||||||
},
|
},
|
||||||
{ title: '创建人', index: 'createUserId', width: '120px', className: 'text-center' },
|
{ title: '创建人', index: 'createUserIdLabel', width: '120px', className: 'text-center' },
|
||||||
{
|
{
|
||||||
title: '创建时间',
|
title: '创建时间',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'createTime'
|
index: 'createTime',
|
||||||
|
width: '200px'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
|
width: '110px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -22,6 +22,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
schemaView: SFSchema = {};
|
schemaView: SFSchema = {};
|
||||||
auditMany = false;
|
auditMany = false;
|
||||||
auditId: any;
|
auditId: any;
|
||||||
|
auditIdR: any;
|
||||||
isVisibleRE = false;
|
isVisibleRE = false;
|
||||||
resourceStatus: any;
|
resourceStatus: any;
|
||||||
_$expand = false;
|
_$expand = false;
|
||||||
@ -336,6 +337,14 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
widget: 'text'
|
widget: 'text'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
id: {
|
||||||
|
title: '',
|
||||||
|
type: 'string',
|
||||||
|
default: this.auditIdR,
|
||||||
|
ui: {
|
||||||
|
hidden: true
|
||||||
|
}
|
||||||
|
},
|
||||||
representationsCause: {
|
representationsCause: {
|
||||||
title: '备注',
|
title: '备注',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
@ -428,12 +437,13 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
idList.push(item.id);
|
idList.push(item.id);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
idList.push(this.sfView.value.billCode)
|
idList.push(this.sfView.value.id)
|
||||||
}
|
}
|
||||||
const parms = {
|
const parms = {
|
||||||
ids: idList,
|
ids: idList,
|
||||||
auditRemark: this.sfView.value.representationsCause,
|
auditRemark: this.sfView.value.representationsCause,
|
||||||
representationsStatus: 3,
|
representationsStatus: 3,
|
||||||
|
auditStatus: 2,
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => {
|
this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
@ -454,7 +464,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
idList.push(item.id);
|
idList.push(item.id);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
idList.push(this.sfView.value.billCode)
|
idList.push(this.sfView.value.id)
|
||||||
}
|
}
|
||||||
if (!this.sfView.value.representationsCause) {
|
if (!this.sfView.value.representationsCause) {
|
||||||
this.service.msgSrv.error('拒绝原因为空!');
|
this.service.msgSrv.error('拒绝原因为空!');
|
||||||
@ -464,6 +474,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
ids: idList,
|
ids: idList,
|
||||||
auditRemark: this.sfView.value.representationsCause,
|
auditRemark: this.sfView.value.representationsCause,
|
||||||
representationsStatus: 4,
|
representationsStatus: 4,
|
||||||
|
auditStatus: 3,
|
||||||
};
|
};
|
||||||
this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => {
|
this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
@ -480,6 +491,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
audit(item?: any) {
|
audit(item?: any) {
|
||||||
if (item) {
|
if (item) {
|
||||||
this.auditId = item.billCode;
|
this.auditId = item.billCode;
|
||||||
|
this.auditIdR = item.id;
|
||||||
this.initSTAudit(1);
|
this.initSTAudit(1);
|
||||||
this.isVisibleRE = true;
|
this.isVisibleRE = true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -90,6 +90,7 @@ export class CtcCaptatinAddComponent implements OnInit {
|
|||||||
widget: this.i.id ? 'text' : '',
|
widget: this.i.id ? 'text' : '',
|
||||||
placeholder: '请输入手机号',
|
placeholder: '请输入手机号',
|
||||||
blur: () => {
|
blur: () => {
|
||||||
|
if(this.sf?.value?.mobile) {
|
||||||
this.service.request(this.service.$api_getByMobile, { mobile: this.sf.value.mobile }).subscribe(res => {
|
this.service.request(this.service.$api_getByMobile, { mobile: this.sf.value.mobile }).subscribe(res => {
|
||||||
if (res.certificateNumber) {
|
if (res.certificateNumber) {
|
||||||
this.readFlag = true
|
this.readFlag = true
|
||||||
@ -128,7 +129,8 @@ export class CtcCaptatinAddComponent implements OnInit {
|
|||||||
this.detailData = {}
|
this.detailData = {}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
default: this.detailData.mobile
|
default: this.detailData.mobile
|
||||||
},
|
},
|
||||||
@ -145,6 +147,7 @@ export class CtcCaptatinAddComponent implements OnInit {
|
|||||||
bankCardNo: {
|
bankCardNo: {
|
||||||
title: '银行卡号',
|
title: '银行卡号',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
maxLength: 20,
|
||||||
ui: {
|
ui: {
|
||||||
widget: this.i.id ? 'text' : '',
|
widget: this.i.id ? 'text' : '',
|
||||||
placeholder: '请输入银行卡号',
|
placeholder: '请输入银行卡号',
|
||||||
@ -161,6 +164,7 @@ export class CtcCaptatinAddComponent implements OnInit {
|
|||||||
bankName: {
|
bankName: {
|
||||||
title: '开户行',
|
title: '开户行',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
maxLength: 35,
|
||||||
ui: {
|
ui: {
|
||||||
widget: this.i.id ? 'text' : '',
|
widget: this.i.id ? 'text' : '',
|
||||||
placeholder: '请输入开户行',
|
placeholder: '请输入开户行',
|
||||||
|
|||||||
Reference in New Issue
Block a user