Commit 6a1694b8 by WuBing

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 63ea7a5d 32b14254
export default class Pty {
export default class Gtx {
constructor() {
this.data = {
inr: "",
......
......@@ -20,10 +20,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="nam" prop="nam">
<el-form-item label="名字" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
placeholder="请输入名字"
>
</c-input>
</el-form-item>
......@@ -38,37 +38,37 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="gidtxt" prop="gidtxt">
<el-form-item label="保函文本" prop="gidtxt">
<c-input
v-model="model.gidtxt"
placeholder="请输入gidtxt"
placeholder="请输入保函文本"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="gartyp" prop="gartyp">
<el-form-item label="保函类型" prop="gartyp">
<c-input
v-model="model.gartyp"
placeholder="请输入gartyp"
placeholder="请输入保函类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="hndtyp" prop="hndtyp">
<el-form-item label="处理类型" prop="hndtyp">
<c-input
v-model="model.hndtyp"
placeholder="请输入hndtyp"
placeholder="请输入处理类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objtyp" prop="objtyp">
<el-form-item label="对象类型" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入objtyp"
placeholder="请输入对象类型"
>
</c-input>
</el-form-item>
......@@ -85,64 +85,64 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="gtxpri" prop="gtxpri">
<el-form-item label="优先级" prop="gtxpri">
<c-input
v-model="model.gtxpri"
placeholder="请输入gtxpri"
placeholder="请输入优先级"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="expflg" prop="expflg">
<el-form-item label="无责任担保标志" prop="expflg">
<c-input
v-model="model.expflg"
placeholder="请输入expflg"
placeholder="请输入无责任担保标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="uil" prop="uil">
<el-form-item label="语言" prop="uil">
<c-input
v-model="model.uil"
placeholder="请输入uil"
placeholder="请输入语言"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="laborcdat" prop="laborcdat">
<el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-input
v-model="model.laborcdat"
placeholder="请输入laborcdat"
placeholder="请输入日期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="labaddinf" prop="labaddinf">
<el-form-item label="保函文本中的附加信息" prop="labaddinf">
<c-input
v-model="model.labaddinf"
placeholder="请输入labaddinf"
placeholder="请输入附加信息"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="legfrm" prop="legfrm">
<el-form-item label="格式" prop="legfrm">
<c-input
v-model="model.legfrm"
placeholder="请输入legfrm"
placeholder="请输入格式"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="covgodsrvdft" prop="covgodsrvdft">
<el-form-item label="默认交易对象" prop="covgodsrvdft">
<c-input
v-model="model.covgodsrvdft"
placeholder="请输入covgodsrvdft"
placeholder="请输入默认交易对象"
>
</c-input>
</el-form-item>
......
......@@ -52,21 +52,14 @@ import Utils from "~/utils";
import Gtx, { Pattern } from "./Gtx.js";
import GtxInfo from "./GtxInfo.vue";
// import AdrList from "./AdrList.vue";
// import ActInfo from "./ActInfo.vue";
// import PtcInfo from "./PtcInfo.vue";
// import RatInfo from "./RatInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/pty.js";
import { queryDetailById, add, edit, deleteById } from "~/service/test/gtx.js";
export default {
name: "StaticsDbigtx",
components: {
"m-gtx-info": GtxInfo,
// "m-adr-list": AdrList,
// "m-act-info": ActInfo,
// "m-ptc-info": PtcInfo,
// "m-rat-info": RatInfo,
},
provide() {
return {
......
......@@ -23,10 +23,10 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="nam" prop="nam">
<el-form-item label="名字" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
placeholder="请输入名字"
>
</c-input>
</el-form-item>
......@@ -163,39 +163,6 @@
<!-- </c-col> -->
<c-col :span="24">
<!-- PTY.PTYTYP -->
<el-form-item label="Type" prop="ptytyp">
<c-col :span="2">
<c-checkbox v-model="seatyph" @change="ptytypeChange('H')"
>海关</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypo" @change="ptytypeChange('O')"
>Other</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypa" @change="ptytypeChange('A')"
>Own Address</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="seatypb"
:checked="model.ptytyp === 'B'"
@change="ptytypeChange('B')"
>Bank</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypc" @change="ptytypeChange('C')"
>Client</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="gtxAdd">新增</el-button>
</c-col>
......@@ -280,11 +247,11 @@ export default {
gtxColumns: [
// { label: 'inr', prop: 'inr', width: 'auto' },
// { label: 'extkey', prop: 'extkey', width: 'auto' },
{ label: 'nam', prop: 'nam', width: 'auto' },
{ label: '名字', prop: 'nam', width: 'auto' },
// { label: 'ver', prop: 'ver', width: 'auto' },
// { label: 'gidtxt', prop: 'gidtxt', width: 'auto' },
{ label: 'gartyp', prop: 'gartyp', width: 'auto' },
{ label: 'hndtyp', prop: 'hndtyp', width: 'auto' },
{ label: '保函类型', prop: 'gartyp', width: 'auto' },
{ label: '处理类型', prop: 'hndtyp', width: 'auto' },
// { label: 'objtyp', prop: 'objtyp', width: 'auto' },
// { label: 'objinr', prop: 'objinr', width: 'auto' },
// { label: 'gtxpri', prop: 'gtxpri', width: 'auto' },
......@@ -299,46 +266,6 @@ export default {
};
},
computed: {
seatypb: {
get: function () {
return this.model.ptytyp === "B";
},
set: function (val) {
this.model.ptytyp = val ? "B" : "";
},
},
seatypc: {
get: function () {
return this.model.ptytyp === "C";
},
set: function (val) {
this.model.ptytyp = val ? "C" : "";
},
},
seatypa: {
get: function () {
return this.model.ptytyp === "A";
},
set: function (val) {
this.model.ptytyp = val ? "A" : "";
},
},
seatypo: {
get: function () {
return this.model.ptytyp === "O";
},
set: function (val) {
this.model.ptytyp = val ? "O" : "";
},
},
seatyph: {
get: function () {
return this.model.ptytyp === "H";
},
set: function (val) {
this.model.ptytyp = val ? "H" : "";
},
},
},
activated() {
const { update } = this.$route.params
......
......@@ -38,14 +38,6 @@ export default {
return {
tabVal: "infsea",
model: {
// pty
nam: "",
extkey: "",
idtype: "",
trnman: "",
idcode: "",
ptytyp: "C",
// paging
pageNum: 1,
pageSize: 5,
total: 0
......
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