Detp.vue 8.49 KB
Newer Older
zhengxiaokui committed
1 2
<template>
  <div class="eibs-tab">
zhengxiaokui committed
3 4 5 6 7 8 9 10 11 12
    <c-row>
      <c-col :span="11">
        <!-- Available with -->
        <c-col :span="24">
          <el-form-item label="Available with" prop="ledgrp.rec.avbwth">
            <c-select
              v-model="model.ledgrp.rec.avbwth"
              style="width: 100%"
              placeholder="请选择Available with"
            >
孟冬雪 committed
13 14 15


            
zhengxiaokui committed
16 17
            </c-select>
          </el-form-item>
zhengxiaokui committed
18
        </c-col>
zhengxiaokui committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
              title: '指定银行',
              grp: 'ledgrp',
              rol: 'avb',
            }"
            :noRef="true"
            :onlySearch="true"
            @onSeainf="onSeainf"
            @onAplpDet="onAvbpDet"
          >
          </c-ptap>
zhengxiaokui committed
34
        </c-col>
zhengxiaokui committed
35 36 37 38 39 40 41 42 43 44 45 46

        <c-col :span="24">
          <el-form-item label="名称地址" prop="ledgrp.blk.avbwthtxt">
            <c-input
              type="textarea"
              :rows="3"
              v-model="model.ledgrp.blk.avbwthtxt"
              maxlength="35"
              show-word-limit
              placeholder="请输入名称地址"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
47
        </c-col>
zhengxiaokui committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
        <!-- <c-col :span="12">
      <el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
        <c-input
          type="textarea"
          v-model="model.ledgrp.avb.pts.adrblk"
          maxlength="35"
          show-word-limit
          placeholder="请输入Address Block"
        ></c-input>
      </el-form-item>
    </c-col> -->

        <c-col :span="24">
          <el-form-item label="Available by" prop="ledgrp.rec.avbby">
            <c-select
              v-model="model.ledgrp.rec.avbby"
              style="width: 100%"
              placeholder="请选择Available by"
              :code="codes.avbby"
            >
            </c-select>
          </el-form-item>
zhengxiaokui committed
70
        </c-col>
zhengxiaokui committed
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85

        <c-col :span="24">
          <el-form-item
            label="Deferred Payment Details"
            prop="ledgrp.blk.defdet"
          >
            <c-input
              type="textarea"
              :rows="3"
              v-model="model.ledgrp.blk.defdet"
              maxlength="35"
              show-word-limit
              placeholder="请输入Deferred Payment Details"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
86
        </c-col>
zhengxiaokui committed
87 88 89 90 91 92 93 94 95 96 97 98

        <c-col :span="24">
          <el-form-item label="Drafts at" prop="ledgrp.blk.dftat">
            <c-input
              type="textarea"
              :rows="3"
              v-model="model.ledgrp.blk.dftat"
              maxlength="35"
              show-word-limit
              placeholder="请输入Drafts at"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
99
        </c-col>
zhengxiaokui committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113

        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
              title: '汇票申请人',
              grp: 'ledgrp',
              rol: 'drw',
            }"
            :noRef="true"
            @onSeainf="onSeainf"
            @onAplpDet="onDrwpDet"
          >
          </c-ptap>
zhengxiaokui committed
114
        </c-col>
zhengxiaokui committed
115 116 117 118 119 120 121 122 123 124 125 126 127 128
      </c-col>

      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <el-form-item label="Mixed Payment Details" prop="ledgrp.blk.mixdet">
            <c-input
              type="textarea"
              :rows="4"
              v-model="model.ledgrp.blk.mixdet"
              maxlength="35"
              show-word-limit
              placeholder="请输入Mixed Payment Details"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
129
        </c-col>
zhengxiaokui committed
130 131 132 133 134 135 136 137 138

        <!-- Days of presentation period -->
        <c-col :span="24">
          <el-form-item label="Days of pre.period" prop="ledgrp.rec.prepers18">
            <c-input
              v-model="model.ledgrp.rec.prepers18"
              placeholder="请输入Days of presentation period"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
139
        </c-col>
zhengxiaokui committed
140 141 142 143 144 145 146 147 148 149 150

        <c-col :span="24">
          <el-form-item label="Presentation Period" prop="ledgrp.blk.preper">
            <c-input
              type="textarea"
              v-model="model.ledgrp.blk.preper"
              maxlength="35"
              show-word-limit
              placeholder="请输入Presentation Period"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
151
        </c-col>
zhengxiaokui committed
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167

        <!-- Additional Details to Code for Charges CHATO -->
        <c-col :span="24">
          <el-form-item
            label="Additional Details to Code for Charges CHATO"
            prop="ledgrp.blk.feetxt"
          >
            <c-input
              type="textarea"
              :rows="6"
              v-model="model.ledgrp.blk.feetxt"
              maxlength="35"
              show-word-limit
              placeholder="请输入Additional Details to Code for Charges CHATO"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
168
        </c-col>
zhengxiaokui committed
169 170 171 172 173 174 175 176 177 178 179

        <!-- Own Charges Borne by -->
        <c-col :span="18">
          <el-form-item label="Own Charges Borne by" prop="ledgrp.rec.chato">
            <c-select
              v-model="model.ledgrp.rec.chato"
              style="width: 100%"
              placeholder="请选择Own Charges Borne by"
            >
            </c-select>
          </el-form-item>
zhengxiaokui committed
180
        </c-col>
zhengxiaokui committed
181 182 183 184 185 186 187 188 189 190

        <c-col :span="18">
          <el-form-item label="Country or region Code" prop="ledgrp.rec.stacty">
            <c-select
              v-model="model.ledgrp.rec.stacty"
              style="width: 100%"
              placeholder="请选择Country or region Code"
            >
            </c-select>
          </el-form-item>
zhengxiaokui committed
191
        </c-col>
zhengxiaokui committed
192 193 194 195 196 197 198 199

        <c-col :span="18">
          <el-form-item label="Maximum Tenor" prop="ledgrp.rec.tenmaxday">
            <c-input
              v-model="model.ledgrp.rec.tenmaxday"
              placeholder="请输入Maximum Tenor"
            ></c-input>
          </el-form-item>
zhengxiaokui committed
200
        </c-col>
zhengxiaokui committed
201 202 203 204 205 206
      </c-col>
    </c-row>

    <c-row>
      <!-- Dispatch from -->
      <c-col :span="11">
zhengxiaokui committed
207
        <el-form-item label="Dispatch from" prop="ledgrp.rec.shpfro">
zhengxiaokui committed
208 209 210 211 212 213 214 215 216 217 218 219
          <c-input
            type="textarea"
            :rows="3"
            show-word-limit
            v-model="model.ledgrp.rec.shpfro"
            maxlength="65"
            placeholder="请输入Dispatch from"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="11" :offset="1">
zhengxiaokui committed
220
        <el-form-item label="Air-/Port of Departure" prop="ledgrp.rec.porloa">
zhengxiaokui committed
221 222 223 224 225 226 227 228 229 230 231 232
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.rec.porloa"
            maxlength="65"
            show-word-limit
            placeholder="请输入Air-/Port of Departure"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="11">
zhengxiaokui committed
233
        <el-form-item label="Air-/Port of Destination" prop="ledgrp.rec.pordis">
zhengxiaokui committed
234 235 236 237 238 239 240 241 242 243 244 245 246
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.rec.pordis"
            maxlength="65"
            show-word-limit
            placeholder="Air-/Port of Destination"
          ></c-input>
        </el-form-item>
      </c-col>

      <!-- Final Destination -->
      <c-col :span="11" :offset="1">
zhengxiaokui committed
247
        <el-form-item label="Final Destination" prop="ledgrp.rec.shpto">
zhengxiaokui committed
248 249 250 251 252 253 254 255 256 257 258 259 260
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.rec.shpto"
            maxlength="65"
            show-word-limit
            placeholder="请输入Final Destination"
          ></c-input>
        </el-form-item>
      </c-col>

      <!-- Shipment Period -->
      <c-col :span="11">
zhengxiaokui committed
261
        <el-form-item label="Shipment Period" prop="ledgrp.blk.shpper">
zhengxiaokui committed
262 263 264 265 266 267 268 269 270 271 272
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.blk.shpper"
            maxlength="65"
            show-word-limit
            placeholder="请输入Shipment Period"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-row>
zhengxiaokui committed
273 274 275
  </div>
</template>
<script>
zhengxiaokui committed
276
import Api from "~/service/Api";
wangren committed
277
import commonProcess from "~/mixin/commonProcess";
zhengxiaokui committed
278 279 280
import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
zhengxiaokui committed
281 282

export default {
zhengxiaokui committed
283 284 285
  inject: ["root"],
  components: { "c-ptap": Ptap },
  props: ["model", "codes"],
wangren committed
286
  mixins: [commonProcess],
zhengxiaokui committed
287 288 289 290 291 292 293 294 295 296 297
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
  watch: {
    "model.ledgrp.avb.pts.adrblk": {
      handler(val, oldVal) {
        this.model.ledgrp.blk.avbwthtxt = val;
      },
      immediate: true,
zhengxiaokui committed
298
    },
zhengxiaokui committed
299 300
  },
};
zhengxiaokui committed
301 302 303
</script>
<style>
</style>