Commit 5aa29f37 by wangna

infgid修改

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