Canp.vue 9.8 KB
Newer Older
1 2 3 4 5 6
<template>
  <div class="eibs-tab">
    <el-row>
      <c-col :span="6">
        <el-form-item label="参考号" prop="didgrp.rec.ownref">
          <c-input
7
            disabled
8 9 10 11 12 13 14 15
            v-model="model.didgrp.rec.ownref"
            maxlength="16"
            placeholder="请输入参考号"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="1">
16
        <el-form-item label="" label-width="15px">
17 18 19 20 21 22 23 24 25
          <!-- prop="bdtp0.didget.sdamod.seainf" -->
          <!-- <c-input  v-model="model.bdtp0.didget.sdamod.seainf"  placeholder="请输入"></c-input> -->
          <c-button size="mini" type="primary" icon="el-icon-search"></c-button>
        </el-form-item>
      </c-col>

      <c-col :span="5">
        <el-form-item label="到期日" prop="didgrp.rec.expdat">
          <c-date-picker
26
            disabled
27 28 29 30 31 32 33 34 35 36 37
            type="date"
            v-model="model.didgrp.rec.expdat"
            style="width: 100%"
            placeholder="请选择到期日"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="6">
        <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
          <c-input
38
            disabled
39 40
            v-model="model.didgrp.cbs.opn1.cur"
            maxlength="3"
wangna committed
41
            placeholder="请输入币种"
42 43 44 45 46 47 48
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="6">
        <el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="20px">
          <c-input
49
            disabled
50
            v-model="model.didgrp.cbs.opn1.amt"
wangna committed
51
            placeholder="请输入信用证余额"
52 53 54 55
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
wangna committed
56
   
57 58 59 60
    <el-row>
      <c-col :span="6">
        <el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
          <c-input
61
            disabled
62 63 64 65 66 67 68 69
            v-model="model.bddgrp.rec.ownref"
            maxlength="16"
            placeholder="请输入单据参考号"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="1">
70 71
        <el-form-item label="" label-width="15px">
          <!-- prop="bdtp0.recget.sdamod.seainf" -->
72 73 74 75 76 77 78 79
          <!-- <c-input  v-model="model.bdtp0.recget.sdamod.seainf"  placeholder="请输入"></c-input> -->
          <c-button size="mini" type="primary" icon="el-icon-search"></c-button>
        </el-form-item>
      </c-col>

      <c-col :span="12" :offset="5">
        <el-form-item label="" prop="bddgrp.rec.nam">
          <c-input
80
            disabled
81 82
            v-model="model.bddgrp.rec.nam"
            maxlength="40"
wangna committed
83
            placeholder="请输入"
84 85 86 87 88 89 90 91
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <el-row>
      <c-col :span="6">
        <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
          <c-select
92
            disabled
93 94 95 96
            v-model="model.bddgrp.cbs.max.cur"
            style="width: 100%"
            placeholder="请选择单据金额"
          >
97 98 99 100 101 102 103
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
104 105 106 107 108 109 110
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="6">
        <el-form-item label="" prop="bddgrp.cbs.max.amt" label-width="20px">
          <c-input
111
            disabled
112 113 114 115 116 117 118 119 120
            v-model="model.bddgrp.cbs.max.amt"
            placeholder="请输入单据金额"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="申请人" prop="bddgrp.apl.pts.ref">
          <c-input
121
            disabled
122 123 124 125 126 127 128 129 130 131 132
            v-model="model.bddgrp.apl.pts.ref"
            maxlength="16"
            placeholder="请输入申请人"
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <el-row>
      <c-col :span="6">
        <el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
          <c-input
133
            disabled
134 135 136 137 138 139 140 141 142 143
            v-model="model.bddgrp.cbs.opn1.cur"
            maxlength="3"
            placeholder="请输入单据余额"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="6">
        <el-form-item label="" prop="bddgrp.cbs.opn1.amt" label-width="20px">
          <c-input
144
            disabled
145
            v-model="model.bddgrp.cbs.opn1.amt"
wangna committed
146
            placeholder="请输入"
147 148 149 150 151 152 153
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="" prop="bddgrp.apl.pts.nam" label-width="150px">
          <c-input
154
            disabled
155 156
            v-model="model.bddgrp.apl.pts.nam"
            maxlength="40"
wangna committed
157
            placeholder="请输入"
158 159 160 161 162 163 164 165
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <el-row>
      <c-col :span="6">
        <el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
          <c-date-picker
166
            disabled
167 168 169 170 171 172 173 174 175 176 177
            type="date"
            v-model="model.bddgrp.rec.rcvdat"
            style="width: 100%"
            placeholder="请选择到单日期"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="6">
        <el-form-item label="寄单日期" prop="bddgrp.rec.advdat">
          <c-date-picker
178
            disabled
179 180 181
            type="date"
            v-model="model.bddgrp.rec.advdat"
            style="width: 100%"
wangna committed
182
            placeholder="请选择寄单日期"
183 184 185 186 187 188 189
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="受益人" prop="bddgrp.ben.pts.ref">
          <c-input
190
            disabled
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
            v-model="model.bddgrp.ben.pts.ref"
            maxlength="16"
            placeholder="请输入受益人"
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <!-- <c-col :span="12">
      <span
        v-text="model.bdtp0.matp.mattxtlab"
        data-path=".bdtp0.matp.mattxtlab"
      >
      </span>
    </c-col> -->
    <el-row>
      <c-col :span="12">
        <el-form-item label="到期日" prop="bddgrp.rec.matdat">
          <c-date-picker
209
            disabled
210 211 212
            type="date"
            v-model="model.bddgrp.rec.matdat"
            style="width: 100%"
wangna committed
213
            placeholder="请选择到期日"
214 215 216 217 218 219 220
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="" prop="bddgrp.ben.pts.nam">
          <c-input
221
            disabled
222 223 224 225 226 227 228 229 230 231 232
            v-model="model.bddgrp.ben.pts.nam"
            maxlength="40"
            placeholder=""
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <el-row>
      <c-col :span="12">
        <el-form-item label="单据类型" prop="bddgrp.rec.docflg">
          <c-select
233
            disabled
234 235 236 237
            v-model="model.bddgrp.rec.docflg"
            style="width: 100%"
            placeholder="请选择单据类型"
          >
238 239 240 241 242 243 244
            <el-option
              v-for="item in codes.brdtyp"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
245 246 247 248 249 250 251
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="交单行" prop="bddgrp.prb.pts.ref">
          <c-input
252
            disabled
253 254 255 256 257 258 259 260 261 262 263
            v-model="model.bddgrp.prb.pts.ref"
            maxlength="16"
            placeholder="请输入交单行"
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <el-row>
      <c-col :span="12">
        <el-form-item label="单据承付状态" prop="bddgrp.rec.docsta">
          <c-select
264
            disabled
265 266 267 268
            v-model="model.bddgrp.rec.docsta"
            style="width: 100%"
            placeholder="请选择单据承付状态"
          >
269 270 271 272 273 274 275
            <el-option
              v-for="item in codes.docsta"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
276 277 278 279 280 281 282
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="" prop="bddgrp.prb.pts.nam" label-width="150px">
          <c-input
283
            disabled
284 285
            v-model="model.bddgrp.prb.pts.nam"
            maxlength="40"
wangna committed
286
            placeholder="请输入"
287 288 289 290 291 292
          ></c-input>
        </el-form-item>
      </c-col>
    </el-row>
    <el-row>
      <c-col :span="12">
wangna committed
293
        <el-form-item label="受益人陈述" prop="strinf">
294 295 296
          <c-input
            type="textarea"
            v-model="model.strinf"
huangxin committed
297
            maxlength="1750"
298
            show-word-limit
wangna committed
299
            placeholder="请输入受益人陈述"
300
            :rows="10"
301 302 303 304 305
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="9" :offset="3">
wangna committed
306
        <c-checkbox  v-model="model.sndmsg">发送报文</c-checkbox>
307 308 309
      </c-col>
    </el-row>
    <c-col :span="12">
wangna committed
310
      <el-form-item label="分录程序" prop="rebkpflg">
311 312 313
        <c-select
          v-model="model.rebkpflg"
          style="width: 100%"
wangna committed
314
          placeholder="请选择分录程序"
315
        >
316
          <el-option
huangxin committed
317
            v-for="item in rebkpflg"
318 319 320 321 322
            :key="item.value"
            :label="item.label"
            :value="item.value"
          >
          </el-option>
323 324 325 326 327 328 329
        </c-select>
      </el-form-item>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
330
import commonProcess from "~/mixin/commonProcess";
331 332 333 334 335 336
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bdtcan/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
337
  mixins: [commonProcess],
338
  data() {
huangxin committed
339 340 341 342 343 344
    return {
      rebkpflg: [
        { label: "Reverse Booking (Document Set)", value: "N" },
        { label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
    ],
    };
345
  },
346
  methods: { ...Event, changed(e) {} },
347 348 349 350 351
  created: function () {},
};
</script>
<style>
</style>