Docpan.vue 7.22 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
潘际乾 committed
3
    <!-- <c-col :span="24">
liushikai committed
4 5 6 7 8
      <span
        v-text="model.trnmod.trndoc.advlabel"
        data-path=".trnmod.trndoc.advlabel"
      >
      </span>
潘际乾 committed
9
    </c-col>
liushikai committed
10

潘际乾 committed
11
    <c-col :span="11">
liushikai committed
12 13 14 15 16 17 18
      <el-form-item label="国内证落款">
        <c-input
          v-model="model.trnmod.trndoc.advnam"
          maxlength="50"
          placeholder="请输入国内证落款"
        ></c-input>
      </el-form-item>
潘际乾 committed
19
    </c-col>
liushikai committed
20

潘际乾 committed
21
    <c-col :span="11" :offset="1">
liushikai committed
22 23 24 25 26 27 28 29 30
      <el-form-item label="修改申请人名称">
        <c-input
          type="textarea"
          v-model="model.trnmod.trndoc.amdapl"
          maxlength="50"
          show-word-limit
          placeholder="请输入修改申请人名称"
        ></c-input>
      </el-form-item>
潘际乾 committed
31
    </c-col>
liushikai committed
32

潘际乾 committed
33
    <c-col :span="24">
liushikai committed
34 35 36 37 38
      <span
        v-text="model.trnmod.trndoc.amdnam"
        data-path=".trnmod.trndoc.amdnam"
      >
      </span>
潘际乾 committed
39
    </c-col>
liushikai committed
40

潘际乾 committed
41
    <c-col :span="11">
liushikai committed
42 43 44 45 46 47 48
      <el-form-item label="国内证通知书">
        <c-input
          v-model="model.trnmod.trndoc.advdoc"
          maxlength="1"
          placeholder="请输入国内证通知书"
        ></c-input>
      </el-form-item>
潘际乾 committed
49 50
    </c-col> -->
    <c-col :span="12">
liushikai committed
51
      <el-form-item label="Correspondence"> </el-form-item>
潘际乾 committed
52
    </c-col>
liushikai committed
53

潘际乾 committed
54
    <!-- <c-col :span="22" offset="1">
liushikai committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
      <c-table
        :border="true"
        :list="data"
        style="width:80%,text-align:center"
        height=""
      >
        <el-table-column label="Role" width="auto"></el-table-column>
        <el-table-column label="Description" width="auto"></el-table-column>
        <el-table-column label="Medium" width="auto"></el-table-column>
        <el-table-column label="Dispatch Type" width="auto"></el-table-column>
        <el-table-column label="Lang." width="auto"></el-table-column>
        <el-table-column label="Form" width="auto"></el-table-column>
        <el-table-column label="Or." width="auto"></el-table-column>
        <el-table-column label="CC" width="auto"></el-table-column>
        <el-table-column label="" width="auto"></el-table-column>
        <el-table-column label="" width="auto"></el-table-column>
      </c-table>
潘际乾 committed
72
    </c-col> -->
liushikai committed
73

潘际乾 committed
74
    <c-col :span="22" :offset="1">
liushikai committed
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 191 192 193 194 195 196 197 198 199 200 201 202 203
      <c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
        <el-table-column label="Medium">
          <template slot-scope="scope">
            <c-select
              v-model="model.trnmod.trndoc.doceot[scope.row.index].cortyp"
              style="width: 100%"
              disabled
              placeholder="请选择"
            >
              <el-option
                v-for="item in codes.doceotCortyp"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </template>
        </el-table-column>
        <el-table-column label="Dispatch Type">
          <template slot-scope="scope">
            <c-select
              v-model="model.trnmod.trndoc.doceot[scope.row.index].docsnf"
              style="width: 100%"
              placeholder="请选择"
            >
              <el-option
                v-for="item in codes.docsnf"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </template>
        </el-table-column>
        <el-table-column label="Lang." width="150%">
          <template slot-scope="scope">
            <c-select
              v-model="model.trnmod.trndoc.doceot[scope.row.index].docuil"
              style="width: 100%"
              placeholder="请选择"
            >
              <el-option
                v-for="item in codes.uiltxt"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </template>
        </el-table-column>
        <el-table-column label="Form">
          <template slot-scope="scope">
            <c-select
              v-model="model.trnmod.trndoc.doceot[scope.row.index].apf"
              disabled
              style="width: 100%"
              placeholder="请选择"
            >
              <el-option
                v-for="item in codes.apftxt"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </template>
        </el-table-column>
        <el-table-column label="Or." width="65%">
          <template slot-scope="scope">
            <c-input
              v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy1"
              :readonly="true"
              style="width: 100%"
              placeholder="请选择"
            >
            </c-input>
          </template>
        </el-table-column>
        <el-table-column label="CC" width="65%">
          <template slot-scope="scope">
            <c-input
              v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy2"
              style="width: 100%"
              placeholder="请选择"
            >
            </c-input>
          </template>
        </el-table-column>
        <el-table-column label="">
          <template slot-scope="scope">
            <c-select
              v-model="model.trnmod.trndoc.doceot[scope.row.index].staflg"
              style="width: 100%"
              placeholder="请选择"
            >
              <el-option
                v-for="item in codes.swttlx"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              >
              </el-option>
            </c-select>
          </template>
        </el-table-column>
        <el-table-column label="操作">
          <template slot-scope="scope">
            <el-button
              size="mini"
              :disabled="
                model.trnmod.trndoc.doceot[scope.row.index].pandsc == 'MT799' &&
                model.didgrp.rec.elcflg == 'Y'
              "
              @click="handleDisplay(scope.row.index, scope.row)"
              >显示</el-button
            >
            <el-button
              size="mini"
              type="danger"
              @click="handleDetail(scope.row.index, scope.row)"
              >明细</el-button
            >
          </template>
        </el-table-column>
      </c-istream-table-docpan>
潘际乾 committed
204
    </c-col>
205 206 207
  </div>
</template>
<script>
liushikai committed
208
import Api from "~/service/Api";
wangren committed
209
import commonProcess from "~/mixin/commonProcess";
liushikai committed
210 211
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
212 213

export default {
214
  inject: ['root'],
liushikai committed
215
  props: ["model", "codes"],
wangren committed
216
  mixins: [commonProcess],
liushikai committed
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
  data() {
    return {
      stmData: {
                columns: [
                    //注释的已改成静态
                    "role Role",
                    "pandsc Description",
                    //"cortyp 类型",
                    //"docsnf 报文格式",
                    //"docuil 语言",
                    //"apf 传送方式"
                ],
                data: [],
      }
    };
  },
  methods: {...Event},
  created: function () {},
};
236 237 238
</script>
<style>
</style>