Browse Source

commit 解决bug

yu jie 4 years ago
parent
commit
d00361dfac

+ 1 - 0
public/proto/mtp.proto

@@ -1339,6 +1339,7 @@ message CustomerInfoOperateReq {
   optional uint64 districtid = 24; // uint64 县
   optional string ipaddress = 25; // string 详细地址
   optional string remark = 26; // string 备注
+  optional uint32 userstate = 27; // uint32 开户状态 1:保存草稿 2:提交审核
 }
 // 客户资料操作响应 0 29 188
 message CustomerInfoOperateRsp {

+ 1 - 0
src/services/go/ermcp/qhj/interface.ts

@@ -99,6 +99,7 @@ export interface QhjAccountOutInApply {
     bankaccountno: string;//银行卡号
     bankid: string;//银行编号
     bankticket: string;//银行流水
+    bankname: string; // 银行名称
     branchbankid: string;//银行支行号
     branchbankname: string;//银行支行名称
     capamountout: number;//出金(劣后本金) - 外部子账户

+ 1 - 0
src/services/proto/accountinfo/interface.ts

@@ -178,6 +178,7 @@ export interface CustomerInfoOperateReq {
     districtid: number // uint64 县
     ipaddress: string; // string 详细地址
     remark: string // string 备注
+    userstate: number // uint32 开户状态 1:保存草稿 2:提交审核
 }
 // 客户资料操作响应 0 29 188
 export interface CustomerInfoOperateRsp {

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

@@ -369,6 +369,7 @@ export default defineComponent({
                     taxpayernum: param.taxpayernum, // 纳税人识别号
                     email: param.email, // email
                     proxystatementurl: isPersonal() ? '' : getAttachmentImg(), // 营业执照
+                    userstate: 2
                 };
                 requestResultLoadingAndInfo(addCustomerInfoOperate, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {
                     cancel();

+ 3 - 1
src/views/platinum/platinum_customer_info/compoments/modify/index.vue

@@ -312,6 +312,7 @@ import { getUploadImg } from '@/common/setup/upload';
 import { CustomerInfoOperateReq } from '@/services/proto/accountinfo/interface';
 import { initData } from '@/common/methods';
 import { QhjCustomer } from '@/services/go/ermcp/qhj/interface';
+import {toBase64String} from "@/utils/storage/base64";
 
 export default defineComponent({
     name: 'modify-custom',
@@ -405,9 +406,10 @@ export default defineComponent({
                     legalpersonname: param.legalpersonname, // 法人姓名(企业)
                     taxpayernum: param.taxpayernum, // 纳税人识别号
                     email: param.email, // email
+                    userstate: 2
                 };
                 debugger;
-                requestResultLoadingAndInfo(addCustomerInfoOperate, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {
+                requestResultLoadingAndInfo(addCustomerInfoOperate, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['修改客户资料成功', '修改客户资料失败:']).then(() => {
                     cancel();
                     context.emit('refresh');
                 });