From b5a575af5ebc771ff1a97bf83fe54236e258fb5d Mon Sep 17 00:00:00 2001
From: WF1020 <“wufan@brilliance.com.cn”>
Date: Sun, 25 Jun 2023 14:06:06 +0800
Subject: [PATCH] letame修改

---
 src/business/letame/event/index.js | 18 +++++++++---------
 src/business/letame/model/index.js |  4 +---
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/src/business/letame/event/index.js b/src/business/letame/event/index.js
index 0469077..fb6ab44 100644
--- a/src/business/letame/event/index.js
+++ b/src/business/letame/event/index.js
@@ -105,15 +105,15 @@ export default {
     // 业务信息=》基本信息=》保函编号-----获取保函编号
     async queryOwnref() {
       let params = {
-        ptainr: this.model.gidgrp.apl.pts.ptainr,
-        businessType: 'LG',
-        tbl: 'LG',
+        ptainr: this.model.ledgrp.apl.pts.ptainr,
+        businessType: 'LC',
+        tbl: 'LC',
       };
       const loading = this.loading();
       let res = await Api.post('/service/letame/getOwnRef', params);
       if (res.respCode == SUCCESS) {
         loading.close();
-        this.model.gidgrp.rec.ownref = res.data;
+        this.model.ledgrp.rec.ownref = res.data;
       }
     },
     // 获取letame弹框表格数据
@@ -137,7 +137,7 @@ export default {
       };
       let res = await Api.post('/service/ptspta/fetch', params);
       if (res.respCode == SUCCESS) {
-        this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
+        this.$set(this.model.ledgrp, row.role.toLowerCase(), res.data);
       }
     },
     // 业务信息=》基本信息=》支出目的
@@ -147,12 +147,12 @@ export default {
     // 初始化保函开立类型码表下拉列表
     async queryHndtypCodeTableList(trnName) {
       let params = {
-        gitp: {
-          swiftflg: this.model.gitp.swiftflg,
+        letp: {
+          swiftflg: this.model.letp.swiftflg,
         },
-        gidgrp: {
+        ledgrp: {
           rec: {
-            purpos: this.model.gidgrp.rec.purpos,
+            purpos: this.model.ledgrp.rec.purpos,
           },
         },
         transName: trnName.toUpperCase(),
diff --git a/src/business/letame/model/index.js b/src/business/letame/model/index.js
index cf824f1..1b2a584 100644
--- a/src/business/letame/model/index.js
+++ b/src/business/letame/model/index.js
@@ -3,9 +3,6 @@ import Pub from '~/components/business/commonModel/index.js';
 export default class Letame {
     constructor() {
         this.data = {
-          brtp:{
-            swiftflg:''
-          },
             number: '',
             oldledgrp: {
                 rec: {
@@ -29,6 +26,7 @@ export default class Letame {
                 }
             },
             letp: {
+              swiftflg:'',
                 usr: {
                     extkey: ''
                 },
--
libgit2 0.26.0