Commit 0cb7545b by liuxin

detdrv交易补充

parent 597484a7
export default { export default {
"bfdgrp.blk.docdis":[ "bfdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"bfdgrp.blk.intdis":[ "bfdgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -26,23 +26,23 @@ export default { ...@@ -26,23 +26,23 @@ export default {
], ],
"bfdgrp.oth.namelc":[ "bfdgrp.oth.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.oth.pts.adrblk":[ "bfdgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.oth.dbfadrblkcn":[ "bfdgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.oth.adrelc":[ "bfdgrp.oth.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.rec.expmno":[ "bfdgrp.rec.expmno":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
"dedgrp.rec.kzref":[ "dedgrp.rec.kzref":[
...@@ -51,27 +51,22 @@ export default { ...@@ -51,27 +51,22 @@ export default {
], ],
"bfdgrp.rec.lescom":[ "bfdgrp.rec.lescom":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"letprbl1blk":[ "letprbl1blk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 200,message:"长度不能超过200"} {max: 200,message:"长度不能超过200"}
], ],
"letissl1blk":[ "letissl1blk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 200,message:"长度不能超过200"} {max: 200,message:"长度不能超过200"}
], ],
"bfdgrp.cbs.max.cur":[ "bfdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"bfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.cbs.max2.amt":[ "bfdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
...@@ -79,11 +74,11 @@ export default { ...@@ -79,11 +74,11 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bfdgrp.blk.chaded":[ "bfdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.blk.chaadd":[ "bfdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.rec.totcur":[ "bfdgrp.rec.totcur":[
...@@ -109,23 +104,23 @@ export default { ...@@ -109,23 +104,23 @@ export default {
], ],
"bfdgrp.acb.namelc":[ "bfdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.acb.pts.adrblk":[ "bfdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.acb.dbfadrblkcn":[ "bfdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.acb.adrelc":[ "bfdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.blk.nartxt77a":[ "bfdgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bftp.rmbp.ptsget.sdamod.dadsnd":[ "bftp.rmbp.ptsget.sdamod.dadsnd":[
...@@ -142,19 +137,19 @@ export default { ...@@ -142,19 +137,19 @@ export default {
], ],
"bfdgrp.rmb.namelc":[ "bfdgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.rmb.pts.adrblk":[ "bfdgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.rmb.dbfadrblkcn":[ "bfdgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.rmb.adrelc":[ "bfdgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bftp.bebp.ptsget.sdamod.dadsnd":[ "bftp.bebp.ptsget.sdamod.dadsnd":[
...@@ -171,19 +166,19 @@ export default { ...@@ -171,19 +166,19 @@ export default {
], ],
"dedgrp.beb.namelc":[ "dedgrp.beb.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.beb.pts.adrblk":[ "dedgrp.beb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.beb.dbfadrblkcn":[ "dedgrp.beb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.beb.adrelc":[ "dedgrp.beb.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.rec.totdat":[ "bfdgrp.rec.totdat":[
...@@ -315,7 +310,7 @@ export default { ...@@ -315,7 +310,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"dedgrp.rec.expplc":[ "dedgrp.rec.expplc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.prb.pts.nam":[ "bfdgrp.prb.pts.nam":[
...@@ -339,7 +334,7 @@ export default { ...@@ -339,7 +334,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"bfdgrp.cbs.max.amt":[ "bfdgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -362,7 +357,7 @@ export default { ...@@ -362,7 +357,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"bfdgrp.prb.pts.jigomc":[ "bfdgrp.prb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.rec.matdat":[ "bfdgrp.rec.matdat":[
...@@ -373,17 +368,14 @@ export default { ...@@ -373,17 +368,14 @@ export default {
], ],
"bfdgrp.prb.pts.dizhii":[ "bfdgrp.prb.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bfdgrp.blk.matper":[ "bfdgrp.blk.matper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"bfdgrp.rec.invtyp":[
{type: "string", required: true, message: "必输项"},
"dedgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
], ],
} }
\ No newline at end of file
...@@ -83,6 +83,7 @@ export default class Detdrv{ ...@@ -83,6 +83,7 @@ export default class Detdrv{
bftp:{ bftp:{
docgrdm:{ docgrdm:{
docdsclab:"", // Label of document description .bftp.docgrdm.docdsclab docdsclab:"", // Label of document description .bftp.docgrdm.docdsclab
docgrd:"",
}, },
folwupopt:"", // Processing Options .bftp.folwupopt folwupopt:"", // Processing Options .bftp.folwupopt
othp:{ othp:{
......
...@@ -384,8 +384,8 @@ ...@@ -384,8 +384,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发票类型" prop="bfdgrp.rec.invtyp">
<c-fullbox> <c-fullbox>
<el-form-item label="发票类型" prop="bfdgrp.rec.invtyp">
<c-select <c-select
v-model="model.bfdgrp.rec.invtyp" v-model="model.bfdgrp.rec.invtyp"
style="width: 100%" style="width: 100%"
...@@ -396,15 +396,18 @@ ...@@ -396,15 +396,18 @@
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
> </el-option> >
</el-option>
</c-select> </c-select>
</el-form-item>
<template slot="footer"> <template slot="footer">
<c-checkbox v-model="model.bfdgrp.rec.dscinsflg" <c-checkbox
v-model="dscinsflg_flag"
style="margin-left: 10px"
>输入单据不符点指示</c-checkbox >输入单据不符点指示</c-checkbox
> >
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -519,7 +522,17 @@ export default { ...@@ -519,7 +522,17 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: { ...Event, dscinsflgChange() {} },
computed: {
dscinsflg_flag: {
get: function () {
return this.model.bfdgrp.rec.dscinsflg === "X";
},
set(val) {
this.model.bfdgrp.rec.dscinsflg = val ? "X" : "";
},
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- Left -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24">
<c-col :span="20"> <el-form-item
<el-form-item label="不符点" prop="bfdgrp.blk.docdis"> label="不符点"
<c-input type="textarea" v-model="model.bfdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input> prop="bfdgrp.blk.docdis"
</el-form-item> style="width: 100%"
</c-col> >
<c-fullbox>
<c-col :span="4"> <c-input
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"> type="textarea"
v-model="model.bfdgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="请输入不符点"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
... ...
</c-button> </c-button>
</c-col> </template>
</c-fullbox>
<c-col :span="20">
<el-form-item label="内部不符点" prop="bfdgrp.blk.intdis">
<c-input type="textarea" v-model="model.bfdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入内部不符点" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="24">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel"> <el-form-item
label="内部不符点"
prop="bfdgrp.blk.intdis"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.bfdgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="请输入内部不符点"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
... ...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="快递单号" prop="bfdgrp.rec.expmno">
<c-input
type="textarea"
v-model="model.bfdgrp.rec.expmno"
maxlength="60"
<c-col :span="12"> show-word-limit
<span v-text="model.bftp.docgrdm.docdsclab" data-path=".bftp.docgrdm.docdsclab" > </span> placeholder="请输入快递单号"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="扣减佣金" prop="bfdgrp.rec.lescom">
<c-input
v-model="model.bfdgrp.rec.lescom"
placeholder="请输入扣减佣金"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg">录入不符点</c-checkbox> <el-form-item label="参考号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="35"
placeholder="请输入参考号"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<!-- Right -->
<c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="寄单状态" prop="bftp.folwupopt"> <el-form-item label="寄单状态" prop="bftp.folwupopt">
<c-select v-model="model.bftp.folwupopt" style="width:100%" placeholder="请选择寄单状态"> <c-fullbox>
<c-select
v-model="model.bftp.folwupopt"
style="width: 100%"
placeholder="请选择寄单状态"
>
</c-select> </c-select>
<template slot="footer">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg" style="margin-left: 10px"
>录入不符点</c-checkbox
>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol"> <el-form-item label="付款人" prop="bfdgrp.rec.payrol">
<c-select v-model="model.bfdgrp.rec.payrol" style="width:100%" placeholder="请选择付款人"> <c-select
v-model="model.bfdgrp.rec.payrol"
style="width: 100%"
placeholder="请选择付款人"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
:model="model" :model="model"
...@@ -74,53 +130,60 @@ ...@@ -74,53 +130,60 @@
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="信用证编号" prop="dedgrp.rec.kzref">
<c-input v-model="model.dedgrp.rec.kzref" maxlength="35" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="快递单号" prop="bfdgrp.rec.expmno"> <span
<c-input type="textarea" v-model="model.bfdgrp.rec.expmno" maxlength="60" show-word-limit placeholder="请输入快递单号" ></c-input> v-text="model.bftp.docgrdm.docdsclab"
data-path=".bftp.docgrdm.docdsclab"
>
</span>
</c-col> -->
<c-col :span="24" style="height:24px;margin-top:20px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height:0px;margin-top:5px">
<c-col :span="24"> <el-divider></el-divider>
<el-form-item label="扣减佣金" prop="bfdgrp.rec.lescom">
<c-input v-model="model.bfdgrp.rec.lescom" placeholder="请输入扣减佣金"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-table :data="model.bftp.docgrdm.docgrd" style="width: 100%">
<el-table-column prop="cmail1" label="1st">
</el-table-column>
<el-table-column prop="cmail2" label="2st">
</el-table-column>
<el-table-column prop="docnam" label="Document">
</el-table-column>
</c-table>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detdrv/Event" import Event from "~/model/Detdrv/Event";
import Ptap from "~/views/Public/Ptap";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ components: {
return { "c-ptap": Ptap,
}
}, },
methods:{...Event}, data() {
created:function(){ return {};
},
} methods: { ...Event },
} created: function () {},
};
</script> </script>
<style> <style>
.messageLabel >>> .el-form-item__label{
text-align: left;
font-weight:bold;
font-size: 12px;
}
</style> </style>
...@@ -28,8 +28,14 @@ ...@@ -28,8 +28,14 @@
</el-tab-pane> </el-tab-pane>
<!--PD000139 --> <!--PD000139 -->
<el-tab-pane label="不符点通知" name="mt750p"> <!-- <el-tab-pane label="不符点通知" name="mt750p">
<m-mt750p :model="model" :codes="codes"/> <m-mt750p :model="model" :codes="codes"/>
</el-tab-pane> -->
<el-tab-pane label="或有" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000147 --> <!--PD000147 -->
...@@ -53,11 +59,7 @@ ...@@ -53,11 +59,7 @@
<m-glepan :model="model" :codes="codes" ref="glepan" /> <m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="表外" name="engp"> -->
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!-- <el-tab-pane label="保证金" name="ccvpan"> <!-- <el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" /> <m-ccvpan :model="model" :codes="codes" />
......
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