Commit 95658656 by wangyanjiao

#253

parent 92ed1adb
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
], ],
"bodgrp.blk.delins":[ "bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 300,message:"长度不能超过300"}
], ],
"bodgrp.blk.intins":[ "bodgrp.blk.intins":[
......
...@@ -75,7 +75,11 @@ ...@@ -75,7 +75,11 @@
placeholder="请输入Draft Instructions"> placeholder="请输入Draft Instructions">
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary"> <c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.dftins.buttxmsel',null,null,{TXT:'bodgrp.blk.dftins'},{TXT:false},'doxpDialog')"
>
... ...
</c-button> </c-button>
</template> </template>
...@@ -108,7 +112,11 @@ ...@@ -108,7 +112,11 @@
placeholder="请输入Protest Instructions"> placeholder="请输入Protest Instructions">
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary"> <c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.proins.buttxmsel',null,null,{TXT:'bodgrp.blk.proins'},{TXT:false},'doxpDialog')"
>
... ...
</c-button> </c-button>
</template> </template>
...@@ -143,7 +151,11 @@ ...@@ -143,7 +151,11 @@
placeholder="请输入Other Instructions"> placeholder="请输入Other Instructions">
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary"> <c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.othins.buttxmsel',null,null,{TXT:'bodgrp.blk.othins'},{TXT:false},'doxpDialog')"
>
... ...
</c-button> </c-button>
</template> </template>
...@@ -174,7 +186,11 @@ ...@@ -174,7 +186,11 @@
placeholder="请输入Warehouse/Insurance instruction"> placeholder="请输入Warehouse/Insurance instruction">
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary"> <c-button
size="small"
type="primary"
@click="showGridPromptDialog('botp.whins.buttxmsel',null,null,{TXT:'bodgrp.blk.delins'},{TXT:false},'doxpDialog')"
>
... ...
</c-button> </c-button>
</template> </template>
...@@ -309,8 +325,8 @@ ...@@ -309,8 +325,8 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px"> <el-form-item label="less comm" prop="bodgrp.cbs.opn1.cur" style="padding-top:15px">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width: %" placeholder="请选择Document Amount" :disabled="true" <c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Document Amount"
:code="codes.cur"> :disabled="true" :code="codes.cur">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -338,12 +354,12 @@ ...@@ -338,12 +354,12 @@
</c-row> </c-row>
</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/Botdav/Event" import Event from "~/model/Botdav/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -356,17 +372,17 @@ export default { ...@@ -356,17 +372,17 @@ export default {
created: function () { created: function () {
}, },
computed:{ computed: {
colinsflg:{ colinsflg: {
get(){ get() {
return this.model.bodgrp.blk.colinsflg ==="X"; return this.model.bodgrp.blk.colinsflg === "X";
}, },
set(val){ set(val) {
this.model.bodgrp.blk.colinsflg=val ? "X":""; this.model.bodgrp.blk.colinsflg = val ? "X" : "";
}, },
}, },
} }
} }
</script> </script>
<style> <style>
......
...@@ -87,36 +87,37 @@ ...@@ -87,36 +87,37 @@
</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 ref="doxpDialog" :isPty="false" :promptData="promptData"
@select-ety="selectMsg">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Botdav from "~/model/Botdav" import Botdav from "~/model/Botdav"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdav/Check" import Check from "~/model/Botdav/Check"
import Default from "~/model/Botdav/Default" import Default from "~/model/Botdav/Default"
import Pattern from "~/model/Botdav/Pattern" import Pattern from "~/model/Botdav/Pattern"
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
import Inst from "./Inst" import Inst from "./Inst"
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp" import Instrecp from "./Instrecp"
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 Doctre from "./Doctre" //import Doctre from "./Doctre"
import Cnyp from "./Cnyp" import Cnyp from "./Cnyp"
import Srmp from "./Srmp" import Srmp from "./Srmp"
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp"
import Glepan from "~/views/Public/Glepan" import Glepan from "~/views/Public/Glepan"
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre"
export default { export default {
name: "botdav", name: "botdav",
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
...@@ -177,7 +178,7 @@ export default { ...@@ -177,7 +178,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
}; };
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
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