|
@@ -4,35 +4,17 @@
|
|
|
<nz-form-label nzRequired [nzSm]="3" [nzXs]="24">{{ 'customer.code' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.code"
|
|
|
- name="code"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- placeholder="{{ 'automatic.generated' | translate }}"
|
|
|
- />
|
|
|
+ {{ customer.code }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label nzRequired [nzSm]="3" [nzXs]="24">{{ 'customer.name' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.name"
|
|
|
- name="name"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- placeholder="{{ 'placeholder' | translate }}{{ 'customer.name' | translate }}"
|
|
|
- />
|
|
|
+ {{ customer.name }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.shortName' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.shortName"
|
|
|
- name="shortName"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- placeholder="{{ 'placeholder' | translate }}{{ 'customer.shortName' | translate }}"
|
|
|
- />
|
|
|
+ {{ customer.shortName }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -40,17 +22,17 @@
|
|
|
<nz-form-label nzRequired [nzSm]="3" [nzXs]="24">{{ 'customer.abbreviation' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.abbreviation" maxlength="3" [disabled]="true" name="abbreviation" nz-input />
|
|
|
+ {{ customer.abbreviation }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.contacts.name' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [disabled]="true" name="contacts" nz-input [(ngModel)]="customer.contacts" />
|
|
|
+ {{ customer.contacts }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.contacts.telephone' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [disabled]="true" name="telephone" nz-input [(ngModel)]="customer.telephone" />
|
|
|
+ {{ customer.telephone }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -58,17 +40,17 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.contacts.mail' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [disabled]="true" name="email" nz-input [(ngModel)]="customer.email" />
|
|
|
+ {{ customer.email }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.company.address' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.address" name="address" nz-input [disabled]="true" />
|
|
|
+ {{ customer.address }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.company.phone' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.phone" name="phone" nz-input [disabled]="true" />
|
|
|
+ {{ customer.phone }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -76,17 +58,17 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.tax.no' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.taxNo" name="taxNo" nz-input [disabled]="true" />
|
|
|
+ {{ customer.taxNo }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.account.bank' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.bank" name="bank" nz-input [disabled]="true" />
|
|
|
+ {{ customer.bank }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.account.number' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.account" name="account" nz-input [disabled]="true" />
|
|
|
+ {{ customer.account }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -109,48 +91,25 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.credit.grade' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.creditGrade" name="code" nz-input [disabled]="true" />
|
|
|
-
|
|
|
- nzShowSearch
|
|
|
- nzAllowClear
|
|
|
- nzPlaceHolder="{{ 'select.please.choose' | translate }}"
|
|
|
- [nzDisabled]="true"
|
|
|
- [(ngModel)]="customer.creditGrade"
|
|
|
- name="creditGrade"
|
|
|
- > -->
|
|
|
-
|
|
|
- *ngIf="customer.creditGrade == ''"
|
|
|
- nzLabel="{{ 'select.please.choose' | translate }}"
|
|
|
- nzValue=""
|
|
|
- selected="selected">
|
|
|
- </nz-option> -->
|
|
|
-
|
|
|
- <nz-option nzLabel="{{de.name}}" nzValue="{{de.id}}"></nz-option>
|
|
|
- </ng-container> -->
|
|
|
-
|
|
|
- <nz-option nzLabel="B" nzValue="2"></nz-option>
|
|
|
- <nz-option nzLabel="C" nzValue="3"></nz-option>
|
|
|
- <nz-option nzLabel="D" nzValue="4"></nz-option> -->
|
|
|
-
|
|
|
+ {{ customer.creditGrade }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.credit.period' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <nz-input-number [nzDisabled]="true" [(ngModel)]="customer.creditPeriod" name="creditPeriod" nzMin="1">
|
|
|
- </nz-input-number>
|
|
|
+ {{ customer.creditPeriod }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
<nz-form-item>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.zipCode' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [disabled]="true" [(ngModel)]="customer.zipCode" name="zipCode" nz-input />
|
|
|
+ {{ customer.zipCode }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.Postal.address' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [disabled]="true" [(ngModel)]="customer.postalAddress" name="postalAddress" nz-input />
|
|
|
+ {{ customer.postalAddress }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -158,12 +117,7 @@
|
|
|
>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.customerClassificationDictName"
|
|
|
- name="customerClassificationDictName"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.customerClassificationDictName }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -172,7 +126,7 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'customer.source' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.customerSourceDictName" name="customerSourceDictName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.customerSourceDictName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -180,18 +134,13 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.cobaseCustomerIndustryNamede"
|
|
|
- name="baseCustomerIndustryName"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.baseCustomerIndustryName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'sales.status' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.baseSalesStatusName" name="baseSalesStatusName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.baseSalesStatusName }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -202,11 +151,15 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <nz-radio-group [(ngModel)]="customer.customerAttribute" name="customerAttribute">
|
|
|
- <label nz-radio nzValue="1">{{ 'customer' | translate }}</label>
|
|
|
- <label nz-radio nzValue="2">{{ 'supplier' | translate }}</label>
|
|
|
- <label nz-radio nzValue="3"> {{ 'customer' | translate }}、{{ 'supplier' | translate }} </label>
|
|
|
- </nz-radio-group>
|
|
|
+ <span *ngIf="customer.customerAttribute == 1">
|
|
|
+ {{ 'customer' | translate }}
|
|
|
+ </span>
|
|
|
+ <span *ngIf="customer.customerAttribute == 2">
|
|
|
+ {{ 'supplier' | translate }}
|
|
|
+ </span>
|
|
|
+ <span *ngIf="customer.customerAttribute == 3">
|
|
|
+ {{ 'customer' | translate }}、{{ 'supplier' | translate }}
|
|
|
+ </span>
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -214,24 +167,14 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.customerGroupingDictName"
|
|
|
- name="customerGroupingDictName"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.customerGroupingDictName }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
|
{{ 'business.affairs' | translate }}{{ 'relation' | translate }}
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.businessRelationsDictName"
|
|
|
- name="businessRelationsDictName"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.businessRelationsDictName }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -242,22 +185,14 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <nz-input-group nzSearch [nzAddOnAfter]="suffixIconButton">
|
|
|
- <input [(ngModel)]="customer.parentName" name="parentName" nz-input [disabled]="true" />
|
|
|
- </nz-input-group>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <i nz-icon type="search"></i>
|
|
|
- </button>
|
|
|
- </ng-template> -->
|
|
|
+ {{ customer.parentName }}
|
|
|
</nz-form-control>
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
|
{{ 'use.status' | translate }}
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.useStatusDictName" name="useStatusDictName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.useStatusDictName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -265,7 +200,7 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.sleepTypeDictName" name="sleepTypeDictName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.sleepTypeDictName }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -274,7 +209,7 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'unit' | translate }}{{ 'web.address' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.companyWebsite" name="companyWebsite" nz-input [disabled]="true" />
|
|
|
+ {{ customer.companyWebsite }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -282,13 +217,13 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.companyEstablishDate" name="companyEstablishDate" nz-input [disabled]="true" />
|
|
|
+ {{ customer.companyEstablishDate }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24"> {{ 'unit' | translate }}{{ 'size' | translate }} </nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.unitSizeDictName" name="unitSizeDictName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.unitSizeDictName }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -297,7 +232,7 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24"> {{ 'personnel' | translate }}{{ 'size' | translate }} </nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.personnelSizeDictName" name="personnelSizeDictName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.personnelSizeDictName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -305,18 +240,13 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.registeredCapitalDictName"
|
|
|
- name="registeredCapitalDictName"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.registeredCapitalDictName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24"> {{ 'annual.turnover' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.annualTurnover" name="annualTurnover" nz-input [disabled]="true" />
|
|
|
+ {{ customer.annualTurnover }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -325,12 +255,7 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24"> {{ 'customer' | translate }}{{ 'relation' | translate }} </nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.customerRelationshipDictName"
|
|
|
- name="customerRelationshipDictName"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.customerRelationshipDictName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -338,7 +263,7 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.valueLevelDictName" name="valueLevelDictName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.valueLevelDictName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -346,7 +271,7 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.salesmanName" name="salesmanName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.salesmanName }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -355,24 +280,19 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'billing.unit.name' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.billingUnitName" name="billingUnitName" nz-input [disabled]="true" />
|
|
|
+ {{ customer.billingUnitName }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'taxpayer.identification.Num' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.taxpayerIdentificationNumber"
|
|
|
- name="taxpayerIdentificationNumber"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.taxpayerIdentificationNumber }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'billing.address' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.billingAddress" name="billingAddress" nz-input [disabled]="true" />
|
|
|
+ {{ customer.billingAddress }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -381,13 +301,13 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'billing.telephone' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.billingTelephone" name="billingTelephone" nz-input [disabled]="true" />
|
|
|
+ {{ customer.billingTelephone }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'billing.bank' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.billingBank" name="billingBank" nz-input [disabled]="true" />
|
|
|
+ {{ customer.billingBank }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">
|
|
@@ -395,12 +315,7 @@
|
|
|
</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input
|
|
|
- [(ngModel)]="customer.billingBankAccountNumber"
|
|
|
- name="billingBankAccountNumber"
|
|
|
- nz-input
|
|
|
- [disabled]="true"
|
|
|
- />
|
|
|
+ {{ customer.billingBankAccountNumber }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|
|
@@ -409,13 +324,13 @@
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24">{{ 'development' | translate }}{{ 'personnel' | translate }}</nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.developer" name="developer" nz-input [disabled]="true" />
|
|
|
+ {{ customer.developer }}
|
|
|
</nz-form-control>
|
|
|
|
|
|
<nz-form-label [nzSm]="3" [nzXs]="24"> {{ 'development' | translate }}{{ 'date' | translate }} </nz-form-label>
|
|
|
|
|
|
<nz-form-control [nzSm]="4" [nzXs]="24">
|
|
|
- <input [(ngModel)]="customer.developmentDate" name="developmentDate" nz-input [disabled]="true" />
|
|
|
+ {{ customer.developmentDate }}
|
|
|
</nz-form-control>
|
|
|
</nz-form-item>
|
|
|
|