Menu.vue 7.7 KB
Newer Older
潘际乾 committed
1 2
<template>
  <div class="eibs-tab">
liushikai committed
3
    <!-- <c-col :span="12">
潘际乾 committed
4
	    <span  v-text="model.usfmod.usftxt"   data-path=".usfmod.usftxt" > </span>
liushikai committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
	</c-col> -->

    <c-col :span="9">
      <el-form-item label="Seclect of Users" prop="usfmod.flt">
        <c-select
          v-model="model.usfmod.flt"
          style="width: 95%"
          placeholder="请选择Filter"
        >
          <el-option
            v-for="item in codes.flt"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="2">
      <c-button size="small" type="primary" @click="onUsfmodShwflt" disabled>
        Show Set
      </c-button>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Reference" prop="selobj">
        <c-input
          v-model="model.selobj"
          maxlength="32"
          placeholder="请输入Reference"
        ></c-input>
      </el-form-item>
    </c-col>

    <!-- <c-col :span="12">
潘际乾 committed
41
	    <span  v-text="model.usfmod.labtxt"   data-path=".usfmod.labtxt" > </span>
liushikai committed
42 43 44
	</c-col> -->

    <c-col :span="11" v-if="model.usfmod.flt === '<SELB>'">
liushikai committed
45
      <el-form-item label="Selected Branch" prop="usfmod.selusg">
liushikai committed
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
        <c-select
          v-model="model.usfmod.selusg"
          style="width: 50%"
          placeholder="请选择"
        >
          <el-option
            v-for="item in codes.selusg"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </c-select>
      </el-form-item>
    </c-col>
    <!-- <c-col :span="12">
潘际乾 committed
61 62 63 64
        <el-form-item label="Selected User Group Set" prop="usfmod.selusgset">
            <c-select v-model="model.usfmod.selusgset" style="width:100%" placeholder="请选择Selected User Group Set">
              </c-select>
        </el-form-item>
liushikai committed
65 66
       </c-col> -->
    <!-- <c-col :span="12">
潘际乾 committed
67 68 69 70
        <el-form-item label="Select user branch" prop="usfmod.selusb">
            <c-select v-model="model.usfmod.selusb" style="width:100%" placeholder="请选择Select user branch">
              </c-select>
        </el-form-item>
liushikai committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
       </c-col> -->
    <c-col :span="11" v-if="model.usfmod.flt === '<SELU>'">
      <c-col :span="16">
        <el-form-item label="Selected User" prop="usfmod.usr.extkey">
          <c-input
            v-model="model.usfmod.usr.extkey"
            maxlength="8"
            style="width: 90%"
            placeholder="请输入User ID"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="6">
        <c-button size="small" type="primary"> i </c-button>
      </c-col>
    </c-col>

    <c-col
      :span="11"
      v-if="model.usfmod.flt != '<SELU>' && model.usfmod.flt != '<SELB>'"
    >
      <el-form-item label=""> </el-form-item>
    </c-col>

    <c-col :span="11" :offset="1">
      <el-form-item label="Name" prop="seltxt">
        <c-input
          v-model="model.seltxt"
          maxlength="32"
          placeholder="请输入Name"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="8">
      <el-form-item label="Entered by" prop="usr.extkey">
        <c-input
          v-model="model.usr.extkey"
          maxlength="8"
          style="width: 90%"
          placeholder="请输入"
          disabled
        ></c-input>
      </el-form-item>
    </c-col>
    <c-col :span="3">
      <c-button size="small" type="primary"> i </c-button>
    </c-col>

    <c-col :span="8" :offset="1">
      <el-form-item label="Transaction Type " prop="atp.cod">
        <c-input
          v-model="model.atp.cod"
          maxlength="6"
          style="width: 90%"
          placeholder="请输入Transaction Type "
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="3">
      <c-button size="small" type="primary"> i </c-button>
    </c-col>

    <c-col :span="6">
      <el-form-item label="Between" prop="inidatfro">
        <c-date-picker
          type="date"
          v-model="model.inidatfro"
          style="width: 100%"
          placeholder="请选择Date of entry of Transaction"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="4">
      <el-form-item label="and" prop="inidattil" label-width="50px">
        <c-date-picker
          type="date"
          v-model="model.inidattil"
          style="width: 100%"
          placeholder="请选择Date of entry of Transaction until"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="11" :offset="2">
      <el-form-item label="Transaction Text" prop="atptxt">
        <c-input
          v-model="model.atptxt"
          maxlength="37"
          placeholder="请输入Transaction Text"
          disabled
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <el-form-item label="Status" prop="sta">
        <c-select
          v-model="model.sta"
          style="width: 20%"
          placeholder="请选择Status"
        >
          <el-option
            v-for="item in codes.sta"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </c-select>
      </el-form-item>
    </c-col>

    <!-- 
                  
       
                  
                  
       
潘际乾 committed
191 192 193 194 195 196
                  
       <c-col :span="12">
        <el-form-item label="" prop="usfmod.usrget.sdamod.seainf">
            <c-input  v-model="model.usfmod.usrget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
liushikai committed
197
                                            
潘际乾 committed
198 199 200 201 202 203 204 205 206 207 208
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="atpget.sdamod.dadsnd">
            <c-input  v-model="model.atpget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="usrget.sdamod.seainf">
            <c-input  v-model="model.usrget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
liushikai committed
209
                                           
潘际乾 committed
210 211 212 213 214
       <c-col :span="12">
        <el-form-item label="" prop="atpget.sdamod.seainf">
            <c-input  v-model="model.atpget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
liushikai committed
215
                                          
潘际乾 committed
216 217 218 219 220 221 222 223 224 225
       <c-col :span="12">
        <el-form-item label="List of SPT records" prop="sptstm">
            <c-input  v-model="model.sptstm"  placeholder="请输入List of SPT records"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onTrndsp">
            >>
        </c-button>
liushikai committed
226 227 228 229 230 231 232 233 234 235 236 237
       </c-col> -->

    <c-col :span="22" :offset="1">
      <c-table :border="true" :list="data" style="width:80%,text-align:center">
        <el-table-column label="TRN" width="auto"></el-table-column>
        <el-table-column label="Name" width="auto"></el-table-column>
        <el-table-column label="Created" width="auto"></el-table-column>
        <el-table-column label="Status" width="auto"></el-table-column>
        <el-table-column label="By User" width="auto"></el-table-column>
        <el-table-column label="Referance" width="auto"></el-table-column>
      </c-table>
    </c-col>
潘际乾 committed
238 239 240
  </div>
</template>
<script>
liushikai committed
241
import Api from "~/service/Api";
潘际乾 committed
242
import CommonProcess from "~/mixin/CommonProcess";
liushikai committed
243 244
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrel/Event";
潘际乾 committed
245 246

export default {
liushikai committed
247 248 249 250 251 252 253 254 255 256 257
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {
      data: [],
    };
  },
  methods: { ...Event },
  created: function () {},
};
潘际乾 committed
258 259 260
</script>
<style>
</style>