Commit 9202502f by “wufan”

fctcan修改

parent 74d98822
......@@ -6,7 +6,7 @@ import Utils from "~/utils"
let checkObj = {
"fcdgrp.apl.pts.extkey" :null,
"fcdgrp.apl.pts.nam" :null,
// "fcdgrp.rec.ownref" :null,
"fcdgrp.rec.ownref" :null,
}
for (const key in checkObj) {
......
......@@ -147,8 +147,9 @@
<c-istream-table
:list="model.cshstm.rows || []"
:columns="columns"
v-on:chooseRowEvent="chooseRowEvent"
v-if="model.gleflg"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
></c-istream-table>
</c-col>
</div>
......@@ -187,18 +188,23 @@ export default {
},
methods: {
...Event,
async chooseRowEvent(row) {
const selIds = [row.IDX + 1]; //rowno选中行
const selDst = "cshstm" //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule("cshstm", params)
if(rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
async multipleSelect(selection) {
console.log(selection);
if (selection) {
let selIds = selection.map(x=>x+1);
let params = {selDst:"cshstm",selIds}
const rtnmsg = await this.executeRule("cshstm",params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
},
methods: { ...Event },
created: function () {},
};
</script>
......
<template>
<div class="eContainer">
<c-page title="保证金注销">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -17,19 +17,19 @@
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -43,7 +43,7 @@
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
......
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