Commit 98c0e4d1 by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents 752ecdd3 b7b2f8b7
...@@ -118,10 +118,10 @@ let checkObj = { ...@@ -118,10 +118,10 @@ let checkObj = {
"mtabut.coninf.conexedat":[ "mtabut.coninf.conexedat":[
//{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"mtabut.coninf.usr.extkey":[ // "mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"} // {max: 8,message:"长度不能超过8"}
], // ],
"trnmod.trndoc.advnam":[ "trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -154,7 +154,7 @@ let checkObj = { ...@@ -154,7 +154,7 @@ let checkObj = {
], ],
"setmod.dspflg" :null, "setmod.dspflg" :null,
"botp0.recget.sdamod.dadsnd" :null, "botp0.recget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null, // "mtabut.coninf.conexedat" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
} }
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
</div> </div>
</template> </template>
<script> <script>
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Getcan/Event" import Event from "~/model/Getcan/Event"
import canp from "./Canp"; import canp from "./Canp";
......
...@@ -18,25 +18,21 @@ ...@@ -18,25 +18,21 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!-- 费用/账务 --> <el-tab-pane label="表外记账" name="engp">
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<div class="eibs-tab"> <!-- 表外记账 -->
<el-collapse v-model="activeNames"> <m-engp :model="model" :codes="codes" />
<el-collapse-item title="表外记账" name="engp"> </c-content>
<!-- 表外记账 --> </el-tab-pane>
<m-engp :model="model" :codes="codes" />
</el-collapse-item> <!--PD000027 -->
<el-collapse-item title="结算" name="setpan"> <el-tab-pane label="费用/账务" name="setmod">
<!-- 结算 --> <c-content>
<m-setpan :model="model" :codes="codes" /> <m-setmod
</el-collapse-item> :model="model"
<el-collapse-item title="账务" name="glepan"> :codes="codes"
<!-- 会计分录 --> @changeSetmodModel="changeSetmodModel"
<m-glepan :model="model" :codes="codes" /> />
</el-collapse-item>
</el-collapse>
</div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -64,10 +60,11 @@ ...@@ -64,10 +60,11 @@
</el-form> </el-form>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" @select-ety="selectGridEtyPromptData"
></c-grid-ety-prompt-dialog> >
</c-grid-ety-prompt-dialog>
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
...@@ -88,30 +85,26 @@ ...@@ -88,30 +85,26 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index"; import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Botcan from "~/model/Botcan"; import Botcan from "../model"
import commonProcess from "~/mixin/commonProcess"; import formRules from '../model/check'
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botcan/Check";
import Default from "~/model/Botcan/Default";
import Pattern from "~/model/Botcan/Pattern";
import Canp from "./Canp"; import Canp from "./Canp";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views"
import Coninfp from "~/components/business/coninfp/views";
import Engp from "~/components/business/engp/views";
import Glepan from "~/components/business/glentry/views";
import Ovwp from "./Ovwp"
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
import Ovwp from "./Ovwp.vue";
import event from "../event"; import event from "../event";
import operationFunc from "@/mixin/operationFunc";
export default { export default {
name: "Botcan", name: "Botcan",
components: { components: {
"m-canp": Canp, "m-canp": Canp,
"m-setpan": Setpan, "m-setmod": Setmod,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
...@@ -124,16 +117,13 @@ export default { ...@@ -124,16 +117,13 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [commonProcess,commonFuncs,event], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc,event], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "botcan", trnName: "botcan",
model: new Botcan().data, model: new Botcan().data,
checkRules: Check, rules: formRules,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
activeNames: ["engp"], activeNames: ["engp"],
}; };
......
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