Browse Source

commit 提交

yu jie 4 years ago
parent
commit
b255b911f8

+ 21 - 0
src/common/constants/enumsName.ts

@@ -375,6 +375,27 @@ export function getOrderStatusName(type: number): string {
         case 16:
             result = "成交失败违约";
             break
+        case 17:
+            result = "冻结PD成功";
+            break
+        case 18:
+            result = "冻结PD失败";
+            break
+        case 19:
+            result = "冻结能量成功";
+            break
+        case 20:
+            result = "冻结能量失败";
+            break
+        case 21:
+            result = "预约已报价";
+            break
+        case 22:
+            result = "过期未付";
+            break
+        case 23:
+            result = "优惠券处理中";
+            break
     }
     return result
 }

+ 2 - 2
src/views/platinum/platinum_customer_info/compoments/add/index.vue

@@ -357,7 +357,7 @@ export default defineComponent({
                     remark: param.remark, // 备注
                     mobilephone: param.mobilephone, //  手机号码
                     telphone: param.telphone, // 电话
-                    cardfrontphotourl: isPersonal() ? getFrontImg() : '', // 正面照片
+                    cardfrontphotourl: isPersonal() ? getFrontImg() :  getAttachmentImg(), // 正面照片
                     cardbackphotourl: isPersonal() ? getBackImg() : '', // 背面证件照地址
                     ipaddress: param.ipaddress, // 证件地址
                     cityid: (param.cityid as number) !== undefined ? (param.cityid as number) : 0, //城市
@@ -368,7 +368,7 @@ export default defineComponent({
                     legalpersonname: param.legalpersonname, // 法人姓名(企业)
                     taxpayernum: param.taxpayernum, // 纳税人识别号
                     email: param.email, // email
-                    proxystatementurl: isPersonal() ? '' : getAttachmentImg(), // 营业执照
+                    proxystatementurl: '',
                     userstate: 2
                 };
                 requestResultLoadingAndInfo(addCustomerInfoOperate, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {

+ 1 - 1
src/views/platinum/platinum_customer_info/compoments/common-detail/index.vue

@@ -83,7 +83,7 @@ export default defineComponent({
                     { label: '法定代表人', value: formatValue(data.legalpersonname) },
                     { label: '证件号码', value: formatValue(data.cardnum) },
                     { label: '纳税人识别号', value: formatValue(data.taxpayernum) },
-                    { label: '营业执照', value: formatValue(getImgName(data.proxystatementurl)), className: 'blue' },
+                    { label: '营业执照', value: formatValue(getImgName(data.cardfrontphotourl)), className: 'blue' },
                     { label: '联系人', value: formatValue(data.contactname) },
                     { label: '联系人手机号', value: formatValue(data.mobile) },
                     { label: '联系电话', value: formatValue(data.telphone) },