Ver código fonte

commit 客户资料提交

yu.jie 4 anos atrás
pai
commit
164f67abc3

+ 29 - 0
public/proto/mtp.proto

@@ -1362,3 +1362,32 @@ message AuditWskhUserInfoRsp {
  optional string RetDesc = 3; // string 描述信息
  optional uint64 UserID = 4; // uint64 用户ID
 }
+
+// 交易所审核结果通知请求
+message t2bExchConfirmBusinessReq {
+ optional MessageHead Header = 1;
+  required uint64 extoperatorid = 2; // 外部操作流水号
+  required string cusbankid = 3; // 托管银行编号
+  required string AccountCode = 4; // 资金账户(交易所的出入金,填0)
+  optional string exchid = 5; // 交易所编号
+  optional string tradedate = 6; // 交易日(被审业务发生的交易日)
+  required string exchticket = 7; // 交易所流水号(被审核的流水)
+  optional string bankticket = 8; // 中心流水号
+  required int32 businesstype = 9; // 交易类型[1:入金;2:出金;3:签约;4:解约;5:资金调拨;
+  required int32 businessconfirmstatus = 10; // 审核结果[1:通过;2:拒绝]
+  optional string retcode = 11; // 返回码
+  optional string retmsg = 12; // 返回结果说明
+  optional string remark = 13; // 备注
+  optional uint64 auditid = 14; // 审核人
+  optional string extend = 15; // 扩展信息(若这个字段存在,则会更新到出入金申请表的扩展字段)
+}
+
+// 交易所审核结果通知应答
+message t2bExchConfirmBusinessRsp {
+ optional MessageHead Header = 1; // 消息头
+ optional int32 RetCode = 2; // 返回码
+ optional string RetDesc = 3; // 描述信息
+  required uint64 ExtOperatorID = 4; // 外部操作流水号
+  required int32 Status = 5; // 状态(0成功,其他数值参考银行服务的错误码)
+  required string ExchTicket = 6; // 交易所流水号(操作流水,非被审核交易的流水)
+}

+ 8 - 5
src/services/funcode/index.ts

@@ -126,7 +126,7 @@ export const funCode: Code = {
     TaaccountOperateRsp: 1900701, ///      期货账户注销操作响应
     // 信息 - 账户管理 - 期货账户 - 授信
     TaaccountTransfersxmoneyReq: 1900702,   /// 期货账户授信
-    TaaccountTransfersxmoneyRsp: 1900703,   /// 期货账户授信操作响应
+    TaaccountTransfersxmoneyRsp: 1900703,   /// 期货账户授信操作响应np
 
     ManagerRoleOperateReq: 1900698,///     角色设置操作请求
     ManagerRoleOperateRsp: 1900699,///     角色设置操作响应
@@ -134,10 +134,13 @@ export const funCode: Code = {
     LoginaccountOperateReq: 1900704,   /// 登录账户操作请求
     LoginaccountOperateRsp: 1900705,   /// 登录账户操作响应
 
-    CustomerInfoOperateReq: 1900724, // 客户注册审核请求
-    CustomerInfoOperateRsp: 1900725, // 客户注册审核响应
+    AuditWskhUserInfoReq: 1900724, // 客户注册审核请求
+    AuditWskhUserInfoRsp: 1900725, // 客户注册审核响应
 
-    AuditWskhUserInfoReq: 1900731,  // 客户资料操作请求
-    AuditWskhUserInfoRsp: 1900732,  // 客户资料操作响应
+    CustomerInfoOperateReq: 1900731,  // 客户资料操作请求
+    CustomerInfoOperateRsp: 1900732,  // 客户资料操作响应
+
+    t2bExchConfirmBusinessReq: 589899,  // 交易所审核结果通知请求
+    t2bExchConfirmBusinessRsp: 589900,  // 交易所审核结果通知应答
 
 };

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

@@ -318,15 +318,16 @@ export default defineComponent({
         // 证件类型
         const cardTypeList = ref<AllEnums[]>(getCardType());
         // 表单
-        const { formRef, formState, rules } = handleForm();
+        const {formRef, formState, rules} = handleForm();
         // 地址
-        const { cityList, districtList, provinceList, getCityList, getDistrictList } = getAddress();
+        const {cityList, districtList, provinceList, getCityList, getDistrictList} = getAddress();
         // 营业执照
-        const { getFirstImg: getAttachmentImg, uploadImgAction: attachmentUpLoad } = getUploadImg();
+        const {getFirstImg: getAttachmentImg, uploadImgAction: attachmentUpLoad} = getUploadImg();
         // 背面证件照地址
-        const { getFirstImg: getBackImg, uploadImgAction: cardbackphotourlUpLoad } = getUploadImg();
+        const {getFirstImg: getBackImg, uploadImgAction: cardbackphotourlUpLoad} = getUploadImg();
         // 正面证件照地址
-        const { getFirstImg: getFrontImg, uploadImgAction: cardfrontphotourlUpLoad } = getUploadImg();
+        const {getFirstImg: getFrontImg, uploadImgAction: cardfrontphotourlUpLoad} = getUploadImg();
+
         //查询所属机构列表
         const { areaList, getAreaList } = handleAreaList();
         function isPersonal(): boolean {
@@ -355,22 +356,24 @@ export default defineComponent({
                     cardfrontphotourl: isPersonal() ? getFrontImg() : '', // 正面照片
                     cardbackphotourl: isPersonal() ? getBackImg() : '', // 背面证件照地址
                     ipaddress: param.ipaddress, // 证件地址
-                    cityid: param.cityid as number, //
-                    districtid: param.districtid as number, // 地区
+                    cityid: param.cityid as number !== undefined ? param.cityid as number : 0, //城市
+                    districtid: param.districtid as number !== undefined ? param.districtid as number : 0, // 地区
                     // countryid: param.,9
-                    provinceid: param.provinceid as number, //省
+                    provinceid: param.provinceid as number !== undefined ? param.provinceid as number : 0, //省
                     contactname: param.contactname, // 联系人
                     legalpersonname: param.legalpersonname, // 法人姓名(企业)
                     taxpayernum: param.taxpayernum, // 纳税人识别号
                     email: param.email, // email
                     proxystatementurl: isPersonal() ? '' : getAttachmentImg(), // 营业执照
                 };
+                debugger
                 requestResultLoadingAndInfo(addCustomerInfoOperate, reqParam, loading, OperateType === 1 ? ['保存草稿成功', '保存草稿失败:'] : ['新增客户资料成功', '新增客户资料失败:']).then(() => {
                     cancel();
                     context.emit('refresh');
                 });
             });
         }
+
         return {
             formState,
             rules,