Commit 6ecf0888 by zhengxiaokui

zxk

parent 038e9d48
......@@ -151,7 +151,7 @@ export default {
* @param {string} rule 执行的 rule path
* @param {any} value 更改的值
*/
defaultFunction (rule, value) {
defaultFunction(rule, value) {
Utils.defaultFunction.call(this, rule, value)
},
/**
......@@ -165,7 +165,7 @@ export default {
* 弹出机构选择框
* @param {String} rulePath 路径
*/
showGridPromptDialog(rulePath) {
showGridPromptDialog(rulePath, columns) {
this.executeRule(rulePath).then((res) => {
if (res.respCode = SUCCESS) {
if (res.data.params) {
......@@ -174,7 +174,7 @@ export default {
this.root.$refs.etyDialog.show = true
this.root.promptData = {
title: res.data.title,
columnStr: res.data.columns,
columnStr: columns ? columns : res.data.columns,
data: res.data.vals.rows,
rulePath: rulePath,
}
......@@ -219,7 +219,7 @@ export default {
gotoView(name, params, query) {
params = params || {}
query = query || {}
this.$router.push({name, params, query})
this.$router.push({ name, params, query })
},
gotoUrl(url) {
this.$router.push(url)
......
......@@ -151,7 +151,7 @@ export default {
}
},
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
let rtnmsg = await this.executeRule("letp.lcrgod.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......
<template>
<div class="eibs-tab">
<c-row>
<!-- Description of Goods -->
<c-col :span="19">
<el-form-item label="货物说明" prop="ledgrp.blk.lcrgod">
......@@ -14,15 +14,17 @@
</el-form-item>
</c-col>
<c-col :span="2" class="letopn_dogp_button">
<!-- @click="onLcrgodButtxmsel" -->
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrgodButtxmsel"
@click="showGridPromptDialog('letp.lcrgod.buttxmsel',columns)"
>
...
</c-button>
</c-col>
<br />
<c-col :span="12">
<el-form-item label="货物类型" prop="ledgrp.rec.stagod">
......@@ -34,7 +36,7 @@
</c-select>
</el-form-item>
</c-col>
</div>
</c-row>
</template>
<script>
import Api from "~/service/Api";
......@@ -47,7 +49,9 @@ export default {
props: ["model", "codes"],
mixins: [CommonProcess],
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 },
created: function () {},
......@@ -55,6 +59,6 @@ export default {
</script>
<style>
.letopn_dogp_button {
margin: 20px 0 0 -10px;
margin: 20px 0 0 0px;
}
</style>
<template>
<c-page title="出口信用证通知">
<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
:model="model"
:rules="rules"
......@@ -113,6 +128,12 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
......@@ -150,7 +171,7 @@ import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
name: 'Letopn',
name: "Letopn",
components: {
"m-ovwp": Ovwp,
"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