Commit 2bcab564 by liuxin

detopn相关修改

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