Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -72,7 +72,7 @@ export class ContractManagementContractListComponent implements OnInit {
|
|||||||
title: '签约对象',
|
title: '签约对象',
|
||||||
width: '100px',
|
width: '100px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'documentType'
|
index: 'signingObjectLabel'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '合同类型',
|
title: '合同类型',
|
||||||
|
|||||||
@ -78,7 +78,7 @@ export class ContractManagementPartnerComponent implements OnInit {
|
|||||||
title: '签约对象',
|
title: '签约对象',
|
||||||
width: '100px',
|
width: '100px',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
index: 'signingObject'
|
index: 'signingObjectLabel'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '合同类型',
|
title: '合同类型',
|
||||||
|
|||||||
@ -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;
|
||||||
@ -312,7 +313,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
text: '审核',
|
text: '审核',
|
||||||
click: _record => this.audit(_record),
|
click: _record => this.audit(_record),
|
||||||
iif: item => item.representationsStatus == '1' || item.representationsStatus == '2',
|
iif: item => item.auditStatus == '1' ,
|
||||||
acl: { ability: ['ORDER-RISK-audit'] },
|
acl: { ability: ['ORDER-RISK-audit'] },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -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 {
|
||||||
|
|||||||
@ -424,7 +424,7 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
|||||||
const params = [this.i.id];
|
const params = [this.i.id];
|
||||||
this.service.request(this.service.$api_get_billAuditPass, params).subscribe((res) => {
|
this.service.request(this.service.$api_get_billAuditPass, params).subscribe((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
this.service.msgSrv.success('审核成功!')
|
this.service.msgSrv.success('生成电子单据成功!')
|
||||||
this.modal.destroy(true);
|
this.modal.destroy(true);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -425,7 +425,7 @@ export class VehicleSureArriveComponent implements OnInit {
|
|||||||
save(value: any): void {
|
save(value: any): void {
|
||||||
console.log(this.Status);
|
console.log(this.Status);
|
||||||
console.log(value?.imgUrl3?.data?.fullFilePath);
|
console.log(value?.imgUrl3?.data?.fullFilePath);
|
||||||
console.log(value?.imgUrl3.url);
|
console.log(value?.imgUrl3?.url);
|
||||||
|
|
||||||
if (this.Status === 1) {
|
if (this.Status === 1) {
|
||||||
if (!value.time) {
|
if (!value.time) {
|
||||||
@ -436,8 +436,8 @@ export class VehicleSureArriveComponent implements OnInit {
|
|||||||
id: this.i.id,
|
id: this.i.id,
|
||||||
imgUrl1: value?.imgUrl1?.data?.fullFilePath,
|
imgUrl1: value?.imgUrl1?.data?.fullFilePath,
|
||||||
imgUrl2: value?.imgUrl2?.data?.fullFilePath,
|
imgUrl2: value?.imgUrl2?.data?.fullFilePath,
|
||||||
setLading: value?.imgUrl3?.data?.fullFilePath || value?.imgUrl3.url,
|
setLading: value?.imgUrl3?.data?.fullFilePath || value?.imgUrl3?.url,
|
||||||
setPeoCarGoods: value?.imgUrl4?.data?.fullFilePath || value?.imgUrl4.url,
|
setPeoCarGoods: value?.imgUrl4?.data?.fullFilePath || value?.imgUrl4?.url,
|
||||||
time: value?.time
|
time: value?.time
|
||||||
};
|
};
|
||||||
params.time = this.datePipe.transform(value.time, 'yyyy-MM-dd HH:mm:ss ');
|
params.time = this.datePipe.transform(value.time, 'yyyy-MM-dd HH:mm:ss ');
|
||||||
@ -466,8 +466,8 @@ export class VehicleSureArriveComponent implements OnInit {
|
|||||||
id: this.i?.id,
|
id: this.i?.id,
|
||||||
imgUrl1: value?.imgUrl1?.data?.fullFilePath,
|
imgUrl1: value?.imgUrl1?.data?.fullFilePath,
|
||||||
imgUrl2: value?.imgUrl2?.data?.fullFilePath,
|
imgUrl2: value?.imgUrl2?.data?.fullFilePath,
|
||||||
setLading: value?.imgUrl3?.data?.fullFilePath || value?.imgUrl3.url,
|
setLading: value?.imgUrl3?.data?.fullFilePath || value?.imgUrl3?.url,
|
||||||
setPeoCarGoods: value?.imgUrl4?.data?.fullFilePath || value?.imgUrl4.url,
|
setPeoCarGoods: value?.imgUrl4?.data?.fullFilePath || value?.imgUrl4?.url,
|
||||||
time: value?.time,
|
time: value?.time,
|
||||||
volume: this.data?.volume,
|
volume: this.data?.volume,
|
||||||
weight: this.data?.weight
|
weight: this.data?.weight
|
||||||
|
|||||||
@ -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