|
|
|
@ -111,7 +111,7 @@ |
|
|
|
|
<td>{{ data.updateTime | date: 'yyyy-MM-dd HH:mm'}}</td> |
|
|
|
|
<td>{{data.status | goodsStatus}}</td> |
|
|
|
|
<td> |
|
|
|
|
<a *ngIf="data.status == 2" (click)="showEdit(data)">修改</a> |
|
|
|
|
<a (click)="showEdit(data)">修改</a> |
|
|
|
|
<nz-divider nzType="vertical"></nz-divider> |
|
|
|
|
<a nz-dropdown [nzDropdownMenu]="menu"> |
|
|
|
|
更多 |
|
|
|
@ -174,13 +174,13 @@ |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item > |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24">商品标签</nz-form-label> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzTooltipTitle="商品标签请以英文,隔开,展示在价格下方,例如:箱规:1*5盒/箱,外箱尺寸:80*45.5*29cm" >商品标签</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入商品标签!"> |
|
|
|
|
<input nzSize="large" nz-input formControlName="goodsLabel" placeholder="请输入" /> |
|
|
|
|
<input nzSize="large" nz-input formControlName="goodsLabel" placeholder="请输入" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item > |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24">商品说明</nz-form-label> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzTooltipTitle="商品标签请以英文,隔开,展示在规格下方,例如:24小时发货,极速退款" >商品说明</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入商品说明!"> |
|
|
|
|
<input nzSize="large" nz-input formControlName="goodsExplain" placeholder="请输入" /> |
|
|
|
|
</nz-form-control> |
|
|
|
@ -295,7 +295,8 @@ |
|
|
|
|
<!-- <th rowspan="2">限购(个)</th>--> |
|
|
|
|
<th rowspan="2">库存(个)</th> |
|
|
|
|
<th colspan="2">时间</th> |
|
|
|
|
<th colspan="7" *ngIf="goodsMsg?.type == 2">虚拟产品</th> |
|
|
|
|
<th colspan="4" *ngIf="goodsMsg?.type == 2">虚拟产品</th> |
|
|
|
|
<th colspan="3" >跳转信息</th> |
|
|
|
|
<th *ngIf="goodsMsg?.status == 2" rowspan="2" nzRight>操作</th> |
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
@ -307,9 +308,9 @@ |
|
|
|
|
<th *ngIf="goodsMsg?.type == 2" rowspan="1">归库天数</th> |
|
|
|
|
<th *ngIf="goodsMsg?.type == 2" rowspan="1">类型</th> |
|
|
|
|
<th *ngIf="goodsMsg?.type == 2" rowspan="1">产品来源</th> |
|
|
|
|
<th *ngIf="goodsMsg?.type == 2" rowspan="1">跳转类型</th> |
|
|
|
|
<th *ngIf="goodsMsg?.type == 2" rowspan="1">跳转地址</th> |
|
|
|
|
<th *ngIf="goodsMsg?.type == 2" rowspan="1">应用ID</th> |
|
|
|
|
<th rowspan="1">跳转类型</th> |
|
|
|
|
<th rowspan="1">跳转地址</th> |
|
|
|
|
<th rowspan="1">应用ID</th> |
|
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
</thead> |
|
|
|
@ -333,9 +334,9 @@ |
|
|
|
|
<td *ngIf="goodsMsg?.type == 2">{{data.validDay}}</td> |
|
|
|
|
<td *ngIf="goodsMsg?.type == 2">{{data.type == 1 ? '内部虚拟商品' : '外部虚拟产品'}}</td> |
|
|
|
|
<td *ngIf="goodsMsg?.type == 2">{{data.source | dictionary: 'GOODS_VPD_SOURCE'}}</td> |
|
|
|
|
<td *ngIf="goodsMsg?.type == 2">{{data.jumpType == 1 ? '小程序' : 'H5'}}</td> |
|
|
|
|
<td *ngIf="goodsMsg?.type == 2">{{data.jumpUrl}}</td> |
|
|
|
|
<td *ngIf="goodsMsg?.type == 2">{{data.appid}}</td> |
|
|
|
|
<td>{{data.jumpType == 1 ? '小程序' : 'H5'}}</td> |
|
|
|
|
<td>{{data.jumpUrl}}</td> |
|
|
|
|
<td>{{data.appid}}</td> |
|
|
|
|
|
|
|
|
|
<td *ngIf="goodsMsg?.status == 2" nzRight> |
|
|
|
|
<a (click)="showEditSpecs(data)">修改</a> |
|
|
|
@ -415,28 +416,35 @@ |
|
|
|
|
<nz-form-item *ngIf="goodsMsg?.type == 2"> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>类型</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请选择类型!"> |
|
|
|
|
<nz-select nzSize="large" nzShowSearch nzAllowClear nzPlaceHolder="请选择" formControlName="type" (ngModelChange)="typeChange($event)"> |
|
|
|
|
<nz-select nzSize="large" nzShowSearch nzAllowClear nzPlaceHolder="请选择" formControlName="type" > |
|
|
|
|
<nz-option nzLabel="内部虚拟商品" nzValue="1"></nz-option> |
|
|
|
|
<nz-option nzLabel="外部虚拟产品" nzValue="2"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
|
|
|
|
|
<nz-form-item *ngIf="editSpecsForm.value.type == 2"> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24">卡密</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<input nzSize="large" nz-input formControlName="key" placeholder="请输入" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item *ngIf="editSpecsForm.value.type == 2"> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>跳转类型</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请选择跳转类型!"> |
|
|
|
|
<nz-form-item *ngIf="goodsMsg?.type == 1"> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" >按钮名称</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<input nzSize="large" nz-input formControlName="btnName" placeholder="请输入" /> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item > |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24">跳转类型</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24"> |
|
|
|
|
<nz-select nzSize="large" nzShowSearch nzAllowClear nzPlaceHolder="请选择" formControlName="jumpType" (ngModelChange)="jumpTypeChange($event)"> |
|
|
|
|
<nz-option nzLabel="小程序" nzValue="1"></nz-option> |
|
|
|
|
<nz-option nzLabel="H5" nzValue="2"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
|
<nz-form-item *ngIf="editSpecsForm.value.type == 2"> |
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-label [nzSm]="6" [nzXs]="24" >跳转地址</nz-form-label> |
|
|
|
|
<nz-form-control [nzSm]="14" [nzXs]="24" > |
|
|
|
|
<input nzSize="large" nz-input formControlName="jumpUrl" placeholder="请输入" /> |
|
|
|
|