Setpan.vue 53.3 KB
Newer Older
潘际乾 committed
1 2 3
<template>
    <c-row class="eibs-tab">
        <!-- ====================顶部==================== -->
liuxin committed
4
        <c-col :span="6" style="margin-left:9px">
liushikai committed
5
            <el-form-item label="参考号" label-width="50px">
wangyanjiao committed
6 7
                <c-input v-model="model.setmod.ref" maxlength="16" :readonly="true" placeholder="请输入our reference">
                </c-input>
潘际乾 committed
8 9 10 11
            </el-form-item>
        </c-col>
        <c-col :span="4">
            <el-form-item label="结算金额" label-width="100px">
wangyanjiao committed
12
                <c-input v-model="model.setmod.doccur" style="width: 100%" placeholder="CNY" :readonly="true"></c-input>
潘际乾 committed
13 14 15
            </el-form-item>
        </c-col>

liushikai committed
16 17
        <c-col :span="6">
            <el-form-item label="" label-width="7px">
wangyanjiao committed
18
                <c-input v-model="model.setmod.docamt" :readonly="true" placeholder="请输入document amount"></c-input>
潘际乾 committed
19 20 21
            </el-form-item>
        </c-col>

liushikai committed
22
        <c-col :span="5">
潘际乾 committed
23
            <el-form-item label="类型" label-width="100px">
wangyanjiao committed
24 25 26
                <c-select v-model="model.setmod.dspflg" disabled style="width: 100%"
                    placeholder="请选择Type of settlement">
                    <el-option v-for="item in codes.dspflg" :key="item.value" :label="item.label" :value="item.value">
潘际乾 committed
27 28 29 30
                    </el-option>
                </c-select>
            </el-form-item>
        </c-col>
liushikai committed
31 32
        <c-col :span="2" style="text-align:right">
            <!-- <el-form-item label="" label-width="20px"> -->
wangyanjiao committed
33 34 35
            <c-button style="margin-right:10px" size="small" type="primary" @click="onSetmodDet">
                详情
            </c-button>
liushikai committed
36 37
            <!-- </el-form-item> -->
        </c-col>
潘际乾 committed
38 39 40 41 42 43 44 45 46 47 48

        <!--
        <c-col :span="12">
        <el-form-item label="自贸区账号">
            <c-input  v-model="model.setmod.zmqacc" maxlength="20"  placeholder="请输入自贸区账号"></c-input>
        </el-form-item>
       </c-col>    
       <c-col :span="6" style="text-align:center">
	    <c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
       </c-col> 
       -->
liuxin committed
49
       <c-col :span="23" style="margin-left:9px;height:25px">
liushikai committed
50 51
           <el-divider></el-divider>
       </c-col>
liuxin committed
52
        <!-- ==============第一个表格===================== -->
潘际乾 committed
53

liuxin committed
54
        <c-col :span="23" style="height:24px;margin-left:9px">
wangyanjiao committed
55
            <el-form-item class="formItemLabel" label="Foreign Commission/Charges:" label-width="300px">
潘际乾 committed
56 57
            </el-form-item>
        </c-col>
wangyanjiao committed
58

liuxin committed
59
        <c-col :span="23" style="margin-left:9px">
wangyanjiao committed
60 61
            <c-table style="text-align: center" :list="model.setmod.setfog.setfol" :paginationShow="false"
                :border="true">
liushikai committed
62
                <el-table-column label="Payer" prop="ptydbt" width="101px">
潘际乾 committed
63
                    <template slot-scope="scope">
64 65
                        <c-select v-model="scope.row.ptydbt" @change="defaultFunction()">
                            <el-option v-for="item in codes.ptydbt_setpan" :key="item.value" :label="item.value"
wangyanjiao committed
66 67 68
                                :value="item.value">
                                <span style="float: left">{{ item.label }}</span>
                            </el-option>
69
                        </c-select>
潘际乾 committed
70 71
                    </template>
                </el-table-column>
liushikai committed
72
                <el-table-column label="Payee" width="101px">
潘际乾 committed
73
                    <template slot-scope="scope">
74 75
                        <c-select v-model="scope.row.ptypay" @change="defaultFunction()">
                            <el-option v-for="item in codes.ptydbt_setpan" :key="item.value" :label="item.value"
wangyanjiao committed
76 77
                                :value="item.value">
                                <span style="float: left">{{ item.label }}</span>
潘际乾 committed
78
                            </el-option>
79
                        </c-select>
潘际乾 committed
80 81
                    </template>
                </el-table-column>
liushikai committed
82
                <el-table-column label="Source" prop="src" width="70px">
潘际乾 committed
83
                </el-table-column>
liushikai committed
84
                <el-table-column label="Disp" prop="dsp" width="76px">
潘际乾 committed
85
                </el-table-column>
wangyanjiao committed
86
                <el-table-column label="Text for Payer" prop="txtdbt" width="auto">
潘际乾 committed
87
                </el-table-column>
wangyanjiao committed
88
                <el-table-column label="Text for Payee" prop="txtpay" width="auto">
潘际乾 committed
89
                </el-table-column>
liushikai committed
90
                <el-table-column label="Currency" prop="cur" width="93px">
潘际乾 committed
91
                    <template slot-scope="scope">
92
                        <c-select v-model="scope.row.cur">
wangyanjiao committed
93 94
                            <el-option v-for="item in codes.cur" :key="item.value" :label="item.label"
                                :value="item.value">
潘际乾 committed
95
                            </el-option>
96
                        </c-select>
潘际乾 committed
97 98
                    </template>
                </el-table-column>
liushikai committed
99
                <el-table-column label="Amount" prop="amt" width="150px">
潘际乾 committed
100
                </el-table-column>
liushikai committed
101
                <el-table-column label="" prop="det" width="80px" fixed="right">
潘际乾 committed
102
                    <template slot-scope="scope" slot="header">
103
                        <c-button
liushikai committed
104 105 106
                            circle
                            style="padding:4px"
                            class="el-icon-plus"
潘际乾 committed
107
                            size="mini"
liuxin committed
108
                            @click="addRowSetfol(scope)"
潘际乾 committed
109
                        >
110 111
                        </c-button>
                        <c-button
liushikai committed
112 113 114
                            style="padding:4px"
                            circle
                            class="el-icon-minus"
潘际乾 committed
115
                            size="mini"
liuxin committed
116
                            @click="removeRowSetfol(scope)"
潘际乾 committed
117
                        >
118
                        </c-button>
潘际乾 committed
119 120
                    </template>
                    <template slot-scope="scoped">
wangyanjiao committed
121 122
                        <c-button style="margin-left:0" size="small" type="primary"
                            @click="detail1(scoped.$index, scoped.row)">详情</c-button>
潘际乾 committed
123 124 125 126 127 128
                    </template>
                </el-table-column>
            </c-table>
        </c-col>
        <c-col>
            <el-dialog :visible.sync="dialogVisible" center>
潘际乾 committed
129 130
                <c-col>
                    <el-form :model="dialog" label-width="200px">
wangyanjiao committed
131
                        <c-col :span="16">
潘际乾 committed
132
                            <el-form-item label="收款人">
liuxin committed
133
                                <c-select v-model="dialog.ptypay" style="width: 100%">
wangyanjiao committed
134 135
                                    <el-option v-for="item in codes.payee" :key="item.value" :label="item.label"
                                        :value="item.value" />
136
                                </c-select>
潘际乾 committed
137 138 139 140
                            </el-form-item>
                        </c-col>
                        <c-col :span="16">
                            <el-form-item label="收款人摘要">
wangyanjiao committed
141
                                <c-input v-model="dialog.txtpay" style="width: 100%" />
潘际乾 committed
142 143 144 145
                            </el-form-item>
                        </c-col>
                        <c-col :span="16">
                            <el-form-item label="付款人">
146
                                <c-select v-model="dialog.ptydbt" style="width: 100%">
wangyanjiao committed
147 148
                                    <el-option v-for="item in codes.ptydbt1" :key="item.value" :label="item.label"
                                        :value="item.value">
liushikai committed
149
                                    </el-option>
150
                                </c-select>
潘际乾 committed
151 152 153 154
                            </el-form-item>
                        </c-col>
                        <c-col :span="16">
                            <el-form-item label="付款人摘要">
wangyanjiao committed
155
                                <c-input v-model="dialog.txtdbt" style="width: 100%" />
潘际乾 committed
156 157 158 159 160 161
                            </el-form-item>
                        </c-col>
                        <c-col :span="16">
                            <c-col :span="18">
                                <el-form-item label="费用">
                                    <c-select v-model="dialog.cur" style="width: 100%">
wangyanjiao committed
162 163
                                        <el-option v-for="item in codes.cur" :key="item.value" :labelF="item.label"
                                            :value="item.value" />
潘际乾 committed
164 165 166 167 168
                                    </c-select>
                                </el-form-item>
                            </c-col>
                            <c-col :span="6">
                                <el-form-item label="" label-width="20px">
wangyanjiao committed
169
                                    <c-input v-model="dialog.amt" style="width: 100%" />
潘际乾 committed
170 171 172 173 174
                                </el-form-item>
                            </c-col>
                        </c-col>
                        <c-col :span="16">
                            <el-form-item>
175
                                <c-checkbox v-model="dialog.forflg">买入行费用</c-checkbox>
潘际乾 committed
176 177 178 179
                            </el-form-item>
                        </c-col>
                    </el-form>
                </c-col>
潘际乾 committed
180
                <span slot="footer" class="dialog-footer">
181 182
                    <c-button type="primary" @click="saveDialog">确 定</c-button>
                    <c-button @click="dialogVisible = false">取 消</c-button>
潘际乾 committed
183 184 185 186
                </span>
            </el-dialog>
        </c-col>
        <!--=================== Own Commission/Charges:================== -->
liuxin committed
187
        <c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
liushikai committed
188
            <el-form-item class="formItemLabel" label="Own Commission/Charges:" label-width="200px"> </el-form-item>
潘际乾 committed
189
        </c-col>
liuxin committed
190
        <c-col :span="23" style="margin-left:9px">
wangyanjiao committed
191 192
            <c-table style="text-align: center" :list="model.setmod.setfeg.setfel" :paginationShow="false"
                :border="true">
liushikai committed
193
                <el-table-column label="Role" width="101px">
潘际乾 committed
194
                    <template #default="scope">
195
                        <c-select v-model="scope.row.rol" @change="defaultFunction()">
wangyanjiao committed
196 197 198
                            <el-option v-for="item in codes.setfelRol" :key="item.value" :label="item.value"
                                :value="item.value">
                                <span style="float: left">{{ item.label }}</span>
潘际乾 committed
199
                            </el-option>
200
                        </c-select>
潘际乾 committed
201 202
                    </template>
                </el-table-column>
203 204 205 206 207 208 209 210 211
                <el-table-column label="Code" width="101px">
                    <template #default="scope">
                        <c-select v-model="scope.row.feecod" @change="selectOrCheckboxRule('setmod.setfeg.setfel.feecod')">
                            <el-option v-for="item in codes.fepfeecod" :key="item.value" :label="item.value"
                                :value="item.value">
                                <span style="float: left">{{ item.label }}</span>
                            </el-option>
                        </c-select>
                    </template>
潘际乾 committed
212
                </el-table-column>
liushikai committed
213
                <el-table-column label="Source" prop="src" width="70px">
潘际乾 committed
214
                </el-table-column>
liushikai committed
215
                <el-table-column label="Disp" prop="dsp" width="76px">
潘际乾 committed
216
                    <template #default="scope">
wangyanjiao committed
217 218 219 220
                        <c-select v-model="scope.row.dsp" @change="dispDefault(scope.$index + 1)">
                            <el-option v-for="item in codes.setfeldsp" :key="item.value" :label="item.value"
                                :value="item.value">
                                <span style="float: left">{{ item.label }}</span>
潘际乾 committed
221
                            </el-option>
222
                        </c-select>
潘际乾 committed
223 224
                    </template>
                </el-table-column>
liushikai committed
225
                <el-table-column label="Units" prop="unt" width="70px">
潘际乾 committed
226
                </el-table-column>
wangyanjiao committed
227
                <el-table-column label="Long Fee Text" prop="feetxtinf" width="auto">
潘际乾 committed
228
                </el-table-column>
liushikai committed
229
                <el-table-column label="Currency" prop="cur" width="100px">
潘际乾 committed
230
                </el-table-column>
liuxin committed
231 232
                <el-table-column label="Original Amount" prop="ogiamt" width="150px">
                </el-table-column>
liushikai committed
233
                <el-table-column label="Fee Amount" prop="amt" width="150px">
潘际乾 committed
234
                </el-table-column>
liushikai committed
235
                <el-table-column label="" prop="det" width="80px" fixed="right">
liushikai committed
236
                     <template slot-scope="scope" slot="header">
237
                        <c-button
liushikai committed
238 239 240 241
                            circle
                            style="padding:4px"
                            class="el-icon-plus"
                            size="mini"
liuxin committed
242
                            @click="addRowSetfel(scope)"
liushikai committed
243
                        >
244 245
                        </c-button>
                        <c-button
liushikai committed
246 247 248
                            style="padding:4px"
                            circle
                            class="el-icon-minus"
潘际乾 committed
249
                            size="mini"
liuxin committed
250
                            @click="removeRowSetfel(scope)"
liushikai committed
251
                        >
252
                        </c-button>
liushikai committed
253
                    </template>
潘际乾 committed
254
                    <template slot-scope="scoped">
wangyanjiao committed
255 256
                        <c-button style="margin-left:0" size="small" type="primary"
                            @click="detail2(scoped.$index, scoped.row)">详情</c-button>
潘际乾 committed
257 258 259 260
                    </template>
                </el-table-column>
            </c-table>
        </c-col>
wangyanjiao committed
261
        <setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
liuxin committed
262
        <c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
liushikai committed
263
            <el-form-item class="formItemLabel" label="Settlement:" label-width="200px">
潘际乾 committed
264 265
            </el-form-item>
        </c-col>
liuxin committed
266
        <c-col :span="23" style="margin-left: 9px">
wangyanjiao committed
267 268
            <c-table style="text-align: center" :list="model.setmod.setglg.setgll" :paginationShow="false"
                :border="true">
liushikai committed
269
                <el-table-column label="Mod" prop="modflg" width="46px">
潘际乾 committed
270
                </el-table-column>
liushikai committed
271
                <el-table-column label="Role" prop="rol" width="55px">
潘际乾 committed
272
                </el-table-column>
liushikai committed
273
                <el-table-column label="in" prop="acccur" width="101px">
潘际乾 committed
274
                    <template slot-scope="scope">
275
                        <c-select v-model="scope.row.acccur">
wangyanjiao committed
276 277 278
                            <el-option v-for="item in codes.acccur" :key="item.value" :label="item.value"
                                :value="item.value">
                                <span style="float: left">{{ item.label }}</span>
潘际乾 committed
279
                            </el-option>
280
                        </c-select>
潘际乾 committed
281 282
                    </template>
                </el-table-column>
wangyanjiao committed
283
                <el-table-column label="Amount Paid" prop="fmtaccamt" width="120px">
潘际乾 committed
284
                </el-table-column>
liushikai committed
285
                <el-table-column label="Disp." width="101px">
潘际乾 committed
286
                    <template #default="scope">
287
                        <c-select v-model="scope.row.dsp">
wangyanjiao committed
288 289 290 291
                            <el-option v-for="item in codes.setglldsp" :key="item.value" :label="item.value"
                                :value="item.value">
                                <span style="float: left">{{ item.value }}</span>
                                <span style="float: left;margin-left:20px">{{ item.label }}</span>
潘际乾 committed
292
                            </el-option>
293
                        </c-select>
潘际乾 committed
294 295 296 297
                    </template>
                </el-table-column>
                <el-table-column label="Account" prop="act" width="auto">
                    <template slot-scope="scope">
298
                        <c-select v-model="scope.row.act">
wangyanjiao committed
299 300
                            <el-option v-for="item in scope.act" :key="item.value" :label="item.label"
                                :value="item.value">
潘际乾 committed
301
                            </el-option>
302
                        </c-select>
潘际乾 committed
303 304
                    </template>
                </el-table-column>
liushikai committed
305
                <el-table-column label="C" prop="debcdtflg" width="45px">
潘际乾 committed
306
                </el-table-column>
liushikai committed
307
                <el-table-column label="Curr." prop="cur" width="55px">
潘际乾 committed
308
                </el-table-column>
wangyanjiao committed
309
                <el-table-column label="Original Amount" prop="fmtamt" width="150px">
潘际乾 committed
310
                </el-table-column>
liushikai committed
311
                <el-table-column label="Rate" prop="rat" width="120px">
潘际乾 committed
312
                </el-table-column>
wangyanjiao committed
313
                <el-table-column label="操作" width="135px" fixed="right">
314
                    <template slot-scope="scoped">
wangyanjiao committed
315 316 317
                        <c-button style="margin-left:0" size="small" type="primary">Get</c-button>
                        <c-button style="margin-left:0" size="small" type="primary"
                            @click="handleDetail(scoped.$index, scoped.row)">详情</c-button>
liushikai committed
318
                    </template>
潘际乾 committed
319
                </el-table-column>
liushikai committed
320
                <!-- <el-table-column label="" width="80px">
liushikai committed
321
                    <template>
322
                        <c-button
liushikai committed
323 324 325
                            style="margin-left:0"
                            size="small"
                            type="primary"
326
                            >详情</c-button
liushikai committed
327
                        >
liushikai committed
328
                    </template> </el-table-column> -->
潘际乾 committed
329 330 331
            </c-table>
        </c-col>

liushikai committed
332
        <!-- <c-col :span="12" style="margin-bottom: 10px;">
潘际乾 committed
333 334
            <span v-text="model.setmod.retmsg" data-path=".setmod.retmsg">
            </span>
liushikai committed
335
        </c-col> -->
潘际乾 committed
336

liushikai committed
337
        <!-- <c-col :span="12" style="margin-bottom: 10px;">
潘际乾 committed
338 339
            <span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab">
            </span>
liushikai committed
340
        </c-col> -->
潘际乾 committed
341

liushikai committed
342
        <!-- <c-col :span="12" style="margin-bottom: 10px;">
潘际乾 committed
343 344 345 346 347
            <span
                v-text="model.setmod.setglg.labdspflg"
                data-path=".setmod.setglg.labdspflg"
            >
            </span>
liushikai committed
348
        </c-col> -->
349
        <template>
wangyanjiao committed
350 351 352
            <el-dialog ref="detpDialog" :visible.sync="detpDialogVisible" width="70%" center>
                <el-form label-width="100px" :model="dialog3">
                    <c-row>
353

wangyanjiao committed
354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
                        <c-col :span="24" style="height:24px">
                            <el-form-item label="基础信息" class="messageLabel">
                            </el-form-item>
                        </c-col>
                        <c-col :span="24" style="height: 0px;margin-top:-5px">
                            <el-divider></el-divider>
                        </c-col>
                        <c-col :span="24">
                            &nbsp;
                        </c-col>
                        <c-col :span="12">
                            <el-form-item label="rollab">
                                <c-input v-model="dialog3.rollab" maxlength="3" placeholder="请输入rollab"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="12">
                            <el-form-item label="role">
Wuyuqiu committed
372 373 374 375
                                <c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
                                    <el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
                                    </el-option>
                                </c-select>
wangyanjiao committed
376 377 378
                            </el-form-item>
                        </c-col>
                        <!-- <c-col :span="12">
379 380 381 382 383 384 385 386 387 388 389 390 391 392
                    <c-checkbox v-model="dialog3.act3flg">第三方还款</c-checkbox>
                </c-col>
                            
                <c-col :span="12">
                    <c-button size="small" type="primary"  @click="onMtdbutButapy">
                        确定
                    </c-button>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Drag  Drop Sender" prop="setgll.actp.ptsget.sdamod.dadsnd">
                        <c-input  v-model="dialog3.actp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
                    </el-form-item>
                </c-col> -->
wangyanjiao committed
393 394 395

                        <c-col :span="12">
                            <el-form-item label="Disposition" prop="setgll.dsp">
Wuyuqiu committed
396
                                <c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition" :code="codes.setglldsp">
wangyanjiao committed
397 398
                                </c-select>
                            </el-form-item>
399
                        </c-col>
wangyanjiao committed
400 401 402 403 404 405

                        <c-col :span="12">
                            <el-form-item label="External" prop="setgll.setgrp.act.pts.extkey">
                                <c-input v-model="dialog3.setgrp.act.pts.extkey" maxlength="16"
                                    placeholder="请输入External Key of Address"></c-input>
                            </el-form-item>
406
                        </c-col>
wangyanjiao committed
407 408 409 410 411 412 413 414 415 416 417 418 419 420 421

                        <c-col :span="12">
                            <el-form-item label="seainf">
                                <c-col :span="18">
                                    <c-input v-model="dialog3.actp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
                                </c-col>
                                <c-col :span="6" style="text-align: right">
                                    <c-button size="small" type="primary" @click="onActpDet">
                                        Details
                                    </c-button>
                                </c-col>
                            </el-form-item>
                        </c-col>

                        <!-- <c-col :span="12">
422 423 424 425 426 427 428 429 430 431
                    <el-form-item label="核心业务代号"  >
                        <c-input  v-model="dialog3.acccode" maxlength="4"  placeholder="请输入核心业务代号"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <c-button size="small" type="primary"  @click="onSetgllDetget">
                        Get
                    </c-button>
                </c-col> -->
wangyanjiao committed
432 433 434 435 436 437 438 439 440

                        <c-col :span="12">
                            <el-form-item label="账号">
                                <c-select v-model="dialog3.act" style="width:100%" placeholder="请选择账号">
                                </c-select>
                            </el-form-item>
                        </c-col>

                        <!-- <c-col :span="12">
441 442 443 444
                    <el-form-item label="Name of Party"  >
                        <c-input  v-model="dialog3.setgrp.act.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
                    </el-form-item>
                </c-col> -->
wangyanjiao committed
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
                        <c-col :span="24">
                            <c-col :span="12">
                                <el-form-item label="科目代码">
                                    <c-select v-model="dialog3.cur" style="width:100%" placeholder="请选择科目代码">
                                    </c-select>
                                </el-form-item>
                            </c-col>

                            <c-col :span="12">
                                <el-form-item label="value date">
                                    <c-date-picker type="date" v-model="dialog3.valdat" style="width:100%"
                                        placeholder="请选择value date"></c-date-picker>
                                </el-form-item>
                            </c-col>
                        </c-col>


                        <!-- <c-col :span="12">
463 464 465 466 467
                    <el-form-item label="Search type"  >
                        <c-select v-model="dialog3.actpriflg" style="width:100%" placeholder="请选择Search type">
                        </c-select>
                    </el-form-item>
                </c-col> -->
wangyanjiao committed
468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484
                        <c-col :span="24">
                            <el-form-item label="原始金额">
                                <c-col :span="8">
                                    <c-select v-model="dialog3.acttrmtyp" style="width:100%" placeholder="请选择原始金额">
                                    </c-select>
                                </c-col>
                                <c-col :span="8">
                                    <el-form-item label="" label-width="5%">
                                        <c-input v-model="dialog3.fmtamt" placeholder="请输入原始金额"></c-input>
                                    </el-form-item>
                                </c-col>
                                <c-col :span="8">
                                    <el-form-item label="" label-width="5%">
                                        <c-select v-model="dialog3.modflg" style="width:100%" placeholder="请选择Modified">
                                        </c-select>
                                    </el-form-item>
                                </c-col>
485 486
                            </el-form-item>
                        </c-col>
wangyanjiao committed
487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507

                        <c-col :span="24">
                            <el-form-item label="实际金额">
                                <c-col :span="8">
                                    <el-form-item label="" label-width="0">
                                        <c-select v-model="dialog3.acccur" style="width:100%"
                                            placeholder="请选择Amount handled">
                                        </c-select>
                                    </el-form-item>
                                </c-col>
                                <c-col :span="8">
                                    <el-form-item label="" label-width="5%">
                                        <c-input v-model="dialog3.fmtaccamt" placeholder="请输入实际金额"></c-input>
                                    </el-form-item>
                                </c-col>
                                <c-col :span="8">
                                    <el-form-item label="" label-width="5%">
                                        <c-input v-model="dialog3.debcdtflg" maxlength="1"
                                            placeholder="请输入Debit/Credit"></c-input>
                                    </el-form-item>
                                </c-col>
508 509
                            </el-form-item>
                        </c-col>
wangyanjiao committed
510 511 512 513

                        <!-- ---------------------- -->
                        <c-col :span="23" style="height:24px">
                            <el-form-item label="Cross信息" class="messageLabel">
514 515
                            </el-form-item>
                        </c-col>
wangyanjiao committed
516 517
                        <c-col :span="23" style="height: 0px;margin-top:-5px">
                            <el-divider></el-divider>
518
                        </c-col>
wangyanjiao committed
519 520
                        <c-col :span="24">
                            &nbsp;
521 522
                        </c-col>

wangyanjiao committed
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614
                        <c-col :span="24">
                            <el-form-item label="Cross Rate">
                                <c-col :span="6">
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <span>Rate Type</span>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="rattyp"></c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="dcbrattyp"></c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="scbrattyp"></c-input>
                                        </el-form-item>
                                    </c-col>
                                </c-col>
                                <c-col :span="6">
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <span>Calculate Rate</span>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="dialog3.rat" placeholder="请输入rate used"></c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="dialog3.dcbextrat" placeholder="请输入Selling Rate">
                                            </c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="dialog3.scbextrat" placeholder="请输入Buying Rate"></c-input>
                                        </el-form-item>
                                    </c-col>
                                </c-col>
                                <c-col :span="6">
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <span>From Date</span>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            &nbsp;
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="dialog3.xrtdatcur" placeholder="请输入xrtdatcur"></c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="" label-width="20%">
                                            <c-input v-model="dialog3.xrtdatacc" placeholder="请输入xrtdatacc"></c-input>
                                        </el-form-item>
                                    </c-col>
                                </c-col>
                                <c-col :span="6">
                                    <c-col :span="24">
                                        <el-form-item label="牌价时间">
                                            <c-input v-model="dialog3.xrttim" placeholder="请输入牌价时间"></c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="卖价" prop="setgll.midrat">
                                            <c-input v-model="dialog3.selrat" placeholder="请输入卖价"></c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="中间价" prop="setgll.midrat">
                                            <c-input v-model="dialog3.midrat" placeholder="请输入中间价"></c-input>
                                        </el-form-item>
                                    </c-col>
                                    <c-col :span="24">
                                        <el-form-item label="买价" prop="setgll.midrat">
                                            <c-input v-model="dialog3.buyrat" placeholder="请输入买价"></c-input>
                                        </el-form-item>
                                    </c-col>
                                </c-col>
                            </el-form-item>
615 616
                        </c-col>

wangyanjiao committed
617
                        <!-- <div>
618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757
                <c-col :span="12">
                    <el-form-item label="pre rate type" prop="setgll.selrattyp">
                        <c-select v-model="dialog3.selrattyp" style="width:100%" placeholder="请选择pre rate type">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Sel" prop="setgll.preselrat">
                        <c-input  v-model="dialog3.preselrat"  placeholder="请输入Sel"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <span  v-text="dialog3.selpct"   data-path=".setgll.selpct" > </span>
                </c-col>
                                            
                <c-col :span="12">
                    <el-form-item label="Amount handled" prop="setgll.fmtacccpramt">
                        <c-input  v-model="dialog3.fmtacccpramt"  placeholder="请输入Amount handled"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <el-form-item label="Pre rate type" prop="setgll.buyrattyp">
                        <c-select v-model="dialog3.buyrattyp" style="width:100%" placeholder="请选择Pre rate type">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Buy" prop="setgll.prebuyrat">
                        <c-input  v-model="dialog3.prebuyrat"  placeholder="请输入Buy"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <span  v-text="dialog3.buypct"   data-path=".setgll.buypct" > </span>
                </c-col>
                                                                                                
                <c-col :span="12">
                    <el-form-item label="From Date" prop="setgll.xrttim">
                        <c-input  v-model="dialog3.xrttim" maxlength="20"  placeholder="请输入From Date"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <span  v-text="dialog3.ratcurlab"   data-path=".setgll.ratcurlab" > </span>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Codetable of supported rate types  M-iddle, B-uying, S-elling, I-nput" prop="setgll.rattyp">
                        <c-select v-model="dialog3.rattyp" style="width:100%" placeholder="请选择Codetable of supported rate types  M-iddle, B-uying, S-elling, I-nput">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="rate used" prop="setgll.rat">
                        <c-input  v-model="dialog3.rat"  placeholder="请输入rate used"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Selling Rate" prop="setgll.selrat">
                        <c-input  v-model="dialog3.selrat"  placeholder="请输入Selling Rate"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <span  v-text="dialog3.dcbratlab"   data-path=".setgll.dcbratlab" > </span>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Document Cur to Base RATe TYPe" prop="setgll.dcbrattyp">
                        <c-select v-model="dialog3.dcbrattyp" style="width:100%" placeholder="请选择Document Cur to Base RATe TYPe">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Document Cur to Base EXTernal RATe" prop="setgll.dcbextrat">
                        <c-input  v-model="dialog3.dcbextrat"  placeholder="请输入Document Cur to Base EXTernal RATe"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Begin-Date of XRT-Rate of CUR" prop="setgll.xrtdatcur">
                        <c-date-picker type="date"  v-model="dialog3.xrtdatcur" style="width:100%"  placeholder="请选择Begin-Date of XRT-Rate of CUR"></c-date-picker>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="" prop="setgll.xrtgetdcb.sdamod.seainf">
                        <c-input  v-model="dialog3.xrtgetdcb.sdamod.seainf"  placeholder="请输入"></c-input>
                    </el-form-item>
                </c-col>
                                            
                <c-col :span="12">
                    <el-form-item label="Middle Rate" prop="setgll.midrat">
                        <c-input  v-model="dialog3.midrat"  placeholder="请输入Middle Rate"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <span  v-text="dialog3.scbratlab"   data-path=".setgll.scbratlab" > </span>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Settle Cur to Base RATe TYPe" prop="setgll.scbrattyp">
                        <c-select v-model="dialog3.scbrattyp" style="width:100%" placeholder="请选择Settle Cur to Base RATe TYPe">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Settle Cur to Base EXTernal RATe" prop="setgll.scbextrat">
                        <c-input  v-model="dialog3.scbextrat"  placeholder="请输入Settle Cur to Base EXTernal RATe"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Begin-Date of XRT-Rate of ACCCUR" prop="setgll.xrtdatacc">
                        <c-date-picker type="date"  v-model="dialog3.xrtdatacc" style="width:100%"  placeholder="请选择Begin-Date of XRT-Rate of ACCCUR"></c-date-picker>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="" prop="setgll.xrtgetscb.sdamod.seainf">
                        <c-input  v-model="dialog3.xrtgetscb.sdamod.seainf"  placeholder="请输入"></c-input>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Buying Rate" prop="setgll.buyrat">
                        <c-input  v-model="dialog3.buyrat"  placeholder="请输入Buying Rate"></c-input>
                    </el-form-item>
                </c-col>
                </div> -->

wangyanjiao committed
758 759 760 761 762 763 764 765 766 767 768
                        <!-- ---------------------- -->
                        <c-col :span="23" style="height:24px">
                            <el-form-item label="交易信息" class="messageLabel">
                            </el-form-item>
                        </c-col>
                        <c-col :span="23" style="height: 0px;margin-top:-5px">
                            <el-divider></el-divider>
                        </c-col>
                        <c-col :span="24">
                            &nbsp;
                        </c-col>
769

wangyanjiao committed
770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808
                        <c-col :span="12">
                            <c-col :span="24">
                                <el-form-item label="交易主体" prop="setgll.trnman">
                                    <c-select v-model="dialog3.trnman" style="width:100%" placeholder="请选择交易主体">
                                    </c-select>
                                </el-form-item>
                            </c-col>
                            <c-col :span="24">
                                <el-form-item label="TRADE OUT" prop="setgll.trdout">
                                    <c-select v-model="dialog3.trdout" style="width:100%" placeholder="请选择TRADE OUT">
                                    </c-select>
                                </el-form-item>
                            </c-col>

                            <c-col :span="24">
                                <el-form-item label="TRADE IN" prop="setgll.trdint">
                                    <c-select v-model="dialog3.trdint" style="width:100%" placeholder="请选择TRADE IN">
                                    </c-select>
                                </el-form-item>
                            </c-col>
                        </c-col>

                        <c-col :span="12">
                            <c-col :span="24">
                                <el-form-item label="TXT" prop="setgll.txt">
                                    <c-input type="textarea" v-model="dialog3.txt" maxlength="100" show-word-limit
                                        placeholder="请输入TXT"></c-input>
                                </el-form-item>
                            </c-col>
                            <c-col :span="24">
                                <el-form-item label="TXT1" prop="setgll.txt1">
                                    <c-input type="textarea" v-model="dialog3.txt1" maxlength="100" show-word-limit
                                        placeholder="请输入TXT1"></c-input>
                                </el-form-item>
                            </c-col>
                        </c-col>


                        <!-- <c-col :span="12">
809 810 811
                    <c-checkbox v-model="dialog3.modifyflg">Modify flg</c-checkbox>
                </c-col> -->

wangyanjiao committed
812 813 814 815 816 817 818 819




                        <!-- ---------------------- -->
                        <c-col :span="23" style="height:24px">
                            <el-form-item label="交易详情" class="messageLabel">
                            </el-form-item>
820
                        </c-col>
wangyanjiao committed
821 822
                        <c-col :span="23" style="height: 0px;margin-top:-5px">
                            <el-divider></el-divider>
823
                        </c-col>
wangyanjiao committed
824 825
                        <c-col :span="24">
                            &nbsp;
826
                        </c-col>
wangyanjiao committed
827 828 829 830 831 832 833 834 835 836 837

                        <c-col :span="12">
                            <el-form-item label="交易性质">
                                <c-col :span="20">
                                    <c-input v-model="dialog3.trntyp" maxlength="6" placeholder="请输入交易性质"></c-input>
                                </c-col>
                                <c-col :span="4" style="text-align:right">
                                    <c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCodsel">
                                    </c-button>
                                </c-col>
                            </el-form-item>
838
                        </c-col>
wangyanjiao committed
839 840 841 842 843 844 845 846 847 848 849

                        <c-col :span="12">
                            <el-form-item label="国别代码" prop="setgll.ctycod">
                                <c-col :span="20">
                                    <c-input v-model="dialog3.ctycod" maxlength="3" placeholder="请输入国别代码"></c-input>
                                </c-col>
                                <c-col :span="4" style="text-align:right">
                                    <c-button size="small" type="primary" icon="el-icon-search" @click="onSetgllCtysel">
                                    </c-button>
                                </c-col>
                            </el-form-item>
850
                        </c-col>
wangyanjiao committed
851
                        <!-- <c-col :span="12">
852 853 854 855 856 857 858 859 860 861 862 863 864
                    <el-form-item label="Which MT to beneficiary institution" prop="setgll.sftmt">
                        <c-select v-model="dialog3.sftmt" style="width:100%" placeholder="请选择Which MT to beneficiary institution">
                        </c-select>
                    </el-form-item>
                </c-col>
                            
                <c-col :span="12">
                    <el-form-item label="Direct payment one message" prop="setgll.dirindflg">
                        <c-select v-model="dialog3.dirindflg" style="width:100%" placeholder="请选择Direct payment one message">
                        </c-select>
                    </el-form-item>
                </c-col> -->

wangyanjiao committed
865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890

                        <c-col :span="12">
                            <el-form-item label="对方名称" prop="setgll.oppnam">
                                <c-input v-model="dialog3.oppnam" maxlength="100" placeholder="请输入对方名称"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="12">
                            <el-form-item label="国内地区代码" prop="setgll.discod">
                                <c-input v-model="dialog3.discod" maxlength="6" placeholder="请输入国内地区代码"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="12">
                            <el-form-item label="对方账号" prop="setgll.oppacc">
                                <c-input v-model="dialog3.oppacc" maxlength="35" placeholder="请输入对方账号"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="12">
                            <el-form-item label="虚拟号账号" prop="setgll.xzhacc">
                                <c-input v-model="dialog3.xzhacc" maxlength="40" placeholder="请输入虚拟号账号"></c-input>
                            </el-form-item>
                        </c-col>

                        <!-- <c-col :span="12">
891 892 893 894
                    <c-button size="small" type="primary"  @click="onMtdbutButcan">
                        取消
                    </c-button>
                </c-col> -->
wangyanjiao committed
895 896 897 898 899 900 901 902 903 904 905 906 907 908

                        <c-col :span="12">
                            <el-form-item label="对方银行代码" prop="setgll.oppbnk">
                                <c-input v-model="dialog3.oppbnk" maxlength="14" placeholder="请输入对方银行代码"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="12">
                            <el-form-item label="虚拟号名称" prop="setgll.xzhnam">
                                <c-input v-model="dialog3.xzhnam" maxlength="50" placeholder="请输入虚拟号名称"></c-input>
                            </el-form-item>
                        </c-col>
                    </c-row>
                </el-form>
潘际乾 committed
909 910 911 912
                <span slot="footer" class="dialog-footer">
                    <c-button type="primary" @click="saveDialog3">确 定</c-button>
                    <c-button @click="detpDialogVisible = false">取 消</c-button>
                </span>
913 914 915
            </el-dialog>
        </template>

潘际乾 committed
916 917 918
    </c-row>
</template>
<script>
潘际乾 committed
919
// import Event from "~/model/Ditopn/Event";
wangren committed
920
import commonProcess from "~/mixin/commonProcess";
潘际乾 committed
921 922 923 924 925 926 927 928
import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api"
import Utils from "~/utils/index"

export default {
    inject: ['root'],
    components: { SetpanDialog },
    props: ["model", "codes"],
wangren committed
929
    mixins: [commonProcess],
潘际乾 committed
930 931 932 933 934 935 936 937 938 939
    data() {
        return {
            dialogVisible: false,
            dialog: {
                payee: "",
                ptydbt: "",
                txtpay: "",
                txtdbt: "",
                CG00005: "",
            },
liuxin committed
940 941 942 943 944 945 946
            newdialog: {
                payee: "",
                ptydbt: "",
                txtpay: "",
                txtdbt: "",
                CG00005: "",
            },
潘际乾 committed
947
            dialog2: {
wangyanjiao committed
948 949
                feetxtinf: "",
                feetxt: "",
潘际乾 committed
950 951
            },
            index: 0,
wangyanjiao committed
952 953 954 955 956 957 958 959
            detpDialogVisible: false,
            rattyp: '',
            dcbrattyp: '',
            scbrattyp: '',
            dialog3: {
                setgrp: {
                    act: {
                        pts: {
960 961 962 963

                        }
                    }
                },
wangyanjiao committed
964 965 966
                actp: {
                    ptsget: {
                        sdamod: {
967 968 969 970 971

                        }
                    }
                },
            },
zhujiazhan committed
972
            ogiamt:{},
潘际乾 committed
973 974 975 976
        };
    },
    methods: {
        //第一个表格
liuxin committed
977
        addRowSetfol() {
liuxin committed
978
            let newRow = { ...this.newdialog };
liuxin committed
979
            this.model.setmod.setfog.setfol.splice(0, 0, newRow);
980
            this.defaultFunction();
潘际乾 committed
981
        },
liuxin committed
982 983
        removeRowSetfol() {
            this.model.setmod.setfog.setfol.shift();
984
            this.defaultFunction();
潘际乾 committed
985 986
        },
        saveDialog() {
liushikai committed
987
            this.dialogVisible = false;
潘际乾 committed
988
            this.model.setmod.setfog.setfol.splice(this.index, 1, this.dialog);
潘际乾 committed
989 990
        },
        // 第二个表格
liuxin committed
991 992 993
        addRowSetfel() {
            let newRow = { ...this.dialog2 };
            this.model.setmod.setfeg.setfel.splice(0, 0, newRow);
994
            this.defaultFunction();
liuxin committed
995 996 997
        },
        removeRowSetfel() {
            this.model.setmod.setfeg.setfel.shift();
998
            this.defaultFunction();
liuxin committed
999
        },
潘际乾 committed
1000
        detail1(index, row) {
wangyanjiao committed
1001
            this.executeDefault("setfel.det").then(res => {
潘际乾 committed
1002 1003 1004 1005 1006
                this.dialogVisible = true;
                this.dialog = row;
                this.index = index;
            })
        },
wangyanjiao committed
1007 1008
        dispDefault(index) {
            this.executeDefault(`setmod.setfeg.setfel(${index}).mac`).then(res => {
潘际乾 committed
1009 1010 1011
                Utils.copyValueFromVO(this.model, res.data)
            })
        },
hulei committed
1012
        // 第二个表格
潘际乾 committed
1013
        detail2(index, row) {
1014
            const that = this;
wangyanjiao committed
1015 1016
            const rule = "setmod.setfeg.setfel(" + (index + 1) + ").det";
            that.executeRule(rule).then(res => {
1017 1018 1019 1020
                that.$refs.setpanDialog.visiable = true;
                that.$refs.setpanDialog.formData = Object.assign({}, that.model.setmod.setfeg.setfel[index]);
                that.index = index;
                that.dialog2 = row
潘际乾 committed
1021 1022
            })
        },
1023 1024

        // 第三个表格
潘际乾 committed
1025 1026 1027 1028
        saveDialog3() {
            this.detpDialogVisible = false;
            this.model.setmod.setglg.setgll.splice(this.index, 1, this.dialog3)
        },
1029 1030
        async handleDetail(index, row) {
            const that = this;
wangyanjiao committed
1031
            const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042
            let rtnmsg = await this.executeRule(rule)
            if (rtnmsg.respCode == SUCCESS) {
                that.$refs.detpDialog.visiable = true;
                this.detpDialogVisible = true;
                that.dialog3 = Object.assign({}, that.model.setmod.setglg.setgll[index]);
                that.index = index;
                that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype);
                that.dcbrattyp = that.strCalCode(that.dialog3.dcbrattyp, that.codes.ratetype);
                that.scbrattyp = that.strCalCode(that.dialog3.scbrattyp, that.codes.ratetype);
            }
        },
wangyanjiao committed
1043
        strCalCode(str, code) {
1044
            var result = '';
wangyanjiao committed
1045 1046
            for (let i = 0; i < code.length; i++) {
                if (code[i].value === str) {
1047 1048 1049 1050
                    result = code[i].label;
                    continue;
                }
            }
wangyanjiao committed
1051
            if (result === '') {
1052
                return str;
wangyanjiao committed
1053
            } else {
1054 1055 1056
                return result;
            }
        },
wangyanjiao committed
1057
        onMtdbutButapy() {
1058 1059

        },
wangyanjiao committed
1060
        onActpDet() {
1061 1062

        },
wangyanjiao committed
1063
        onSetgllCodsel() {
1064 1065

        },
wangyanjiao committed
1066
        onMtdbutButcan() {
1067 1068

        },
wangyanjiao committed
1069
        onSetgllCtysel() {
1070 1071

        },
wangyanjiao committed
1072
        onSetgllDetget() {
1073

潘际乾 committed
1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
        },
        async onSetmodDet() {
            let rtnmsg = await this.executeRule("setmod.det")
            if (rtnmsg.respCode == SUCCESS) {
                //TODO 处理数据逻辑

            }
            else {
                this.$notify.error({ title: '错误', message: '服务请求失败!' });
            }
        },
潘际乾 committed
1085
    },
wangyanjiao committed
1086
    created: function () { },
潘际乾 committed
1087 1088
};
</script>
liushikai committed
1089
<style scoped>
wangyanjiao committed
1090
.el-col>>>.el-divider--horizontal {
liushikai committed
1091 1092
    margin-top: 10px;
}
wangyanjiao committed
1093 1094

.formItemLabel>>>.el-form-item__label {
liushikai committed
1095
    text-align: left;
wangyanjiao committed
1096
    font-weight: bold;
liushikai committed
1097
}
wangyanjiao committed
1098 1099

.messageLabel>>>.el-form-item__label {
1100
    text-align: left;
wangyanjiao committed
1101
    font-weight: bold;
1102 1103
    font-size: 12px;
}
潘际乾 committed
1104
</style>