Commit 6ecf0888 by zhengxiaokui

zxk

parent 038e9d48
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
* @param {string} rule 执行的 rule path * @param {string} rule 执行的 rule path
* @param {any} value 更改的值 * @param {any} value 更改的值
*/ */
defaultFunction (rule, value) { defaultFunction(rule, value) {
Utils.defaultFunction.call(this, rule, value) Utils.defaultFunction.call(this, rule, value)
}, },
/** /**
...@@ -165,7 +165,7 @@ export default { ...@@ -165,7 +165,7 @@ export default {
* 弹出机构选择框 * 弹出机构选择框
* @param {String} rulePath 路径 * @param {String} rulePath 路径
*/ */
showGridPromptDialog(rulePath) { showGridPromptDialog(rulePath, columns) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
if (res.respCode = SUCCESS) { if (res.respCode = SUCCESS) {
if (res.data.params) { if (res.data.params) {
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
this.root.$refs.etyDialog.show = true this.root.$refs.etyDialog.show = true
this.root.promptData = { this.root.promptData = {
title: res.data.title, title: res.data.title,
columnStr: res.data.columns, columnStr: columns ? columns : res.data.columns,
data: res.data.vals.rows, data: res.data.vals.rows,
rulePath: rulePath, rulePath: rulePath,
} }
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
gotoView(name, params, query) { gotoView(name, params, query) {
params = params || {} params = params || {}
query = query || {} query = query || {}
this.$router.push({name, params, query}) this.$router.push({ name, params, query })
}, },
gotoUrl(url) { gotoUrl(url) {
this.$router.push(url) this.$router.push(url)
......
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
} }
}, },
async onLcrgodButtxmsel() { async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel") let rtnmsg = await this.executeRule("letp.lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
<template> <template>
<div class="eibs-tab"> <c-row>
<!-- Description of Goods --> <!-- Description of Goods -->
<c-col :span="19"> <c-col :span="19">
<el-form-item label="货物说明" prop="ledgrp.blk.lcrgod"> <el-form-item label="货物说明" prop="ledgrp.blk.lcrgod">
...@@ -14,15 +14,17 @@ ...@@ -14,15 +14,17 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="2" class="letopn_dogp_button"> <c-col :span="2" class="letopn_dogp_button">
<!-- @click="onLcrgodButtxmsel" -->
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onLcrgodButtxmsel" @click="showGridPromptDialog('letp.lcrgod.buttxmsel',columns)"
> >
... ...
</c-button> </c-button>
</c-col> </c-col>
<br /> <br />
<c-col :span="12"> <c-col :span="12">
<el-form-item label="货物类型" prop="ledgrp.rec.stagod"> <el-form-item label="货物类型" prop="ledgrp.rec.stagod">
...@@ -34,7 +36,7 @@ ...@@ -34,7 +36,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> </c-row>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -47,7 +49,9 @@ export default { ...@@ -47,7 +49,9 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return {}; return {
columns: "1 2 \"EXTKEY\" 410 50\r\n2 1 \"NAM\" 410 50\r\n3 3 \"TXT\" 410 50\r\nUIL\r\nVER\r\nETGEXTKEY\r\nP COLORED TRUE\r\nP VERTLINES TRUE\r\nP HORZLINES TRUE\r\nP MULTISELECT FALSE\r\nP COLUMNSIZING TRUE"
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
...@@ -55,6 +59,6 @@ export default { ...@@ -55,6 +59,6 @@ export default {
</script> </script>
<style> <style>
.letopn_dogp_button { .letopn_dogp_button {
margin: 20px 0 0 -10px; margin: 20px 0 0 0px;
} }
</style> </style>
<template> <template>
<c-page title="出口信用证通知"> <c-page title="出口信用证通知">
<div class="eContainer"> <div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -113,6 +128,12 @@ ...@@ -113,6 +128,12 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -150,7 +171,7 @@ import Engp from "~/views/Public/Engp"; ...@@ -150,7 +171,7 @@ import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
export default { export default {
name: 'Letopn', name: "Letopn",
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-detp": Detp, "m-detp": Detp,
......
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