fix bug
This commit is contained in:
		| @ -213,16 +213,13 @@ export class SupplyManagementBulkPublishComponent implements OnInit { | |||||||
|           } as SFSelectWidgetSchema |           } as SFSelectWidgetSchema | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|       required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoId', 'deadlineTime'] |       required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoName', 'deadlineTime'] | ||||||
|     }; |     }; | ||||||
|     this.ui1 = { |     this.ui1 = { | ||||||
|       '*': { |       '*': { | ||||||
|         spanLabelFixed: 115, |         spanLabelFixed: 115, | ||||||
|         grid: { span: 12 } |         grid: { span: 12 } | ||||||
|       }, |       }, | ||||||
|       $enterpriseInfoName: { |  | ||||||
|         grid: { span: 24 } |  | ||||||
|       } |  | ||||||
|     }; |     }; | ||||||
|   } |   } | ||||||
|   initSF3() { |   initSF3() { | ||||||
|  | |||||||
| @ -7,13 +7,9 @@ | |||||||
| </page-header-wrapper> | </page-header-wrapper> | ||||||
| <nz-card> | <nz-card> | ||||||
|   <div class="card-title">货源单设置</div> |   <div class="card-title">货源单设置</div> | ||||||
|   <div nz-row> |  | ||||||
|     <div nz-col nzSpan="12"> |  | ||||||
|       <sf #sf1 [schema]="schema1" [button]="'none'" [ui]="ui1" [formData]="sf1data"> |       <sf #sf1 [schema]="schema1" [button]="'none'" [ui]="ui1" [formData]="sf1data"> | ||||||
|         <ng-template sf-template="enterpriseInfoName" let-i let-ui="ui"> {{ i.value }} </ng-template> |         <ng-template sf-template="enterpriseInfoName" let-i let-ui="ui"> {{ i.value }} </ng-template> | ||||||
|       </sf> |       </sf> | ||||||
|     </div> |  | ||||||
|   </div> |  | ||||||
| </nz-card> | </nz-card> | ||||||
|  |  | ||||||
| <nz-card> | <nz-card> | ||||||
|  | |||||||
| @ -1,52 +1,88 @@ | |||||||
|  | @import '~@delon/theme/index'; | ||||||
| :host { | :host { | ||||||
|  |  | ||||||
|   ::ng-deep { |   ::ng-deep { | ||||||
|     nz-input-number { |     h3 { | ||||||
|       width: 100%; |       margin-bottom: 20px; | ||||||
|     } |  | ||||||
|     nz-date-picker { |  | ||||||
|       width: 94.3%; |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
|   i { |  | ||||||
|     cursor: pointer; |  | ||||||
|   } |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .tip-font { |  | ||||||
|   margin-left: 16px; |  | ||||||
|   font-weight: 500; |  | ||||||
|   font-size: 12px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .card-title { |  | ||||||
|   margin-bottom: 24px; |  | ||||||
|   font-weight: bold; |  | ||||||
|       font-size: 16px; |       font-size: 16px; | ||||||
|  |     } | ||||||
|  |     .submit { | ||||||
|  |       width: 50%; | ||||||
|  |     } | ||||||
|  |     .login { | ||||||
|  |       float: right; | ||||||
|  |       line-height: @btn-height-lg; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  | } | ||||||
|  | ::ng-deep { | ||||||
|  |   .register-password-cdk { | ||||||
|  |     .success, | ||||||
|  |     .warning, | ||||||
|  |     .error { | ||||||
|  |       transition: color 0.3s; | ||||||
|  |     } | ||||||
|  |     .success { | ||||||
|  |       color: @success-color; | ||||||
|  |     } | ||||||
|  |     .warning { | ||||||
|  |       color: @warning-color; | ||||||
|  |     } | ||||||
|  |     .error { | ||||||
|  |       color: @error-color; | ||||||
|  |     } | ||||||
|  |     .progress-pass > .progress { | ||||||
|  |       .ant-progress-bg { | ||||||
|  |         background-color: @warning-color; | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| .align-center { | .form-box{ | ||||||
|  |   display: block; | ||||||
|  |   width: 368px; | ||||||
|  |   margin: 0 auto; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .content { | ||||||
|  |   background-color: #f0f3f7; | ||||||
|  | } | ||||||
|  | .main { | ||||||
|  |   max-width: 1200px; | ||||||
|  |   margin: 0 auto; | ||||||
|  | } | ||||||
|  | .header { | ||||||
|  |   background: #fff; | ||||||
|  | } | ||||||
|  | .layout { | ||||||
|  |   min-height: 100vh; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .logo { | ||||||
|   display: flex; |   display: flex; | ||||||
|   align-items: center; |   margin: 16px 0; | ||||||
|   justify-content: center; |   line-height: 32px; | ||||||
|  |   dt { | ||||||
|  |     width: 95px; | ||||||
|  |     height: 32px; | ||||||
|  |     img { | ||||||
|  |       vertical-align: top; | ||||||
|  |     } | ||||||
|  |   } | ||||||
|  |   dd { | ||||||
|  |     flex: 1; | ||||||
|  |     margin-bottom: 0; | ||||||
|  |     padding: 0 10px; | ||||||
|  |     color: #1890ff; | ||||||
|  |     font-weight: 500; | ||||||
|  |     font-size: 24px; | ||||||
|  |   } | ||||||
|  | } | ||||||
|  | .footer { | ||||||
|  |   text-align: center; | ||||||
|  |   background-color: #f0f3f7; | ||||||
| } | } | ||||||
|  |  | ||||||
| .swap-icon { |  | ||||||
|   padding: 24px; |  | ||||||
|   color: #7d7d7d; |  | ||||||
|   font-size: 30px; |  | ||||||
|   :hover{color: #52acff;} |  | ||||||
| } |  | ||||||
|  |  | ||||||
| #container { |  | ||||||
|   width: 300px; |  | ||||||
|   height: 180px; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| input[type='number'] { |  | ||||||
|   -moz-appearance: textfield; |  | ||||||
| } |  | ||||||
| input[type='number']::-webkit-inner-spin-button, |  | ||||||
| input[type='number']::-webkit-outer-spin-button { |  | ||||||
|   margin: 0; |  | ||||||
|   -webkit-appearance: none; |  | ||||||
| } |  | ||||||
|  | |||||||
| @ -188,6 +188,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { | |||||||
|             widget: 'text' |             widget: 'text' | ||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|  |      | ||||||
|         externalResourceCode: { |         externalResourceCode: { | ||||||
|           type: 'string', |           type: 'string', | ||||||
|           title: '外部货源号', |           title: '外部货源号', | ||||||
| @ -231,7 +232,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { | |||||||
|             }, |             }, | ||||||
|             asyncData: () => this.shipperSrv.getStaffList2() |             asyncData: () => this.shipperSrv.getStaffList2() | ||||||
|           } as SFSelectWidgetSchema |           } as SFSelectWidgetSchema | ||||||
|         } |         }, | ||||||
|       }, |       }, | ||||||
|       required: ['shipperAppUserId', 'enterpriseProjectId'] |       required: ['shipperAppUserId', 'enterpriseProjectId'] | ||||||
|     }; |     }; | ||||||
| @ -241,7 +242,16 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { | |||||||
|         grid: { span: 12 } |         grid: { span: 12 } | ||||||
|       }, |       }, | ||||||
|       $enterpriseInfoName: { |       $enterpriseInfoName: { | ||||||
|         grid: { span: 24 } |         grid: { span: 12 } | ||||||
|  |       }, | ||||||
|  |       $shipperAppUserId: { | ||||||
|  |         grid: { span: 12 } | ||||||
|  |       }, | ||||||
|  |       $enterpriseProjectId: { | ||||||
|  |         grid: { span: 12 } | ||||||
|  |       }, | ||||||
|  |       $dispatchId: { | ||||||
|  |         grid: { span: 12 } | ||||||
|       } |       } | ||||||
|     }; |     }; | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -7,13 +7,9 @@ | |||||||
| </page-header-wrapper> | </page-header-wrapper> | ||||||
| <nz-card> | <nz-card> | ||||||
|   <div class="card-title">货源单设置</div> |   <div class="card-title">货源单设置</div> | ||||||
|   <div nz-row> |  | ||||||
|     <div nz-col nzSpan="12"> |  | ||||||
|       <sf #sf1 [schema]="schema1" [button]="'none'" [ui]="ui1" [formData]="sf1data"> |       <sf #sf1 [schema]="schema1" [button]="'none'" [ui]="ui1" [formData]="sf1data"> | ||||||
|         <ng-template sf-template="enterpriseInfoName" let-i let-ui="ui"> {{ i.value }} </ng-template> |         <ng-template sf-template="enterpriseInfoName" let-i let-ui="ui"> {{ i.value }} </ng-template> | ||||||
|       </sf> |       </sf> | ||||||
|     </div> |  | ||||||
|   </div> |  | ||||||
| </nz-card> | </nz-card> | ||||||
|  |  | ||||||
| <nz-card> | <nz-card> | ||||||
|  | |||||||
| @ -176,14 +176,6 @@ export class SupplyManagementReleasePublishComponent implements OnInit { | |||||||
|             allowClear: true |             allowClear: true | ||||||
|           } as SFSelectWidgetSchema |           } as SFSelectWidgetSchema | ||||||
|         }, |         }, | ||||||
|         //  enterpriseInfoName: { |  | ||||||
|         //    type: 'string', |  | ||||||
|         //    title: '网络货运人', |  | ||||||
|         //    ui: { |  | ||||||
|         //      widget: 'custom' |  | ||||||
|         //    }, |  | ||||||
|         //    default: '天津市怡亚通XXXX有限公司' |  | ||||||
|         //  }, |  | ||||||
|         enterpriseInfoName: { |         enterpriseInfoName: { | ||||||
|           type: 'string', |           type: 'string', | ||||||
|           title: '网络货运人', |           title: '网络货运人', | ||||||
| @ -238,17 +230,26 @@ export class SupplyManagementReleasePublishComponent implements OnInit { | |||||||
|             optionalHelp: '选择调度员,司机直接联系调度员 ; 不选择,司机直接联系您', |             optionalHelp: '选择调度员,司机直接联系调度员 ; 不选择,司机直接联系您', | ||||||
|             asyncData: () => this.shipperSrv.getStaffList2() |             asyncData: () => this.shipperSrv.getStaffList2() | ||||||
|           } as SFSelectWidgetSchema |           } as SFSelectWidgetSchema | ||||||
|         } |         }, | ||||||
|       }, |       }, | ||||||
|       required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoName'] |       required: ['shipperAppUserId', 'enterpriseProjectId', 'enterpriseInfoName'] | ||||||
|     }; |     }; | ||||||
|     this.ui1 = { |     this.ui1 = { | ||||||
|       '*': { |       '*': { | ||||||
|         spanLabelFixed: 110, |         spanLabelFixed: 115, | ||||||
|         grid: { span: 12 } |         grid: { span: 12 } | ||||||
|       }, |       }, | ||||||
|       $enterpriseInfoName: { |       $enterpriseInfoName: { | ||||||
|         grid: { span: 24 } |         grid: { span: 12 } | ||||||
|  |       }, | ||||||
|  |       $shipperAppUserId: { | ||||||
|  |         grid: { span: 12 } | ||||||
|  |       }, | ||||||
|  |       $enterpriseProjectId: { | ||||||
|  |         grid: { span: 12 } | ||||||
|  |       }, | ||||||
|  |       $dispatchId: { | ||||||
|  |         grid: { span: 12 } | ||||||
|       } |       } | ||||||
|     }; |     }; | ||||||
|   } |   } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user