Detp.vue 9.24 KB
Newer Older
zhengxiaokui committed
1 2
<template>
  <div class="eibs-tab">
zhengxiaokui committed
3
    <c-row>
Eivi committed
4
      <!-- left -->
zhengxiaokui committed
5 6 7 8 9 10 11
      <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%"
Eivi committed
12 13
              placeholder="Please select Available with"
              :code="codes.avbwth"
zhengxiaokui committed
14 15 16
            >
            </c-select>
          </el-form-item>
zhengxiaokui committed
17
        </c-col>
zhengxiaokui committed
18 19 20 21 22

        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
Eivi committed
23
              title: '',
zhengxiaokui committed
24 25 26 27 28 29 30 31
              grp: 'ledgrp',
              rol: 'avb',
            }"
            :noRef="true"
            @onSeainf="onSeainf"
            @onAplpDet="onAvbpDet"
          >
          </c-ptap>
zhengxiaokui committed
32
        </c-col>
zhengxiaokui committed
33 34 35 36 37 38

        <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%"
Eivi committed
39
              placeholder="Please select Available by"
zhengxiaokui committed
40 41 42 43
              :code="codes.avbby"
            >
            </c-select>
          </el-form-item>
zhengxiaokui committed
44
        </c-col>
zhengxiaokui committed
45 46 47

        <c-col :span="24">
          <el-form-item
Eivi committed
48
            label="Negotiation/Deferred Payment Details"
zhengxiaokui committed
49 50 51 52 53 54 55 56
            prop="ledgrp.blk.defdet"
          >
            <c-input
              type="textarea"
              :rows="3"
              v-model="model.ledgrp.blk.defdet"
              maxlength="35"
              show-word-limit
Eivi committed
57
              placeholder="Please input Deferred Payment Details"
Eivi committed
58
              disabled
zhengxiaokui committed
59 60
            ></c-input>
          </el-form-item>
zhengxiaokui committed
61
        </c-col>
zhengxiaokui committed
62 63

        <c-col :span="24">
Eivi committed
64 65 66 67 68 69 70 71 72 73 74 75
          <el-form-item
            label="Drafts at"
            prop="ledgrp.blk.dftat"
            style="width: 100%"
          >
            <c-fullbox>
              <c-input
                type="textarea"
                v-model="model.ledgrp.blk.dftat"
                maxlength="50"
                show-word-limit
                placeholder="Please input Drafts at"
Eivi committed
76
                disabled
Eivi committed
77 78 79 80 81 82
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin-left: 10px; padding: 0 10px"
                  size="small"
                  type="primary"
Eivi committed
83
                  disabled
Eivi committed
84 85 86 87 88
                >
                  ...
                </c-button>
              </template>
            </c-fullbox>
zhengxiaokui committed
89
          </el-form-item>
zhengxiaokui committed
90
        </c-col>
zhengxiaokui committed
91 92 93 94 95

        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
Eivi committed
96
              title: 'Drawee',
zhengxiaokui committed
97 98 99
              grp: 'ledgrp',
              rol: 'drw',
            }"
Eivi committed
100
            :disabled="true"
zhengxiaokui committed
101 102 103 104 105
            :noRef="true"
            @onSeainf="onSeainf"
            @onAplpDet="onDrwpDet"
          >
          </c-ptap>
zhengxiaokui committed
106
        </c-col>
Eivi committed
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
        <c-col :span="24" >
        <el-form-item label="Air-/Port of Departure" prop="ledgrp.rec.porloa">
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.rec.porloa"
            maxlength="65"
            show-word-limit
            placeholder="Please input Air-/Port of Departure"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="Air-/Port of Destination" prop="ledgrp.rec.pordis">
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.rec.pordis"
            maxlength="65"
            show-word-limit
            placeholder="Please input Air-/Port of Destination"
          ></c-input>
        </el-form-item>
      </c-col>
zhengxiaokui committed
132 133
      </c-col>

Eivi committed
134
      <!-- right -->
zhengxiaokui committed
135 136
      <c-col :span="11" :offset="1">
        <c-col :span="24">
Eivi committed
137
          <el-form-item label="Mixed Payment" prop="ledgrp.blk.mixdet">
zhengxiaokui committed
138 139 140 141 142 143
            <c-input
              type="textarea"
              :rows="4"
              v-model="model.ledgrp.blk.mixdet"
              maxlength="35"
              show-word-limit
Eivi committed
144
              placeholder="Please input Mixed Payment"
Eivi committed
145
              disabled
zhengxiaokui committed
146 147
            ></c-input>
          </el-form-item>
zhengxiaokui committed
148
        </c-col>
zhengxiaokui committed
149 150 151

        <!-- Days of presentation period -->
        <c-col :span="24">
Eivi committed
152
          <el-form-item label="Presentation Period" prop="ledgrp.rec.prepers18">
zhengxiaokui committed
153 154
            <c-input
              v-model="model.ledgrp.rec.prepers18"
Eivi committed
155
              placeholder="Please input Presentation Period"
zhengxiaokui committed
156 157
            ></c-input>
          </el-form-item>
zhengxiaokui committed
158
        </c-col>
zhengxiaokui committed
159 160

        <c-col :span="24">
Eivi committed
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
          <el-form-item
            label=""
            prop="ledgrp.rec.prepertxts18"
            style="width: 100%"
          >
            <c-fullbox>
              <c-input
                type="textarea"
                v-model="model.ledgrp.rec.prepertxts18"
                maxlength="50"
                show-word-limit
                placeholder="Please input Presentation period text"
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin-left: 10px; padding: 0 10px"
                  size="small"
                  type="primary"
潘际乾 committed
179
                  disabled
Eivi committed
180 181 182 183 184
                >
                  ...
                </c-button>
              </template>
            </c-fullbox>
zhengxiaokui committed
185
          </el-form-item>
zhengxiaokui committed
186
        </c-col>
zhengxiaokui committed
187 188 189

        <c-col :span="24">
          <el-form-item
Eivi committed
190
            label="Additional Details to Charges"
zhengxiaokui committed
191
            prop="ledgrp.blk.feetxt"
Eivi committed
192
            style="width: 100%"
zhengxiaokui committed
193
          >
Eivi committed
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
            <c-fullbox>
              <c-input
                type="textarea"
                v-model="model.ledgrp.blk.feetxt"
                maxlength="50"
                show-word-limit
                placeholder="Please input Additional Details to Charges"
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin-left: 10px; padding: 0 10px"
                  size="small"
                  type="primary"
                >
                  ...
                </c-button>
              </template>
            </c-fullbox>
zhengxiaokui committed
212
          </el-form-item>
zhengxiaokui committed
213
        </c-col>
zhengxiaokui committed
214 215

        <!-- Own Charges Borne by -->
Eivi committed
216 217
        <c-col :span="24">
          <el-form-item label="Charges Condition" prop="ledgrp.rec.chato">
zhengxiaokui committed
218 219 220
            <c-select
              v-model="model.ledgrp.rec.chato"
              style="width: 100%"
Eivi committed
221 222
              placeholder="Please select Charges Condition"
              :code="codes.chadet"
zhengxiaokui committed
223 224 225
            >
            </c-select>
          </el-form-item>
zhengxiaokui committed
226
        </c-col>
zhengxiaokui committed
227

Eivi committed
228
        <c-col :span="24">
zhengxiaokui committed
229 230 231 232 233
          <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"
Eivi committed
234
              :code="codes.stacty"
zhengxiaokui committed
235 236 237
            >
            </c-select>
          </el-form-item>
zhengxiaokui committed
238
        </c-col>
zhengxiaokui committed
239

Eivi committed
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
        <c-col :span="24">
          <c-col :span="20">
            <el-form-item label="Maximum Tenor" prop="ledgrp.rec.tenmaxday">
              <c-input
                v-model="model.ledgrp.rec.tenmaxday"
                placeholder="Please input Maximum Tenor"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="4">
            <el-form-item label="Days" style="float: right"> </el-form-item>
          </c-col>
        </c-col>

        <!-- Dispatch from -->
        <c-col :span="24">
          <el-form-item label="Dispatch from" prop="ledgrp.rec.shpfro">
zhengxiaokui committed
257
            <c-input
Eivi committed
258 259 260 261 262 263
              type="textarea"
              :rows="3"
              show-word-limit
              v-model="model.ledgrp.rec.shpfro"
              maxlength="65"
              placeholder="Please input Dispatch from"
zhengxiaokui committed
264 265
            ></c-input>
          </el-form-item>
zhengxiaokui committed
266
        </c-col>
zhengxiaokui committed
267

Eivi committed
268 269
         <!-- Final Destination -->
      <c-col :span="24">
zhengxiaokui committed
270
        <el-form-item label="Final Destination" prop="ledgrp.rec.shpto">
zhengxiaokui committed
271 272 273 274 275 276
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.rec.shpto"
            maxlength="65"
            show-word-limit
Eivi committed
277
            placeholder="Please input Final Destination"
zhengxiaokui committed
278 279 280 281 282
          ></c-input>
        </el-form-item>
      </c-col>

      <!-- Shipment Period -->
Eivi committed
283
      <c-col :span="24">
zhengxiaokui committed
284
        <el-form-item label="Shipment Period" prop="ledgrp.blk.shpper">
zhengxiaokui committed
285 286 287 288 289 290
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.ledgrp.blk.shpper"
            maxlength="65"
            show-word-limit
Eivi committed
291
            placeholder="Please input Shipment Period"
zhengxiaokui committed
292 293 294
          ></c-input>
        </el-form-item>
      </c-col>
Eivi committed
295
      </c-col>
zhengxiaokui committed
296
    </c-row>
Eivi committed
297

zhengxiaokui committed
298 299 300
  </div>
</template>
<script>
zhengxiaokui committed
301
import Api from "~/service/Api";
wangren committed
302
import commonProcess from "~/mixin/commonProcess";
zhengxiaokui committed
303 304 305
import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
zhengxiaokui committed
306 307

export default {
zhengxiaokui committed
308 309 310
  inject: ["root"],
  components: { "c-ptap": Ptap },
  props: ["model", "codes"],
wangren committed
311
  mixins: [commonProcess],
zhengxiaokui committed
312 313 314 315 316 317 318 319 320 321 322
  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
323
    },
zhengxiaokui committed
324 325
  },
};
zhengxiaokui committed
326 327 328
</script>
<style>
</style>