Parcourir la source

移动端bug:移动端,普通用户进行供应商认证时,企业简介改为必填;
组织成员打开app,在移动端首页,点击某个优质供应商,进入详细信息页面后,需要展示优势产品、产品分类;
供应商用户在“我的”-“供应商信息”页面可以看到优势产品、产品分类;

single il y a 10 mois
Parent
commit
cd8c956305

+ 11 - 1
src/subpkg/home/editInfo.vue

@@ -70,13 +70,23 @@ export default {
                 },
                 {
                     type: "products",
-                    label: "优势产品",
+                    label: "产品",
                     code: "product",
                     sv: null,
                     rv: res.product ? res.product : [],
                     canShow: true,
                     canEdit: true,
                     required: false,
+                },				
+                {
+                    type: "input",
+                    label: "优势产品",
+                    code: "superiorProduct",
+                    sv: null,
+                    rv: res.superiorProduct ? res.superiorProduct : "",
+                    canShow: true,
+                    canEdit: true,
+                    required: false,
                 },
                 {
                     type: "images",

+ 12 - 0
src/subpkg/home/supplier-detail.vue

@@ -43,6 +43,18 @@
                     :border="false"
                     :cellStyle="{ padding: '15px' }"
                 ></uv-cell>
+				<uv-cell
+				    title="产品"
+				    :value="item.product"
+				    :border="false"
+				    :cellStyle="{ padding: '15px' }"
+				></uv-cell>
+				<uv-cell
+				    title="优势产品"
+				    :value="item.superiorProduct"
+				    :border="false"
+				    :cellStyle="{ padding: '15px' }"
+				></uv-cell>
                 <uv-cell title="营业执照" :border="false" :cellStyle="{ padding: '15px' }">
                     <uv-album
                         v-if="item.businessLicense"

+ 1 - 1
src/subpkg/setting/constant.js

@@ -107,7 +107,7 @@ export const authenticationFormList = [
         rv: null,
         canShow: true,
         canEdit: true,
-        required: false,
+        required: true,
     },
     {
         type: "products",