Commit dbf828d2 by 潘际乾

gitopn保函文本

parent b9a14041
...@@ -7234,36 +7234,6 @@ const CodeTable = { ...@@ -7234,36 +7234,6 @@ const CodeTable = {
uiltxt2: [ uiltxt2: [
{ label: "EN 英文", value: "EN" }, { label: "EN 英文", value: "EN" },
], ],
hndtyp1: [
{ label: "他行委托我行开立保函", value: "OT" },
],
hndtyp2: [
{ label: "他行委托我行转开的保函登记", value: "FR" },
],
hndtyp3: [
{ label: "我行直接开立保函", value: "OL" },
],
hndtyp4: [
{ label: "我行委托他行开立保函", value: "OC" },
],
hndtyp5: [
{ label: "他行委托我行转开的保函登记", value: "FR" },
],
hndtyp6: [
{ label: "我行通知或转往保函指定的通知行", value: "FA" },
],
hndtyp7: [
{ label: "通知保函", value: "FI" },
],
hndtyp8: [
{ label: "他行委托我行开立保函", value: "OT" },
{ label: "我行直接开立保函", value: "OL" },
{ label: "我行委托他行开立保函", value: "OC" },
],
hndtyp9: [
{ label: "我行通知或转往保函指定的通知行", value: "FA" },
{ label: "他行委托我行转开的保函登记", value: "FR" },
],
demand: [ demand: [
{ label: "不允许多次和部分请求", value: "NMPT" }, { label: "不允许多次和部分请求", value: "NMPT" },
{ label: "不允许多次请求", value: "NMLT" }, { label: "不允许多次请求", value: "NMLT" },
......
...@@ -190,10 +190,19 @@ export default { ...@@ -190,10 +190,19 @@ export default {
} }
loading.close() loading.close()
}, },
async executeNotify(params) { /**
*
* @param {Object} params 额外参数
* @param {Boolean} updateModel 是否更新model
* @returns
*/
async executeNotify(params, updateModel) {
const rtnmsg = await Api.post(this.requestPrefix + "/executeNotify", this.wrapper(params)) const rtnmsg = await Api.post(this.requestPrefix + "/executeNotify", this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateValueSet(rtnmsg.codeSet) this.updateValueSet(rtnmsg.codeSet)
if (arguments.length > 1 && arguments[1]) {
this.updateModel(rtnmsg.data)
}
} }
return rtnmsg return rtnmsg
}, },
......
...@@ -2,7 +2,8 @@ import Api from "~/service/Api" ...@@ -2,7 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onDecblkButtxmsel(){ onExtkey(){},
async onDecblkButtxmsel(){
let rtnmsg = await this.executeRule("decblk.buttxmsel") let rtnmsg = await this.executeRule("decblk.buttxmsel")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
......
...@@ -6,21 +6,7 @@ ...@@ -6,21 +6,7 @@
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg == 'Y'" v-show="model.gitp.swiftflg !== ''"
label="合同号"
prop="gidgrp.rec.orcref"
>
<c-input
v-model="model.gidgrp.rec.orcref"
maxlength="35"
placeholder="请输入合同号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="合同号" label="合同号"
prop="gidgrp.rec.orcref" prop="gidgrp.rec.orcref"
> >
......
...@@ -211,22 +211,6 @@ ...@@ -211,22 +211,6 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg == ''"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
:code="codes.hndtyp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'" v-if="model.gitp.swiftflg == 'N'"
label="保函开立类型" label="保函开立类型"
prop="gidgrp.rec.hndtyp" prop="gidgrp.rec.hndtyp"
...@@ -236,323 +220,8 @@ ...@@ -236,323 +220,8 @@
style="width: 100%" style="width: 100%"
placeholder="请选择保函开立类型" placeholder="请选择保函开立类型"
@change="hndtypChange" @change="hndtypChange"
:code="getValues('gidgrp.rec.hndtyp', 'hndtyp')"
> >
<el-option
v-for="item in codes.hndtyp8"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ISCO'
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purposin == 'ICCO'
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISSU' &&
model.gidgrp.rec.purpos == 'ISCO'
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp4"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISSU' &&
model.gidgrp.rec.purpos == 'ISSU'
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISSU' &&
model.gidgrp.rec.purpos == ''
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp5"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISSU' &&
model.gidgrp.rec.purpos == 'ADVI'
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp6"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISSU' &&
model.gidgrp.rec.purpos == 'ACNF'
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp7"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == '' &&
model.gidgrp.rec.purposin == ''
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == 'ISSU' &&
model.gidgrp.rec.purposin == ''
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO') &&
model.gidgrp.rec.purposin == ''
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp4"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == 'ADVI' &&
model.gidgrp.rec.purposin == ''
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp6"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == 'ACNF' &&
model.gidgrp.rec.purposin == ''
"
label="保函开立类型"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择保函开立类型"
>
<el-option
v-for="item in codes.hndtyp7"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -674,7 +343,6 @@ ...@@ -674,7 +343,6 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="保函文本语言种类" label="保函文本语言种类"
prop="gidgrp.rec.giduil" prop="gidgrp.rec.giduil"
> >
...@@ -682,14 +350,10 @@ ...@@ -682,14 +350,10 @@
v-model="model.gidgrp.rec.giduil" v-model="model.gidgrp.rec.giduil"
style="width: 100%" style="width: 100%"
placeholder="请选择保函文本语言种类" placeholder="请选择保函文本语言种类"
:code="getValues('gidgrp.rec.giduil', 'uiltxt')"
@change="executeRule('gidgrp.rec.giduil')"
> >
<el-option
v-for="item in codes.uiltxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -701,116 +365,18 @@ ...@@ -701,116 +365,18 @@
> >
<c-date-picker <c-date-picker
type="date" type="date"
:disabled="model.gitp.swiftflg == ''"
v-model="model.gidgrp.rec.vrfdat" v-model="model.gidgrp.rec.vrfdat"
style="width: 100%" style="width: 100%"
placeholder="请选择核销日期" placeholder="请选择核销日期"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item
v-if="model.gitp.swiftflg == ''"
label="核销日期"
prop="gidgrp.rec.vrfdat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.vrfdat"
style="width: 100%"
placeholder="请选择核销日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == ''
"
label="保函文本格式"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
>
<el-option
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'EN'
"
label="保函文本格式"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
>
<el-option
v-for="item in codes.gtxinr"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == ''
"
label="保函文本格式"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
>
<el-option
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
v-if=" v-show="model.gitp.swiftflg == 'N'"
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OT'
"
label="保函文本格式" label="保函文本格式"
prop="gidgrp.rec.gtxinr" prop="gidgrp.rec.gtxinr"
> >
...@@ -818,90 +384,9 @@ ...@@ -818,90 +384,9 @@
v-model="model.gidgrp.rec.gtxinr" v-model="model.gidgrp.rec.gtxinr"
style="width: 100%" style="width: 100%"
placeholder="请选择保函文本格式" placeholder="请选择保函文本格式"
:code="getValues('gidgrp.rec.gtxinr')"
:change="executeNotify(null, true)"
> >
<el-option
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OC'
"
label="保函文本格式"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
>
<el-option
v-for="item in codes.gtxinr1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OL'
"
label="保函文本格式"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
>
<el-option
v-for="item in codes.gtxinr2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="保函文本语言种类"
prop="gidgrp.rec.giduil"
>
<c-select
v-model="model.gidgrp.rec.giduil"
style="width: 100%"
placeholder="请选择保函文本语言种类"
>
<el-option
v-for="item in codes.uiltxt2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -956,62 +441,22 @@ ...@@ -956,62 +441,22 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-show="model.gitp.swiftflg == 'Y'">
<el-form-item
v-if="model.gitp.swiftflg == 'N' && model.gidgrp.rec.gartyp == ''"
label="保函文本格式"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp == ''"
label="保函文本格式"
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择保函文本格式"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item <el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp != ''"
label="保函文本格式" label="保函文本格式"
prop="gidgrp.rec.gtxinr" prop="gidgrp.rec.atxinr"
> >
<c-select <c-select
:disabled=" :disabled="
model.gidgrp.rec.purpos == 'ADVI' || model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF' model.gidgrp.rec.purpos == 'ACNF'
" "
v-model="model.gidgrp.rec.gtxinr" v-model="model.gidgrp.rec.atxinr"
style="width: 100%" style="width: 100%"
placeholder="请选择保函文本格式" placeholder="请选择保函文本格式"
:code="getValues('gidgrp.rec.atxinr')"
:change="executeNotify(null, true)"
> >
<el-option
v-for="item in codes.gtxinr3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -1741,6 +1186,7 @@ ...@@ -1741,6 +1186,7 @@
v-model="model.gidgrp.rec.exptyp" v-model="model.gidgrp.rec.exptyp"
style="width: 100%" style="width: 100%"
placeholder="请选择到期类型" placeholder="请选择到期类型"
@change="executeNotify(null, true)"
> >
<el-option <el-option
v-for="item in codes.exptyp" v-for="item in codes.exptyp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment