Commit 5aa29f37 by wangna

infgid修改

parent 0b1d8526
...@@ -88,6 +88,7 @@ export default class Getsel{ ...@@ -88,6 +88,7 @@ export default class Getsel{
clsflg:"", // which contracts to show .gcdget.clsflg clsflg:"", // which contracts to show .gcdget.clsflg
}, },
cfgfil:{ cfgfil:{
btnstm:[],
bitmap:"", // Bitmap for folder .cfgfil.bitmap bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1 regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2 regside2:"", // Regside .cfgfil.regside2
......
...@@ -9,11 +9,7 @@ ...@@ -9,11 +9,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Reference" prop="gidgrp.rec.ownref"> <el-form-item label="Reference" prop="gidgrp.rec.ownref">
<c-input v-model="model.gidgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" <c-input v-model="model.gidgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
@keyup.enter.native="
showGridPromptDialog('gidgrp.rec.ownref')
"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "sel", tabVal: "",
trnName: "getsel", trnName: "getsel",
model: new Getsel().data, model: new Getsel().data,
checkRules: Check, checkRules: Check,
......
...@@ -533,14 +533,14 @@ export default { ...@@ -533,14 +533,14 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async getButtons(ownref) { // async getButtons(ownref) {
this.initdialog = true; // this.initdialog = true;
this.ownref = ownref; // this.ownref = ownref;
console.log("ownref:" + ownref); // console.log("ownref:" + ownref);
setTimeout(() => { // setTimeout(() => {
this.$refs.childs.$emit("childmethods") // this.$refs.childs.$emit("childmethods")
}, 10) // }, 10)
}, // },
async onChoose(code) { async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code); this.$router.history.push("/business/" + code);
......
...@@ -513,9 +513,13 @@ ...@@ -513,9 +513,13 @@
</el-row> </el-row>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"> <div v-if="dialogFlag" class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn> <m-busbtn ref="childs" :ownref="ownref" trnCode="gitsel" ownrefPath="gidgrp" :model="gitselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
</div> </div>
<div v-else >
<m-busbtn ref="childs" :ownref="ownref" trnCode="getsel" ownrefPath="gidgrp" :model="getselModel" tabIndex=1 @onChoose="onChoose">11</m-busbtn>
</div>
</el-dialog> </el-dialog>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -700,6 +704,7 @@ import CodeTable from "~/config/CodeTable"; ...@@ -700,6 +704,7 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infgid/Event"; import Event from "~/model/Infgid/Event";
import GitselModel from "~/model/Gitsel"; import GitselModel from "~/model/Gitsel";
import GetselModel from "~/model/Getsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
...@@ -710,9 +715,11 @@ export default { ...@@ -710,9 +715,11 @@ export default {
data() { data() {
return { return {
gitselModel: new GitselModel().data, gitselModel: new GitselModel().data,
getselModel: new GetselModel().data,
ownref: "", ownref: "",
initdialog: false, initdialog: false,
dialogTableVisible: false, dialogTableVisible: false,
dialogFlag: true,
trnData: { trnData: {
columns: [ columns: [
'0 1 "Trn ID" 100', '0 1 "Trn ID" 100',
...@@ -760,6 +767,8 @@ export default { ...@@ -760,6 +767,8 @@ export default {
async getButtons(ownref) { async getButtons(ownref) {
this.initdialog = true; this.initdialog = true;
this.ownref = ownref; this.ownref = ownref;
this.dialogFlag = ownref.startsWith("LG");
console.log("dialogFlag:" + this.dialogFlag);
console.log("ownref:" + ownref); console.log("ownref:" + ownref);
setTimeout(() => { setTimeout(() => {
this.$refs.childs.$emit("childmethods") this.$refs.childs.$emit("childmethods")
...@@ -797,6 +806,11 @@ export default { ...@@ -797,6 +806,11 @@ export default {
}, },
}, },
created: function () {}, created: function () {},
watch:{
"model.gidgrp.rec.ownref":function(){
}
},
}; };
</script> </script>
<style> <style>
......
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