Menu.vue 15.8 KB
Newer Older
潘际乾 committed
1 2
<template>
  <div class="eibs-tab">
吴佳 committed
3 4 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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 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
        <el-form
                ref="paramsForm"
                label-position="right"
                label-width="110px"
                size="small"
            >
        <!-- <c-col :span="12">
          <span  v-text="model.usfmod.usftxt"   data-path=".usfmod.usftxt" > </span>
        </c-col> -->
        <!-- ============左========= -->
          <c-col :span="11">
            <c-col :span="24">
              <!-- <el-form-item label="Type ot items"> 
                  <c-fullbox>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chkinc">Incoming</c-checkbox>
                    </c-col>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chkdzt">E-Trade</c-checkbox>
                    </c-col>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chkpen">break</c-checkbox>
                    </c-col>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chkcor">Connect</c-checkbox>
                    </c-col>
                  </c-fullbox>

              </el-form-item> -->
              <el-form-item label="Seclect of Users" prop="usfmod.flt">
                <c-select
                  v-model="model.usfmod.flt"
                  style="width: 100%"
                  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="24">
              <el-form-item label=""> 
                  <c-fullbox>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chkaut">Automatic</c-checkbox>
                    </c-col>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chkdel">Reject</c-checkbox>
                    </c-col>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chktco">网银</c-checkbox>
                    </c-col>
                    <c-col :span="6">
                      <c-checkbox v-model="model.chkcan">归档</c-checkbox>
                    </c-col>
                  </c-fullbox>

              </el-form-item>
            </c-col> -->

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

            <c-col :span="24">
              <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" v-if="model.usfmod.flt === '<SELB>'">
              <el-form-item label="Selected Branch" prop="usfmod.selusg">
                <c-select
                  v-model="model.usfmod.selusg"
                  style="width: 100%"
                  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="24" v-if="model.usfmod.flt === '<SELU>'">
              <el-form-item label="Selected User" prop="usfmod.usr.extkey">
                <c-input
                  v-model="model.usfmod.usr.extkey"
                  maxlength="8"
                  style="width: 100%"
                  placeholder="请输入User ID"
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>

        <!-- ============右========= -->
          <c-col :span="12" :offset="1">
              <c-col :span="24">
                <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="24">
              <c-col :span="11" >
                <el-form-item label="Name" prop="seltxt">
                  <c-input
                    v-model="model.seltxt"
                    maxlength="32"
                    placeholder="请输入Name"
                  ></c-input>
                </el-form-item>
              </c-col>
liushikai committed
141

吴佳 committed
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 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
              <c-col :span="12" :offset="1">
                <el-form-item label="Entered by" label-width="20%" prop="usr.extkey">
                  <c-input
                    v-model="model.usr.extkey"
                    maxlength="8"
                    style="width: 100%"
                    placeholder="请输入"
                    disabled
                  ></c-input>
                </el-form-item>
              </c-col>
            </c-col>

            <c-col :span="24">
              <c-col :span="11">
                <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="12" :offset="1">
                <el-form-item label="and" prop="inidattil" label-width="20%" >
                  <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>

            <c-col :span="24">
              <el-form-item label="Status" prop="sta">
                <c-select
                  v-model="model.sta"
                  style="width: 100%"
                  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>
          

          </c-col>

          <c-col
        :span="24"
        style="text-align: right; height: 36.8px"
      >
        <el-button size="small" @click="handleReset">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="small"
          @click="handleSearch"
          >查询</el-button
        >
      </c-col>
        </el-form>

    <!-- <c-col :span="9">
liushikai committed
215 216 217 218 219 220 221 222 223 224 225 226 227 228
      <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>
吴佳 committed
229
    </c-col> -->
liushikai committed
230

吴佳 committed
231
    <!-- <c-col :span="2">
liushikai committed
232 233 234
      <c-button size="small" type="primary" @click="onUsfmodShwflt" disabled>
        Show Set
      </c-button>
吴佳 committed
235
    </c-col> -->
liushikai committed
236

吴佳 committed
237
    <!-- <c-col :span="11" :offset="1">
liushikai committed
238 239 240 241 242 243 244
      <el-form-item label="Reference" prop="selobj">
        <c-input
          v-model="model.selobj"
          maxlength="32"
          placeholder="请输入Reference"
        ></c-input>
      </el-form-item>
吴佳 committed
245
    </c-col> -->
liushikai committed
246 247

    <!-- <c-col :span="12">
潘际乾 committed
248
	    <span  v-text="model.usfmod.labtxt"   data-path=".usfmod.labtxt" > </span>
吴佳 committed
249
	  </c-col> -->
liushikai committed
250

吴佳 committed
251
    <!-- <c-col :span="11" v-if="model.usfmod.flt === '<SELB>'">
liushikai committed
252
      <el-form-item label="Selected Branch" prop="usfmod.selusg">
liushikai committed
253 254 255 256 257 258 259 260 261 262 263 264 265
        <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>
吴佳 committed
266
    </c-col> -->
liushikai committed
267
    <!-- <c-col :span="12">
潘际乾 committed
268 269 270 271
        <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
272 273
       </c-col> -->
    <!-- <c-col :span="12">
潘际乾 committed
274 275 276 277
        <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
278
       </c-col> -->
吴佳 committed
279
    <!-- <c-col :span="11" v-if="model.usfmod.flt === '<SELU>'">
liushikai committed
280 281 282 283 284 285 286 287 288 289 290 291 292
      <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>
吴佳 committed
293
    </c-col> -->
liushikai committed
294

吴佳 committed
295
    <!-- <c-col
liushikai committed
296 297 298 299
      :span="11"
      v-if="model.usfmod.flt != '<SELU>' && model.usfmod.flt != '<SELB>'"
    >
      <el-form-item label=""> </el-form-item>
吴佳 committed
300
    </c-col> -->
liushikai committed
301

吴佳 committed
302
    <!-- <c-col :span="11" :offset="1">
liushikai committed
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321
      <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>
吴佳 committed
322 323
    </c-col> -->
    <!-- <c-col :span="3">
liushikai committed
324
      <c-button size="small" type="primary"> i </c-button>
吴佳 committed
325
    </c-col> -->
liushikai committed
326

吴佳 committed
327
    <!-- <c-col :span="8" :offset="1">
liushikai committed
328 329 330 331 332 333 334 335
      <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>
吴佳 committed
336
    </c-col> -->
liushikai committed
337

吴佳 committed
338
    <!-- <c-col :span="3">
liushikai committed
339
      <c-button size="small" type="primary"> i </c-button>
吴佳 committed
340
    </c-col> -->
liushikai committed
341

吴佳 committed
342
    <!-- <c-col :span="6">
liushikai committed
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
      <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>
吴佳 committed
362
    </c-col> -->
liushikai committed
363

吴佳 committed
364
    <!-- <c-col :span="11" :offset="2">
liushikai committed
365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
      <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>
吴佳 committed
390 391
    </c-col> -->

liushikai committed
392

吴佳 committed
393
    
liushikai committed
394 395 396 397 398 399
    <!-- 
                  
       
                  
                  
       
潘际乾 committed
400 401 402 403 404 405
                  
       <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
406
                                            
潘际乾 committed
407 408 409 410 411 412 413 414 415 416 417
       <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
418
                                           
潘际乾 committed
419 420 421 422 423
       <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
424
                                          
潘际乾 committed
425 426 427 428 429 430 431 432 433 434
       <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
435 436
       </c-col> -->

吴佳 committed
437 438
    <c-col :span="24">
      <!-- <c-table :border="true" :data="data" style="width:80%,text-align:center">
liushikai committed
439 440 441 442 443 444
        <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>
吴佳 committed
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
      </c-table> -->

       <c-istream-table :list="stmData.data" :columns="stmData.columns">
        <el-table-column fixed="right" prop="op" label="操作" width="140px">



             <c-button
                            style="margin-left: 0"
                            size="small"
                            type="primary"
                            @click="alert(111)"
                        >
                            detail
                        </c-button>

        </el-table-column>
      </c-istream-table>
liushikai committed
463
    </c-col>
潘际乾 committed
464 465 466
  </div>
</template>
<script>
liushikai committed
467
import Api from "~/service/Api";
wangren committed
468
import commonProcess from "~/mixin/commonProcess";
liushikai committed
469 470
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Sptrel/Event";
潘际乾 committed
471 472

export default {
liushikai committed
473 474
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
475
  mixins: [commonProcess],
liushikai committed
476 477
  data() {
    return {
吴佳 committed
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
      stmData: {
        columns: [
          '5 1 "TRN" ',
          '6 2:2 "Reference" ',
          '7 2:1 "Name" ',
          '8 3 "Created" ',
          '9 4:1 "Status" ',
          '4 5:1 "By User" ',
          '11 6:1 "Details" ',
          // 'P "COLORED" TRUE',
          // 'P "VERTLINES" TRUE',
          // 'P "HORZLINES" TRUE',
          // 'P "MULTISELECT" true'

        ],
        data: [],
      },
liushikai committed
495 496 497 498 499
    };
  },
  methods: { ...Event },
  created: function () {},
};
潘际乾 committed
500 501 502
</script>
<style>
</style>