From 7b003ac83f5346c578b74c58c56e223a04571713 Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Tue, 14 May 2024 17:43:18 +0800 Subject: [PATCH] edit --- src/views/merchant/application/merInfo.vue | 4 +- .../merchant/list/handle/merEditForm.vue | 4 +- src/views/merchant/list/handle/merInfo.vue | 4 +- src/views/merchant/list/index.vue | 50 +++++++++++-------- src/views/product/productExamine/index.vue | 18 +++---- src/views/product/productExamine/info.vue | 34 +++++++------ .../product/productExamine/proDetails.vue | 10 ++-- src/views/user/list/userDetails.vue | 4 +- 8 files changed, 73 insertions(+), 55 deletions(-) diff --git a/src/views/merchant/application/merInfo.vue b/src/views/merchant/application/merInfo.vue index a5eeb9f..0dde55d 100644 --- a/src/views/merchant/application/merInfo.vue +++ b/src/views/merchant/application/merInfo.vue @@ -110,12 +110,12 @@ --> -
  • + 商户类型:
    {{merData.is_trader == 1 ? "自营" : "非自营"}}
  • -
  • +
  • 是否为军人:
    {{merData.is_soldier == 1 ? "是" : "否"}}
    diff --git a/src/views/merchant/list/index.vue b/src/views/merchant/list/index.vue index bfb8a96..fc0857a 100644 --- a/src/views/merchant/list/index.vue +++ b/src/views/merchant/list/index.vue @@ -33,7 +33,7 @@ - + - + - + - + - + - + - + - - + + diff --git a/src/views/product/productExamine/info.vue b/src/views/product/productExamine/info.vue index d69a2e5..a66ff2e 100644 --- a/src/views/product/productExamine/info.vue +++ b/src/views/product/productExamine/info.vue @@ -10,7 +10,7 @@ :before-close="handleClose" class="projectInfo" > -
    +
    店铺名称:{{ projectData.merchant && projectData.merchant.mer_name @@ -47,7 +47,7 @@ >上传拒绝原因:{{ projectData.refusal }}
    -
    +
    商品id:{{ projectData.product_id }} 商品名称:{{ projectData.store_name }} 商品简介:{{ projectData.store_info }} 商品备注:{{ projectData.remark }} - 是否惠美乡村:{{ projectData.is_huimei ? "是" : "否" }} + > --> 商品封面图:
    @@ -962,17 +962,21 @@ export default { }; this.$refs.ruleForm.validate((valid) => { if (valid) { - this.isShow - ? (this.ruleForm.id = this.proId) - : (this.ruleForm.id = this.ids); - let params = { - ...this.ruleForm, - status: - this.ruleForm.status == -1 - ? -1 - : mode[this.projectData.status].status, - }; - mode[this.projectData.status] + let params = {}; + if(this.isShow){ + params = { + ...this.ruleForm, + id:this.proId, + status:this.ruleForm.status == -1? -1: mode[this.projectData.status].status, + }; + }else{ + params = { + ...this.ruleForm, + id:this.ids, + status:this.ruleForm.status == -1? -1:1 + }; + } + mode[this.isShow?this.projectData.status:11] .api(params) .then((res) => { this.$message.success(res.message); diff --git a/src/views/product/productExamine/proDetails.vue b/src/views/product/productExamine/proDetails.vue index 704e953..88c27fc 100644 --- a/src/views/product/productExamine/proDetails.vue +++ b/src/views/product/productExamine/proDetails.vue @@ -713,7 +713,7 @@
    • -
      商户名称:
      +
      店铺名称:
      {{ productData.merchant.mer_name }}
    • @@ -728,6 +728,10 @@
      店铺类型:
      {{ productData.merchant.type_name }}
    • +
    • +
      企业名称:
      +
      {{productData.merchant && productData.merchant.ext.com &&productData.merchant.ext.com.name}}
      +
    @@ -827,12 +831,12 @@
    • -
      审核拒绝原因:
      +
      {{productData.status==0?'锁定原因':'审核拒绝原因'}}:
      {{ productData.refusal || "" }}
    • -
    • +
    • 佐证图片:
      铸源星余额
    {{psInfo.integral}}
  • -
  • +