Commit 012be5d8 by 潘际乾

setpan相关

parent 70dfe9fc
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
......
...@@ -447,8 +447,7 @@ ...@@ -447,8 +447,7 @@
</c-col> </c-col>
</c-row> </c-row>
--> -->
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose" <m-busbtn ref="childs" :ownref="ownref" trnCode="detsel" ownrefPath="dedgrp" :model="detselModel" @onChoose="onChoose"></m-busbtn
>11</m-busbtn
> >
</div> </div>
...@@ -460,6 +459,7 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -460,6 +459,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbfd/Event"; import Event from "~/model/Infbfd/Event";
//交易跳转逻辑 //交易跳转逻辑
import DetselModel from "~/model/Detsel"
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
...@@ -469,6 +469,7 @@ export default { ...@@ -469,6 +469,7 @@ export default {
components: { "m-busbtn": BusNavbar }, components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
detselModel:new DetselModel().data,
ownref: "", ownref: "",
initdialog: false, initdialog: false,
dialogTableVisible: false, dialogTableVisible: false,
......
...@@ -7,12 +7,16 @@ ...@@ -7,12 +7,16 @@
<!--PD000006 --> <!--PD000006 -->
<el-tab-pane label="查询" name="infsea"> <el-tab-pane label="查询" name="infsea">
<m-infsea :model="model" :codes="codes"/> <c-content>
<m-infsea :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="内容" name="ovwp"> <el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes"/> <c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!-- <!--
......
...@@ -903,6 +903,10 @@ ...@@ -903,6 +903,10 @@
</c-col> </c-col>
</c-row> </c-row>
</el-form> </el-form>
<span slot="footer" class="dialog-footer">
<c-button type="primary" @click="saveDialog3">确 定</c-button>
<c-button @click="detpDialogVisible = false">取 消</c-button>
</span>
</el-dialog> </el-dialog>
</template> </template>
...@@ -970,7 +974,7 @@ export default { ...@@ -970,7 +974,7 @@ export default {
}, },
saveDialog() { saveDialog() {
this.dialogVisible = false; this.dialogVisible = false;
this.model.setmod.setfog.setfol[this.index] = this.dialog; this.model.setmod.setfog.setfol.splice(this.index, 1, this.dialog);
}, },
// 第二个表格 // 第二个表格
addRowSetfel() { addRowSetfel() {
...@@ -1008,6 +1012,10 @@ export default { ...@@ -1008,6 +1012,10 @@ export default {
}, },
// 第三个表格 // 第三个表格
saveDialog3() {
this.detpDialogVisible = false;
this.model.setmod.setglg.setgll.splice(this.index, 1, this.dialog3)
},
async handleDetail(index, row) { async handleDetail(index, row) {
const that = this; const that = this;
const rule = "setmod.setglg.setgll(" + (index + 1) + ").det"; const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item label="优惠百分比"> <el-form-item label="优惠百分比">
<c-input v-model="formData.dctrat"> <c-input v-model="formData.dctrat">
<template #append>%</template> <template #suffix>%</template>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -339,7 +339,7 @@ export default { ...@@ -339,7 +339,7 @@ export default {
}, },
methods: { methods: {
saveDialog() { saveDialog() {
this.model.setmod.setfeg.setfel[this.idx] = this.formData; this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData);
this.visiable = false; this.visiable = false;
}, },
beforeClose(done) { beforeClose(done) {
......
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