Commit 2bcab564 by liuxin

detopn相关修改

parent 200d77d4
...@@ -359,7 +359,7 @@ export default { ...@@ -359,7 +359,7 @@ export default {
"dedgrp.rec.conamt":[ "dedgrp.rec.conamt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"dedgrp.blk.stamet":[ "dedgrp.blk.stamet":[
......
...@@ -101,7 +101,9 @@ ...@@ -101,7 +101,9 @@
> >
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg" style="margin-left: 10px" <c-checkbox
v-model="model.bfdgrp.blk.docdisflg"
style="margin-left: 10px"
>录入不符点</c-checkbox >录入不符点</c-checkbox
> >
</template> </template>
...@@ -144,24 +146,33 @@ ...@@ -144,24 +146,33 @@
> >
</span> </span>
</c-col> --> </c-col> -->
<c-col :span="24" style="height:24px;margin-top:20px"> <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel"> <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" style="height: 0px; margin-top: 5px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-docpre
:model="model"
:argadr="{
path: 'bftp.docgrdm.docgrd',
grp: 'bftp',
code: 'bdtdck',
}"
>
</c-docpre>
<!-- <c-col :span="24">
<c-table :data="model.bftp.docgrdm.docgrd" style="width: 100%"> <c-table :data="model.bftp.docgrdm.docgrd" style="width: 100%">
<el-table-column prop="cmail1" label="1st"> <el-table-column prop="cmail1" label="1st"> </el-table-column>
</el-table-column> <el-table-column prop="cmail2" label="2st"> </el-table-column>
<el-table-column prop="cmail2" label="2st">
</el-table-column>
<el-table-column prop="docnam" label="Document"> <el-table-column prop="docnam" label="Document">
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -170,12 +181,13 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -170,12 +181,13 @@ 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"; import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap, "c-docpre": Docpre },
data() { data() {
return {}; return {};
}, },
...@@ -184,9 +196,9 @@ export default { ...@@ -184,9 +196,9 @@ export default {
}; };
</script> </script>
<style> <style>
.messageLabel >>> .el-form-item__label{ .messageLabel >>> .el-form-item__label {
text-align: left; text-align: left;
font-weight:bold; font-weight: bold;
font-size: 12px; font-size: 12px;
} }
</style> </style>
...@@ -519,7 +519,6 @@ ...@@ -519,7 +519,6 @@
grp: 'dedgrp', grp: 'dedgrp',
rol: 'ben', rol: 'ben',
}" }"
:disabled="true"
:isAdrblk="false" :isAdrblk="false"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
...@@ -636,7 +635,6 @@ ...@@ -636,7 +635,6 @@
grp: 'dedgrp', grp: 'dedgrp',
rol: 'apl', rol: 'apl',
}" }"
:disabled="true"
:isAdrblk="false" :isAdrblk="false"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<c-col :span="23" style="margin-left:9px;height:25px"> <c-col :span="23" style="margin-left:9px;height:25px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<!-- ==============中部表格===================== --> <!-- ==============第一个表格===================== -->
<c-col :span="23" style="height:24px;margin-left:9px"> <c-col :span="23" style="height:24px;margin-left:9px">
<el-form-item <el-form-item
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
style="padding:4px" style="padding:4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRowSetfol(scope)"
> >
</c-button> </c-button>
<c-button <c-button
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
@click="removeRow(scope)" @click="removeRowSetfol(scope)"
> >
</c-button> </c-button>
</template> </template>
...@@ -319,7 +319,7 @@ ...@@ -319,7 +319,7 @@
style="padding:4px" style="padding:4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRowSetfel(scope)"
> >
</c-button> </c-button>
<c-button <c-button
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
@click="removeRow(scope)" @click="removeRowSetfel(scope)"
> >
</c-button> </c-button>
</template> </template>
...@@ -1076,18 +1076,25 @@ export default { ...@@ -1076,18 +1076,25 @@ export default {
}, },
methods: { methods: {
//第一个表格 //第一个表格
addRow() { addRowSetfol() {
let newRow = { ...dialog }; let newRow = { ...this.dialog };
this.model.setmod.setfog.setfol.push(newRow); this.model.setmod.setfog.setfol.splice(0, 0, newRow);
}, },
removeRow() { removeRowSetfol() {
this.model.setmod.setfog.setfol.pop(); this.model.setmod.setfog.setfol.shift();
}, },
saveDialog() { saveDialog() {
this.dialogVisible = false; this.dialogVisible = false;
this.model.setmod.setfog.setfol[this.index] = this.dialog; this.model.setmod.setfog.setfol[this.index] = this.dialog;
}, },
// 第二个表格 // 第二个表格
addRowSetfel() {
let newRow = { ...this.dialog2 };
this.model.setmod.setfeg.setfel.splice(0, 0, newRow);
},
removeRowSetfel() {
this.model.setmod.setfeg.setfel.shift();
},
detail1(index, row) { detail1(index, row) {
this.executeDefault("setfel.det").then(res=>{ this.executeDefault("setfel.det").then(res=>{
this.dialogVisible = true; this.dialogVisible = true;
......
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