Commit b5b93db8 by zhujiazhan

Sptneg交易页面修改

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