Commit a1591c63 by liushikai
parents d85ce50e 0acb5727
...@@ -77,8 +77,8 @@ export default { ...@@ -77,8 +77,8 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"bddgrp.rec.tenmaxday":[ "bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} //{max: 3,message:"长度不能超过3"}
], ],
"bddgrp.ben.pts.nam":[ "bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
], ],
"liaall.limmod.comamt":[ "liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"}, //{type: "number", 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位" }
], ],
...@@ -314,7 +314,7 @@ export default { ...@@ -314,7 +314,7 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"liaall.limmod.ccvamt":[ "liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"}, //{type: "number", 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位" }
], ],
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bdtset{ export default class Bdtset{
constructor () { constructor () {
this.data = { this.data = {
liaall:{ liaall: new Pub().data.Liaall,
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{ setmod:{
doccur:"", // document currency .setmod.doccur doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt docamt:"", // document amount .setmod.docamt
...@@ -219,29 +162,7 @@ export default class Bdtset{ ...@@ -219,29 +162,7 @@ export default class Bdtset{
extrat:"", // Exchange Rate .trtcre.extrat extrat:"", // Exchange Rate .trtcre.extrat
}, },
paypsb:"", // Unpaid by Applicant .paypsb paypsb:"", // Unpaid by Applicant .paypsb
mtabut:{ mtabut: new Pub().data.Mtabut,
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
bddgrp:{ bddgrp:{
rec:{ rec:{
frepayflg:"", // Free of Payment Flag .bddgrp.rec.frepayflg frepayflg:"", // Free of Payment Flag .bddgrp.rec.frepayflg
...@@ -390,16 +311,7 @@ export default class Bdtset{ ...@@ -390,16 +311,7 @@ export default class Bdtset{
dfucur:"", // 代付金额: .dftcre.dfucur dfucur:"", // 代付金额: .dftcre.dfucur
dfuamt:"", // 代付金额: .dftcre.dfuamt dfuamt:"", // 代付金额: .dftcre.dfuamt
}, },
trnmod:{ trnmod: new Pub().data.Trnmod,
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot: [],
},
},
fkr:"", // 付款人: .fkr fkr:"", // 付款人: .fkr
fkzh:"", // 付款账号: .fkzh fkzh:"", // 付款账号: .fkzh
qxr:"", // 起息日: .qxr qxr:"", // 起息日: .qxr
......
...@@ -16,15 +16,26 @@ ...@@ -16,15 +16,26 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row>
<c-col :span="24"> <el-form-item label="快递单号">
<c-input
type="textarea"
:disabled="false"
:rows="2"
v-model="model.expmno"
maxlength="120"
show-word-limit
placeholder="请输入单号"
></c-input>
</el-form-item>
<c-row>
<c-col :span="24">
<c-istream-table <c-istream-table
:list="model.bdtp.docgrdm.docgrd" :list="model.bdtp.docgrdm.docgrd"
:columns="columns" :columns="columns"
> >
</c-istream-table> </c-istream-table>
</c-col> </c-col>
</c-row> </c-row>
</c-col> </c-col>
...@@ -37,8 +48,6 @@ ...@@ -37,8 +48,6 @@
> >
</div> </div>
</c-col> </c-col>
</c-row> </c-row>
</c-col> </c-col>
</c-row> </c-row>
......
...@@ -90,7 +90,7 @@ import Engp from "~/views/Public/Engp"; ...@@ -90,7 +90,7 @@ import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "./Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Bdtdcr", name: "Bdtdcr",
......
...@@ -440,20 +440,65 @@ ...@@ -440,20 +440,65 @@
v-model="model.bddgrp.rec.docprbrol" v-model="model.bddgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择Presented by" placeholder="请选择Presented by"
:code="getValues('bddgrp.rec.docprbrol')"
@change="docprbrolChange"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行BIC" prop="bddgrp.apl.pts.extkey"> <el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
<c-input <c-input
v-model="model.bddgrp.prb.pts.extkey" v-model="model.bddgrp.prb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" style="width: 100%"
placeholder="请输入交单行BIC"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
<c-input
v-model="model.bddgrp.prb.pts.bankno"
maxlength="20"
style="width: 100%"
placeholder="请输入交单行联行行号"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
@keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行名称(电证用)">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.jigomc"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入联行名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行地址(电证用)">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.dizhii"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入交单行地址"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-ptapdome <!-- <c-ptapdome
:disabledJigomc="true" :disabledJigomc="true"
:disabledDizhii="true" :disabledDizhii="true"
:model="model" :model="model"
...@@ -462,7 +507,7 @@ ...@@ -462,7 +507,7 @@
rol: 'apl', rol: 'apl',
grp: 'bddgrp', grp: 'bddgrp',
}" }"
></c-ptapdome> ></c-ptapdome> -->
...@@ -584,6 +629,7 @@ import CommonProcess from "~/mixin/CommonProcess"; ...@@ -584,6 +629,7 @@ import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtset/Event"; import Event from "~/model/Bdtset/Event";
import PtapDome from "~/views/Public/PtapDome"; import PtapDome from "~/views/Public/PtapDome";
import Utils from "~/utils";
export default { export default {
components: { "c-ptapdome": PtapDome }, components: { "c-ptapdome": PtapDome },
...@@ -599,13 +645,22 @@ export default { ...@@ -599,13 +645,22 @@ export default {
'3 3 "Cdt" 0 ', '3 3 "Cdt" 0 ',
'4 4 "Cur" 0 ', '4 4 "Cur" 0 ',
'5 5 "Amt" 0 ', '5 5 "Amt" 0 ',
'6 6 "Mat.Dat." 0 ', '6 6 "Mat Dat" 0 ',
], ],
data: [], data: [],
}, },
}; };
}, },
methods: { ...Event }, methods: { ...Event,
docprbrolChange(){
this.executeRule("bddgrp.rec.docprbrol").then((res) => {
if ((res.respCode = SUCCESS)) {
debugger;
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -17,12 +17,12 @@ ...@@ -17,12 +17,12 @@
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000005 --> <!--PD000005 -->
<el-tab-pane label="付款信息" name="utlp"> <el-tab-pane label="付款信息" name="utlp">
<c-content> <c-content>
<m-utlp :model="model" :codes="codes"/> <m-utlp :model="model" :codes="codes" ref="utlp"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="融资" name="crefin" v-if="model.trtcre.crefinflg"> <el-tab-pane label="融资" name="crefin" v-if="model.trtcre.crefinflg">
...@@ -84,6 +84,8 @@ ...@@ -84,6 +84,8 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -174,16 +176,17 @@ export default { ...@@ -174,16 +176,17 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){
}
}, },
created:async function(){ created:async function(){
console.log("进入bdtset交易"); console.log("进入bdtset交易");
console.log(new Bdtset().data) console.log(new Bdtset().data)
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
let that = this;
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
that.$refs.utlp.stmData.data=rtnmsg.data.liaall_tenstm.rows
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
type="date" type="date"
v-model="model.didgrp.rec.opndat" v-model="model.didgrp.rec.opndat"
disabled disabled
style="width: 95%" style="width: 100%"
placeholder="请选择开证日期" placeholder="请选择开证日期"
> >
</c-date-picker> </c-date-picker>
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
type="date" type="date"
v-model="model.didgrp.rec.expdat" v-model="model.didgrp.rec.expdat"
disabled disabled
style="width: 95%" style="width: 100%"
placeholder="到期日" placeholder="到期日"
> >
</c-date-picker> </c-date-picker>
...@@ -597,6 +597,7 @@ ...@@ -597,6 +597,7 @@
style="width: 100%" style="width: 100%"
placeholder="请输入交单行联行行号" placeholder="请输入交单行联行行号"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true" :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
@keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -667,7 +668,7 @@ ...@@ -667,7 +668,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="model.bddgrp.rec.dscinsflg"> <el-form-item label="" prop="model.bddgrp.rec.dscinsflg">
<c-checkbox v-model="model.bddgrp.rec.dscinsflg" <c-checkbox v-model="model.bddgrp.rec.dscinsflg" @change="isShowDocpre"
>录入单据、不符点、结算指示和货运详细信息</c-checkbox >录入单据、不符点、结算指示和货运详细信息</c-checkbox
> >
</el-form-item> </el-form-item>
...@@ -733,6 +734,9 @@ export default { ...@@ -733,6 +734,9 @@ export default {
} }
}); });
}, },
isShowDocpre(val){
this.$emit("changeShowDocpre", val)
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<!--PD000047 --> <!--PD000047 -->
<el-tab-pane label="单据概况" name="litdckp"> <el-tab-pane label="单据概况" name="litdckp">
<c-content> <c-content>
<m-litdckp :model="model" :codes="codes" /> <m-litdckp :model="model" :codes="codes" v-on:changeShowDocpre="changeShowDocpre"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -26,9 +26,10 @@ ...@@ -26,9 +26,10 @@
</el-tab-pane> --> </el-tab-pane> -->
<!--PD000062 --> <!--PD000062 -->
<el-tab-pane label="单据详情" name="docpre"> <el-tab-pane label="单据详情" name="docpre" v-if="isShowDocpre">
<m-docpre :model="model" :codes="codes" /> <m-docpre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--PD000079 --> <!--PD000079 -->
<!-- <el-tab-pane label="Shipping Detail" name="shpdet"> <!-- <el-tab-pane label="Shipping Detail" name="shpdet">
...@@ -115,6 +116,7 @@ export default { ...@@ -115,6 +116,7 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
isShowDocpre:false,
tabVal: "litdckp", tabVal: "litdckp",
trnName: "ditdck", trnName: "ditdck",
model: new Ditdck().data, model: new Ditdck().data,
...@@ -129,7 +131,7 @@ export default { ...@@ -129,7 +131,7 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {},
}, },
created: async function () { created: async function () {
// console.log("进入ditdck交易"); // console.log("进入ditdck交易");
...@@ -157,6 +159,11 @@ export default { ...@@ -157,6 +159,11 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
}, },
methods: {
changeShowDocpre(val) {
this.isShowDocpre = val
}
}
}; };
</script> </script>
<style> <style>
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<c-row> <c-row>
<c-col :span="23"> <c-col :span="23">
<c-col :span="8"> <c-col :span="6">
<el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%"> <el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%" >
<c-input <c-input
v-model="model.infcon.seaownref" v-model="model.infcon.seaownref"
maxlength="16" maxlength="16"
...@@ -24,9 +24,12 @@ ...@@ -24,9 +24,12 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="2">
&nbsp;
</c-col>
<c-col :span="10">
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%"> <el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatfrom" v-model="model.infcon.opndatfrom"
...@@ -37,7 +40,7 @@ ...@@ -37,7 +40,7 @@
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatto" v-model="model.infcon.opndatto"
...@@ -47,7 +50,7 @@ ...@@ -47,7 +50,7 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="6">
<el-form-item label="Name" prop="infcon.nam" style="width: 100%"> <el-form-item label="Name" prop="infcon.nam" style="width: 100%">
<c-input <c-input
v-model="model.infcon.nam" v-model="model.infcon.nam"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
> >
<el-row> <el-row>
<c-col :span="23"> <c-col :span="23">
<c-col :span="8"> <c-col :span="6">
<el-form-item <el-form-item
label="Own Reference" label="Own Reference"
prop="infcon.seaownref" prop="infcon.seaownref"
...@@ -26,13 +26,17 @@ ...@@ -26,13 +26,17 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="2">
&nbsp;
</c-col>
<c-col :span="10">
<el-form-item <el-form-item
label="Opening between" label="Opening between"
prop="infcon.opndatfrom" prop="infcon.opndatfrom"
style="width: 100%" style="width: 100%"
> >
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatfrom" v-model="model.infcon.opndatfrom"
...@@ -44,7 +48,7 @@ ...@@ -44,7 +48,7 @@
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="10">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.infcon.opndatto" v-model="model.infcon.opndatto"
...@@ -56,7 +60,7 @@ ...@@ -56,7 +60,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="6">
<el-form-item <el-form-item
label="Party Reference" label="Party Reference"
prop="infcon.searef" prop="infcon.searef"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
v-model="model[argadr.url + 'ref']" v-model="model[argadr.url + 'ref']"
maxlength="16" maxlength="16"
:placeholder="'请输入' + argadr.title + '编号'" :placeholder="'请输入' + argadr.title + '编号'"
:disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -16,6 +17,7 @@ ...@@ -16,6 +17,7 @@
v-model="model[argadr.url + 'nam']" v-model="model[argadr.url + 'nam']"
maxlength="40" maxlength="40"
:placeholder="'请输入' + argadr.title + '名称'" :placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -28,14 +30,26 @@ import CommonProcess from "~/mixin/CommonProcess"; ...@@ -28,14 +30,26 @@ import CommonProcess from "~/mixin/CommonProcess";
export default { export default {
inject: ["root"], inject: ["root"],
mixins: [CommonProcess], mixins: [CommonProcess],
props: ["model", "codes", "argadr"], props: {
model: {
type: Object,
default: undefined,
},
codes: {},
argadr: {},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
},
data() { data() {
return { return {
data: [], data: [],
}; };
}, },
watch: {}, watch: {},
// methods: { ...Event }, // methods: { ...Event },
created: function () {}, created: function () {},
}; };
</script> </script>
......
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