diff --git a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts index b2ee178e..fcfcf8c4 100644 --- a/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts +++ b/src/app/routes/supply-management/components/onecar-publish/onecar-publish.component.ts @@ -581,65 +581,45 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { } } }, - receiptAddress: { - type: 'string', - title: '回单收件人信息', - ui: { - widget: 'custom', - placeholder: '请点击选择回单收件人信息', - // validator: val => (this.sf6?.value?.receiptType === '2' ? [{ keyword: 'required', message: '请点击选择收回单地址' }] : []), - visibleIf: { - receiptType: value => value === '2' - } - }, - default: '' - }, - receiptAddressId: { - type: 'string', - title: '', - ui: { - hidden: true - } - }, receiptUserName: { type: 'string', title: '联系人', + maxLength: 15, ui: { visibleIf: { receiptType: value => value === '2' } - }, - readOnly: true + } }, - phon: { + receiptUserPhone: { type: 'string', title: '联系电话', + maxLength: 11, ui: { visibleIf: { receiptType: value => value === '2' } - }, - readOnly: true + } }, - area: { + receiptAddressArea: { type: 'string', title: '所在地区', + maxLength: 30, ui: { visibleIf: { receiptType: value => value === '2' } - }, - readOnly: true + } }, - address: { + receiptAddress: { type: 'string', title: '详细地址', + maxLength: 30, ui: { visibleIf: { receiptType: value => value === '2' } - }, - readOnly: true + } }, remarks: { type: 'string', @@ -652,11 +632,11 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { } as SFTextareaWidgetSchema } }, - required: ['stateReceipt', 'receiptType', 'receiptAddress'] + required: ['stateReceipt', 'receiptType', 'receiptUserName', 'receiptUserPhone', 'receiptAddressArea', 'receiptAddress'] }; this.ui6 = { '*': { - spanLabelFixed: 115, + spanLabelFixed: 90, grid: { span: 24 } } }; diff --git a/src/app/routes/supply-management/components/release-publish/release-publish.component.html b/src/app/routes/supply-management/components/release-publish/release-publish.component.html index 5981b49e..e8897d62 100644 --- a/src/app/routes/supply-management/components/release-publish/release-publish.component.html +++ b/src/app/routes/supply-management/components/release-publish/release-publish.component.html @@ -281,15 +281,6 @@