Accp.vue 12.8 KB
Newer Older
liumin committed
1 2
<template>
  <div class="eibs-tab">
3
    <!-- left -->
4
    <c-col :span="11">
5
      <c-col :span="24">
6 7 8
        <c-col :span="20">
          <el-form-item
            label="参考号"
9
            prop="dedgrp.rec.ownref"
10 11 12
            style="width: 100%"
          >
            <c-input
13
              v-model="model.dedgrp.rec.ownref"
14 15 16 17 18 19 20 21 22 23 24 25 26
              maxlength="16"
              placeholder="请输入参考号"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="1">
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
27
            disabled
28
          >
nanrui committed
29
            <i class="el-icon-info" style="font-size:15px"></i>
30 31 32 33 34 35 36
          </c-button>
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
37
            :disabled="!this.flag && model.dedgrp.rec.ownref == ''? false:true"
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
            @click="onDetpButgetref"
          >
            获取
          </c-button>
        </c-col>
      </c-col>

      <c-col :span="24">
        <c-col :span="20">
          <el-form-item
            label="单据参考号"
            prop="bfdgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.bfdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入单据参考号"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="1">
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
67
            disabled
68
          >
nanrui committed
69
            <i class="el-icon-info" style="font-size:15px"></i>
70 71 72 73 74 75 76
          </c-button>
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
77
            :disabled="!this.flag && model.bfdgrp.rec.ownref == ''? false:true"
78 79 80 81 82 83
            @click="onDetpButgetref"
          >
            获取
          </c-button>
        </c-col>
      </c-col>
84 85 86 87 88 89 90 91 92 93
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
            <c-input
              v-model="model.bfdgrp.cbs.max.cur"
              maxlength="3"
              placeholder="请输入单据金额"
              disabled
            ></c-input>
          </el-form-item>
94
        </c-col>
95 96 97 98
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="bfdgrp.cbs.max.amt">
            <c-input
              v-model="model.bfdgrp.cbs.max.amt"
wangna committed
99
              placeholder="请输入"
100 101 102
              disabled
            ></c-input>
          </el-form-item>
103
        </c-col>
104 105 106 107 108 109 110 111 112 113 114
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="单据余额" prop="bfdgrp.cbs.opn1.cur">
            <c-input
              v-model="model.bfdgrp.cbs.opn1.cur"
              maxlength="3"
              placeholder="请输入单据余额"
              disabled
            ></c-input>
          </el-form-item>
115
        </c-col>
116 117 118 119
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
            <c-input
              v-model="model.bfdgrp.cbs.opn1.amt"
wangna committed
120
              placeholder="请输入"
121 122 123
              disabled
            ></c-input>
          </el-form-item>
124
        </c-col>
125 126 127
      </c-col>
      <c-col :span="24">
        <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
128
          <c-select
129
            v-model="model.bfdgrp.rec.doctypcod"
130
            style="width: 100%"
131 132
            placeholder="请输入单据类型"
            disabled
133 134 135 136 137 138 139 140 141
          >
            <el-option
              v-for="item in codes.doctypcod"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
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
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
          <c-date-picker
            type="date"
            v-model="model.bfdgrp.rec.matdat"
            style="width: 100%"
            placeholder="请选择远期单据到期日"
            value-format="yyyy-MM-dd"
            disabled
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
            <c-date-picker
              type="date"
              v-model="model.bfdgrp.rec.rcvdat"
              style="width: 100%"
              placeholder="请选择到单日期"
              disabled
            ></c-date-picker>
          </el-form-item>
167
        </c-col>
168 169 170 171 172 173 174 175 176 177
        <c-col :span="12">
          <el-form-item label="提示日期" prop="bfdgrp.rec.predat">
            <c-date-picker
              type="date"
              v-model="model.bfdgrp.rec.predat"
              style="width: 100%"
              placeholder="请选择提示日期"
              disabled
            ></c-date-picker>
          </el-form-item>
178
        </c-col>
179 180 181
      </c-col>
      <c-col :span="24">
        <el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
182
          <c-select
183
            v-model="model.bfdgrp.rec.docsta"
184
            style="width: 100%"
185 186
            placeholder="请输入单据状态"
            disabled
187 188
          >
            <el-option
Wuyuqiu committed
189
              v-for="item in codes.docsta1"
190 191 192 193 194 195
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
196 197 198 199 200
        </el-form-item>
      </c-col>
    </c-col>

    <!-- right -->
201
    <c-col :span="11" :offset="1">
202 203
      <c-col :span="24">
        <c-col :span="12">
204
          <el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
205
            <c-input
206
              v-model="model.dedgrp.cbs.opn1.cur"
207 208 209 210 211 212 213
              maxlength="3"
              placeholder="请输入信用证余额"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
214
          <el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
215
            <c-input
216
              v-model="model.dedgrp.cbs.opn1.amt"
wangna committed
217
              placeholder="请输入"
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="24">
        <el-form-item label="摘要" prop="bfdgrp.rec.nam">
          <c-input
            v-model="model.bfdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入摘要"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
239
            title: '交单人',
240 241 242 243 244 245
            grp: 'bfdgrp',
            rol: 'prb',
          }"
          :disabled="true"
        ></c-ptsmsg>
      </c-col>
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265
      <c-col :span="24">
        <el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
          <c-input
            v-model="model.dedgrp.rec.kzref"
            maxlength="16"
            placeholder="'请输入开证行编号'"
            disabled
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
          <c-input
            v-model="model.bfdgrp.iss.pts.nam"
            maxlength="40"
            placeholder="'请输入开证行名称'"
            disabled
          ></c-input>
        </el-form-item>
266 267 268 269 270 271 272 273 274 275 276 277 278 279
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
            title: '申请人',
            grp: 'bfdgrp',
            rol: 'apl',
          }"
          :disabled="true"
        ></c-ptsmsg>
      </c-col>
    </c-col>
    <c-col :span="24">
280
      <el-form-item style="margin-left: -150px">
281 282 283 284
        <el-divider />
      </el-form-item>
    </c-col>

Wuyuqiu committed
285 286
    <c-col :span="11">
      <c-col :span="24">
287 288
        <el-form-item label="收到报文明细" prop="trnmod.swiadd.strinf">
            <c-input type="textarea" v-model="model.trnmod.swiadd.strinf" maxlength="35" show-word-limit placeholder="请输入收到报文明细" ></c-input>
liumin committed
289 290
        </el-form-item>
        </c-col>
291 292 293 294 295 296 297 298 299 300

          <c-col :span="24">
            <c-col :span="12">
                <el-form-item
                    label="承兑金额"
                    prop="bfdgrp.cbs.opn1.cur"
                >
                    <c-input
                        v-model="model.bfdgrp.cbs.opn1.cur"
                        maxlength="3"
wangna committed
301
                        placeholder="请输入"
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item
                    label=""
                    label-width="5px"
                    prop="setmod.docamt"
                >
                    <c-input
                        v-model="model.setmod.docamt"
                        placeholder="请输入承兑金额"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>

       <c-col :span="24">
            <c-col :span="12">
                <el-form-item
                    label="单据金额"
                    prop="bfdgrp.cbs.opn1.cur"
                >
                    <c-input
                        v-model="model.bfdgrp.cbs.opn1.cur"
                        maxlength="3"
wangna committed
330
                        placeholder="请输入"
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item
                    label=""
                    label-width="5px"
                    prop="aamset.utlamt"
                >
                    <c-input
                        v-model="model.aamset.utlamt"
                        placeholder="请输入单据金额"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>
wangna committed
349
         
350 351 352 353 354 355 356 357 358
        <c-col :span="24">
            <c-col :span="12">
                <el-form-item
                    label="附加金额"
                    prop="bfdgrp.cbs.opn1.cur"
                >
                    <c-input
                        v-model="model.bfdgrp.cbs.opn1.cur"
                        maxlength="3"
wangna committed
359
                        placeholder="请输入"
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item
                    label=""
                    label-width="5px"
                    prop="aamset.utlamt2"
                >
                    <c-input
                        v-model="model.aamset.utlamt2"
                        placeholder="请输入附加金额"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>
       <c-col :span="24">
            <c-col :span="12">
                <el-form-item
                    label="扣减金额"
                    prop="bfdgrp.cbs.opn1.cur"
                >
                    <c-input
                        v-model="model.bfdgrp.cbs.opn1.cur"
                        maxlength="3"
                        placeholder="请输入扣减金额"
                        disabled
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="12">
                <el-form-item
                    label=""
                    label-width="5px"
                    prop="setmod.redamt"
                >
                    <c-input
                        v-model="model.setmod.redamt"
                        placeholder="请输入扣减金额"
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>
Wuyuqiu committed
405
    </c-col>
liumin committed
406 407 408 409
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
410
import commonProcess from "~/mixin/commonProcess";
liumin committed
411 412
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftacc/Event"
413 414
import Ptsmsg from "~/views/Public/Ptsmsg";

liumin committed
415 416

export default {
417
    components: { "c-ptsmsg": Ptsmsg},
liumin committed
418 419
    inject: ['root'],
    props:["model","codes"],
wangren committed
420
    mixins: [commonProcess],
liumin committed
421 422 423 424 425
    data(){
        return {

        }
    },
426 427 428 429 430
    computed: {
    flag() {
      return this.model.mtabut.coninf.usr.extkey == "";
    },
  },
liumin committed
431 432 433 434 435 436 437 438 439
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>