袁野 6 months ago
parent 18c1f83b3c
commit 35e9efb839
  1. 4
      src/app/pages/audit/audit-list/audit-list.component.html
  2. 8
      src/app/pages/goods/goods-list/goods-list.component.html
  3. 5
      src/app/pages/goods/goods-list/goods-list.component.ts
  4. 6
      src/app/pages/marketing/coupon-discount-list/coupon-discount-list.component.html
  5. 8
      src/environments/environment.prod.ts
  6. 8
      src/environments/environment.ts

@ -131,7 +131,7 @@
<th nzLeft rowspan="2">规格名称</th> <th nzLeft rowspan="2">规格名称</th>
<th colspan="2">价格(RMB)</th> <th colspan="2">价格(RMB)</th>
<th rowspan="2">图片</th> <th rowspan="2">图片</th>
<th rowspan="2">限购(个)</th> <!-- <th rowspan="2">限购(个)</th>-->
<th rowspan="2">库存(个)</th> <th rowspan="2">库存(个)</th>
<th colspan="2">时间</th> <th colspan="2">时间</th>
<th colspan="7" *ngIf="auditDetail['goodsModel']?.type == 2">虚拟产品</th> <th colspan="7" *ngIf="auditDetail['goodsModel']?.type == 2">虚拟产品</th>
@ -163,7 +163,7 @@
<td> <td>
<img nz-image width="60px" height="60px" nzSrc="{{imageUrl + data.showImg }}" [nzFallback]="fallbackImg" alt="" /> <img nz-image width="60px" height="60px" nzSrc="{{imageUrl + data.showImg }}" [nzFallback]="fallbackImg" alt="" />
</td> </td>
<td>{{data.purLimit}}</td> <!-- <td>{{data.purLimit}}</td>-->
<td>{{data.stock}}</td> <td>{{data.stock}}</td>
<td>{{ data.salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{ data.salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td>
<td>{{ data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{ data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td>

@ -274,7 +274,7 @@
<th nzLeft rowspan="2">规格名称</th> <th nzLeft rowspan="2">规格名称</th>
<th colspan="2">价格(RMB)</th> <th colspan="2">价格(RMB)</th>
<th rowspan="2">图片</th> <th rowspan="2">图片</th>
<th rowspan="2">限购(个)</th> <!-- <th rowspan="2">限购(个)</th>-->
<th rowspan="2">库存(个)</th> <th rowspan="2">库存(个)</th>
<th colspan="2">时间</th> <th colspan="2">时间</th>
<th colspan="7" *ngIf="goodsMsg?.type == 2">虚拟产品</th> <th colspan="7" *ngIf="goodsMsg?.type == 2">虚拟产品</th>
@ -307,7 +307,7 @@
<td> <td>
<img nz-image width="60px" height="60px" nzSrc="{{imageUrl + data.showImg }}" [nzFallback]="fallbackImg" alt="" /> <img nz-image width="60px" height="60px" nzSrc="{{imageUrl + data.showImg }}" [nzFallback]="fallbackImg" alt="" />
</td> </td>
<td>{{data.purLimit}}</td> <!-- <td>{{data.purLimit}}</td>-->
<td>{{data.stock}}</td> <td>{{data.stock}}</td>
<td>{{ data.salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{ data.salesEndTime | date: 'yyyy-MM-dd HH:mm'}}</td>
<td>{{ data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td> <td>{{ data.createTime | date: 'yyyy-MM-dd HH:mm'}}</td>
@ -419,8 +419,8 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
<nz-form-item *ngIf="editSpecsForm.value.type == 2"> <nz-form-item *ngIf="editSpecsForm.value.type == 2">
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>跳转地址</nz-form-label> <nz-form-label [nzSm]="6" [nzXs]="24" >跳转地址</nz-form-label>
<nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入跳转地址!"> <nz-form-control [nzSm]="14" [nzXs]="24" >
<input nzSize="large" nz-input formControlName="jumpUrl" placeholder="请输入" /> <input nzSize="large" nz-input formControlName="jumpUrl" placeholder="请输入" />
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>

@ -427,18 +427,13 @@ export class GoodsListComponent {
this.editSpecsForm.controls['jumpType'].clearValidators(); this.editSpecsForm.controls['jumpType'].clearValidators();
this.editSpecsForm.controls['jumpType'].markAsPristine(); this.editSpecsForm.controls['jumpType'].markAsPristine();
this.editSpecsForm.controls['jumpUrl'].clearValidators();
this.editSpecsForm.controls['jumpUrl'].markAsPristine();
} else { } else {
this.editSpecsForm.controls['jumpType'].setValidators(Validators.required); this.editSpecsForm.controls['jumpType'].setValidators(Validators.required);
this.editSpecsForm.controls['jumpType'].markAsDirty(); this.editSpecsForm.controls['jumpType'].markAsDirty();
this.editSpecsForm.controls['jumpUrl'].setValidators(Validators.required);
this.editSpecsForm.controls['jumpUrl'].markAsDirty();
} }
this.editSpecsForm.controls['jumpUrl'].updateValueAndValidity();
this.editSpecsForm.controls['jumpType'].updateValueAndValidity(); this.editSpecsForm.controls['jumpType'].updateValueAndValidity();
} }

@ -101,7 +101,7 @@
</ng-container> </ng-container>
</nz-modal> </nz-modal>
<nz-modal [nzWidth]="1200" [(nzVisible)]="isVisibleDetail" nzTitle="绑定商品" (nzOnCancel)="isVisibleDetail= false" (nzOnOk)="isVisibleDetail= false" > <nz-modal [nzWidth]="1200" [(nzVisible)]="isVisibleDetail" nzTitle="绑定优惠券" (nzOnCancel)="isVisibleDetail= false" (nzOnOk)="isVisibleDetail= false" >
<!--列表--> <!--列表-->
<ng-container *nzModalContent> <ng-container *nzModalContent>
<button nz-button (click)="showEditDetail()" nzType="primary">创建</button> <button nz-button (click)="showEditDetail()" nzType="primary">创建</button>
@ -143,8 +143,8 @@
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>
<nz-form-item > <nz-form-item >
<nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>数量</nz-form-label> <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired>赠送数量</nz-form-label>
<nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入数量!"> <nz-form-control [nzSm]="14" [nzXs]="24" nzErrorTip="请输入赠送数量 !">
<nz-input-number style="width: 100%" formControlName="num" [nzSize]="'large'" [nzMin]="1" [nzMax]="99999" [nzStep]="1" ></nz-input-number> <nz-input-number style="width: 100%" formControlName="num" [nzSize]="'large'" [nzMin]="1" [nzMax]="99999" [nzStep]="1" ></nz-input-number>
</nz-form-control> </nz-form-control>
</nz-form-item> </nz-form-item>

@ -1,7 +1,7 @@
export const environment = { export const environment = {
production: true, production: true,
baseUrl: 'https://hsg.dctpay.com/brest/', // 正式环境服务器地址(请求数据地址) baseUrl: 'https://phg.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
orderUrl: 'https://hsg.dctpay.com/order/', // 测试环境服务器地址(请求数据地址) orderUrl: 'https://phg.dctpay.com/order/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://hsg.dctpay.com/filesystem/', userUrl: 'https://phg.dctpay.com/user/', // 测试环境服务器地址(请求数据地址)
userUrl: 'https://hsg.dctpay.com/User/', imageUrl: 'https://phg.obs.cn-southwest-2.myhuaweicloud.com/',
}; };

@ -4,10 +4,10 @@
export const environment = { export const environment = {
production: false, production: false,
baseUrl: 'https://phgcs.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址) baseUrl: 'https://phg.dctpay.com/brest/', // 测试环境服务器地址(请求数据地址)
orderUrl: 'https://phgcs.dctpay.com/order/', // 测试环境服务器地址(请求数据地址) orderUrl: 'https://phg.dctpay.com/order/', // 测试环境服务器地址(请求数据地址)
userUrl: 'https://phgcs.dctpay.com/user/', // 测试环境服务器地址(请求数据地址) userUrl: 'https://phg.dctpay.com/user/', // 测试环境服务器地址(请求数据地址)
imageUrl: 'https://phg-test.obs.cn-southwest-2.myhuaweicloud.com/', imageUrl: 'https://phg.obs.cn-southwest-2.myhuaweicloud.com/',
// baseUrl: 'http://localhost:9702/brest/', // 测试环境服务器地址(请求数据地址) // baseUrl: 'http://localhost:9702/brest/', // 测试环境服务器地址(请求数据地址)
// orderUrl: 'http://localhost:9703/order/', // 测试环境服务器地址(请求数据地址) // orderUrl: 'http://localhost:9703/order/', // 测试环境服务器地址(请求数据地址)
// userUrl: 'http://localhost:9704/user/', // 测试环境服务器地址(请求数据地址) // userUrl: 'http://localhost:9704/user/', // 测试环境服务器地址(请求数据地址)

Loading…
Cancel
Save