Coninfp.vue 3.35 KB
Newer Older
wangguangchao committed
1
<template>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  <c-row>
    <c-col :span="24">
      <c-col :span="15">
        <el-form-item
          style="height=200px;"
          label="General"
          prop="mtabut.coninf.oitinf.oit.inftxt"
        >
          <i-stream-input
            type="textarea"
            rows="6"
            maxlength="60"
            resize="none"
            show-word-limit
            placeholder="请输入Infotext"
            @change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
            :model="model.mtabut.coninf.oitinf.oit.inftxt"
            disabled
          ></i-stream-input>
wangguangchao committed
21
        </el-form-item>
22 23 24 25 26 27 28 29 30 31
      </c-col>
      <c-col :span="7" :offset="1">
        <el-form-item
          label="Display Type"
          prop="mtabut.coninf.oitinf.oit.inflev"
        >
          <c-select
            v-model="model.mtabut.coninf.oitinf.oit.inflev"
            disabled
            placeholder="请选择Infotext Level"
吴佳 committed
32
            style="width: 100%"
33 34 35
            :code="inflev"
          >
          </c-select>
wangguangchao committed
36
        </el-form-item>
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
      </c-col>
    </c-col>
    <c-col :span="24">
      <c-col :span="15">
        <el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
          <i-stream-input
            type="textarea"
            rows="6"
            maxlength="60"
            resize="none"
            show-word-limit
            placeholder="请输入Infotext"
            @change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
            :model="model.mtabut.coninf.oitset.oit.inftxt"
            disabled
          ></i-stream-input>
wangguangchao committed
53
        </el-form-item>
54 55 56 57 58 59 60 61
      </c-col>
      <c-col :span="7" :offset="1">
        <el-form-item
          label="Display Type"
          prop="mtabut.coninf.oitset.oit.inflev"
        >
          <c-select
            v-model="model.mtabut.coninf.oitset.oit.inflev"
吴佳 committed
62
            style="width: 100%"
63 64 65 66 67
            disabled
            placeholder="请选择Infotext Level"
            :code="inflev"
          >
          </c-select>
wangguangchao committed
68
        </el-form-item>
69 70
      </c-col>
    </c-col>
吴佳 committed
71
    <c-col :span="15">
72 73 74 75
      <el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
        <c-date-picker
          type="date"
          v-model="model.mtabut.coninf.conexedat"
吴佳 committed
76
          style="width: 100%"
77 78 79 80 81
          placeholder="请选择执行日期"
          disabled
        ></c-date-picker>
      </el-form-item>
    </c-col>
吴佳 committed
82
    <c-col :span="7" :offset="1">
83 84 85 86 87 88 89 90 91 92
      <el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
        <c-input
          v-model="model.mtabut.coninf.usr.extkey"
          maxlength="8"
          disabled
          placeholder="请输入User ID"
        ></c-input>
      </el-form-item>
    </c-col>
  </c-row>
wangguangchao committed
93 94
</template>
<script>
95 96
// 附言页签,勿改
import _ from "~/utils/Lodash.js";
wangren committed
97
import commonProcess from "~/mixin/commonProcess";
98
import IStreamInput from '~/components/IStreamInput'
wangguangchao committed
99
export default {
100 101 102
  components: {IStreamInput},
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
103
  mixins: [commonProcess],
104 105 106 107 108 109 110 111 112 113 114 115 116 117
  data() {
    return {
      inflev: [
        { label: "Show", value: "$" },
        { label: "Do not show", value: "!" },
        { label: "Warn", value: "0" },
      ], //码表
    };
  },
  methods: {
    valueChange(event, type) {
      if (!event) {
        _.set(this.model, type, "");
      }
wangguangchao committed
118
    },
119 120 121
  },
  created: function () {},
};
wangguangchao committed
122 123
</script>
<style>
124
</style>