Commit b5b93db8 by zhujiazhan

Sptneg交易页面修改

parent 104e3aa6
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
], ],
"spt.inftxt":[ "spt.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
], ],
"spt.dattim":[ "spt.dattim":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"} {max: 25,message:"长度不能超过25"}
], ],
"spt.cretrn":[ "spt.cretrn":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
"spt.tardattim":[ "spt.tardattim":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"} {max: 25,message:"长度不能超过25"}
], ],
"sptp.smh.msgtyp":[ "sptp.smh.msgtyp":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"sptp.smh.relamt":[ "sptp.smh.relamt":[
{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位" }
], ],
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-button size="small" type="primary" @click="onUsfmodShwflt"> <c-button size="small" type="primary" @click="onUsfmodShwflt">
Sho&w Set Show & Set
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -127,6 +127,7 @@ ...@@ -127,6 +127,7 @@
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="getButtons(scope.row)"
> >
详情 详情
</c-button> </c-button>
...@@ -142,7 +143,6 @@ ...@@ -142,7 +143,6 @@
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<el-dialog <el-dialog
:visible.sync="initdialog" :visible.sync="initdialog"
:title="'操作列表'" :title="'操作列表'"
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
size="medium" size="medium"
type="primary" type="primary"
class="medium_bcs" class="medium_bcs"
@click.native="onOperate('Show211111')" @click.native="onShow('Show211111')"
title="Show2" title="Show2"
:disabled=this.flag > :disabled=this.flag >
Show Show
...@@ -226,6 +226,8 @@ ...@@ -226,6 +226,8 @@
</div> </div>
</el-dialog> </el-dialog>
<m-sptp0 ref="childs" :model="model" :codes="codes"></m-sptp0>
</div> </div>
</template> </template>
<script> <script>
...@@ -233,11 +235,15 @@ import Api from "~/service/Api" ...@@ -233,11 +235,15 @@ 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/Sptneg/Event" import Event from "~/model/Sptneg/Event"
import Sptp0 from "./Sptp0"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
components:{
"m-sptp0" : Sptp0,
},
data(){ data(){
return { return {
initdialog: false, initdialog: false,
...@@ -306,8 +312,6 @@ export default { ...@@ -306,8 +312,6 @@ export default {
} else { } else {
this.initdialog = false this.initdialog = false
} }
}, },
onOperate2(vul){ onOperate2(vul){
this.$confirm('Are you sure that you want to return selected items?','提示',{ this.$confirm('Are you sure that you want to return selected items?','提示',{
...@@ -333,8 +337,11 @@ export default { ...@@ -333,8 +337,11 @@ export default {
}); });
} },
async onShow(row){
this.initdialog = false
this.$refs.childs.initdialog2 = true
},
}, },
created:function(){ created:function(){
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000049 --> <!--PD000049
<el-tab-pane label="PD000049" name="prtswtr"> <el-tab-pane label="PD000049" name="prtswtr">
<m-prtswtr :model="model" :codes="codes"/> <m-prtswtr :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>-->
<!--PD000062 --> <!--PD000062 -->
<el-tab-pane label="PD000062" name="prtswtrp"> <el-tab-pane label="PD000062" name="prtswtrp">
...@@ -30,16 +30,6 @@ ...@@ -30,16 +30,6 @@
<m-xmldoc :model="model" :codes="codes"/> <m-xmldoc :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="sptp0">
<m-sptp0 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000029 -->
<el-tab-pane label="PD000029" name="sptpopup">
<m-sptpopup :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000029 --> <!--PD000029 -->
<el-tab-pane label="PD000029" name="ordp0"> <el-tab-pane label="PD000029" name="ordp0">
<m-ordp0 :model="model" :codes="codes"/> <m-ordp0 :model="model" :codes="codes"/>
...@@ -99,8 +89,6 @@ import Prtswtr from "./Prtswtr" ...@@ -99,8 +89,6 @@ import Prtswtr from "./Prtswtr"
import Prtswtrp from "./Prtswtrp" import Prtswtrp from "./Prtswtrp"
import Prtswtp from "./Prtswtp" import Prtswtp from "./Prtswtp"
import Xmldoc from "./Xmldoc" import Xmldoc from "./Xmldoc"
import Sptp0 from "./Sptp0"
import Sptpopup from "./Sptpopup"
import Ordp0 from "./Ordp0" import Ordp0 from "./Ordp0"
import Prtpan from "./Prtpan" import Prtpan from "./Prtpan"
import Prtp from "./Prtp" import Prtp from "./Prtp"
...@@ -117,8 +105,6 @@ export default { ...@@ -117,8 +105,6 @@ export default {
"m-prtswtrp" : Prtswtrp, "m-prtswtrp" : Prtswtrp,
"m-prtswtp" : Prtswtp, "m-prtswtp" : Prtswtp,
"m-xmldoc" : Xmldoc, "m-xmldoc" : Xmldoc,
"m-sptp0" : Sptp0,
"m-sptpopup" : Sptpopup,
"m-ordp0" : Ordp0, "m-ordp0" : Ordp0,
"m-prtpan" : Prtpan, "m-prtpan" : Prtpan,
"m-prtp" : Prtp, "m-prtp" : Prtp,
...@@ -135,7 +121,7 @@ export default { ...@@ -135,7 +121,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "utlp", tabVal: "menu",
trnName: "sptneg", trnName: "sptneg",
model: new Sptneg().data, model: new Sptneg().data,
checkRules: Check, checkRules: Check,
......
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