Ptyp1.vue 12.2 KB
Newer Older
wangren committed
1 2
<template>
  <div class="eibs-tab">
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 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 67 68 69 70 71 72 73 74 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
    <c-content>
      <!--------- 左 --------->
      <c-col :span="11">
        <c-col :span="24">
          <el-form-item label="Credit Class" prop="recgrp.rec.rskcls">
            <c-select
              v-model="model.recgrp.rec.rskcls"
              style="width: 100%"
              placeholder="请选择Credit Class"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Risk Country" prop="recgrp.rec.rskcty">
            <c-select
              v-model="model.recgrp.rec.rskcty"
              style="width: 100%"
              placeholder="请选择Risk Country"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Risk Description" prop="recgrp.rec.rsktxt">
            <c-input
              v-model="model.recgrp.rec.rsktxt"
              maxlength="35"
              placeholder="请输入Risk Description"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="DTA Import L/C ID" prop="recgrp.adrmaa.dtacid">
            <c-input
              v-model="model.recgrp.adrmaa.dtacid"
              maxlength="23"
              placeholder="请输入DTA Import L/C ID"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="DTA Export L/C ID" prop="recgrp.adrmaa.dtecid">
            <c-input
              v-model="model.recgrp.adrmaa.dtecid"
              maxlength="23"
              placeholder="请输入DTA Export L/C ID"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="DTA Guarantees ID" prop="recgrp.adrmaa.dtgcid">
            <c-input
              v-model="model.recgrp.adrmaa.dtgcid"
              maxlength="23"
              placeholder="请输入DTA Guarantees ID"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="电证名称" prop="recgrp.adrmaa.namelc">
            <c-input
              type="textarea"
              v-model="model.recgrp.adrmaa.namelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入名称"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="流动资金贷款利率档次" prop="recgrp.rec.cunqii">
            <c-select
              v-model="model.recgrp.rec.cunqii"
              style="width: 100%"
              placeholder="请选择流动资金贷款利率档次"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="上浮比率" prop="recgrp.rec.bilvvv">
            <c-input
              v-model="model.recgrp.rec.bilvvv"
              placeholder="请输入上浮比率"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="企业海关十位制编码" prop="recgrp.rec.bngcod">
            <c-input
              v-model="model.recgrp.rec.bngcod"
              maxlength="10"
              placeholder="请输入企业海关十位制编码"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="国内地区码" prop="recgrp.adrmaa.discod">
            <c-input
              v-model="model.recgrp.adrmaa.discod"
              maxlength="6"
              placeholder="请输入国内地区码"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="ECIFNO" prop="recgrp.rec.ecifno">
            <c-input
              v-model="model.recgrp.rec.ecifno"
              maxlength="24"
              placeholder="请输入ECIFNO"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="ECIFNO中文名称" prop="recgrp.rec.ecifnam1">
            <c-input
              v-model="model.recgrp.rec.ecifnam1"
              maxlength="100"
              placeholder="请输入ECIFNO中文名称"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="组织机构代码" prop="recgrp.rec.ecifjuscod">
            <c-input
              v-model="model.recgrp.rec.ecifjuscod"
              maxlength="50"
              placeholder="请输入组织机构代码"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        
      </c-col>
      <!--------- 右 --------->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <el-form-item label="币种" prop="recgrp.ptyrat.cur">
            <c-select
              v-model="model.recgrp.ptyrat.cur"
              style="width: 100%"
              placeholder="请选择Currency"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="买价优惠" prop="recgrp.ptyrat.buytyp">
            <c-select
              v-model="model.recgrp.ptyrat.buytyp"
              style="width: 100%"
              placeholder="请选择Customer Specific Buying Rate Type"
              :code="codes.buytyp"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="19">
          <el-form-item label="Buy rate discount" prop="recgrp.ptyrat.buyrat">
            <c-input
              v-model="model.recgrp.ptyrat.buyrat"
              placeholder="请输入Buy rate discount"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="5">
          <c-button size="small" type="primary" @click="onRecpanUpd" disabled>
wangren committed
200
            Update one
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
          </c-button>
        </c-col>

        <c-col :span="24">
          <el-form-item label="卖价优惠" prop="recgrp.ptyrat.seltyp">
            <c-select
              v-model="model.recgrp.ptyrat.seltyp"
              style="width: 100%"
              placeholder="请选择Customer Specific Selling Rate Type"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="19">
          <el-form-item label="Sell rate discount" prop="recgrp.ptyrat.selrat">
            <c-input
              v-model="model.recgrp.ptyrat.selrat"
              placeholder="请输入Sell rate discount"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="5">
          <c-button
            size="small"
            type="primary"
            @click="onRecpanUpdall"
            disabled
          >
wangren committed
233
            Update All
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
          </c-button>
        </c-col>

        <c-col :span="24">
          <el-form-item label="Service Level" prop="recgrp.rec.sla">
            <c-select
              v-model="model.recgrp.rec.sla"
              style="width: 100%"
              placeholder="请选择Service Level"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="电证地址" prop="recgrp.adrmaa.adrelc">
            <c-input
              type="textarea"
              v-model="model.recgrp.adrmaa.adrelc"
              maxlength="35"
              show-word-limit
              placeholder="请输入地址"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="客户类型" prop="recgrp.rec.idtype">
            <c-select
              v-model="model.recgrp.rec.idtype"
              style="width: 100%"
              placeholder="请选择客户类型"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="金融机构类型" prop="recgrp.rec.akkcom">
            <c-input
              v-model="model.recgrp.rec.akkcom"
              maxlength="8"
              placeholder="请输入金融机构类型"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="身份证号码" prop="recgrp.rec.idcode">
            <c-input
              v-model="model.recgrp.rec.idcode"
              maxlength="32"
              placeholder="请输入身份证号码"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="交易主体" prop="recgrp.rec.trnman">
            <c-select
              v-model="model.recgrp.rec.trnman"
              style="width: 100%"
              placeholder="请选择交易主体"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>

        <!-- <c-col :span="24">
          <c-button size="small" type="primary" @click="onRecpanEcif">
wangren committed
307
            ECIF
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363
          </c-button>
        </c-col> -->

        <c-col :span="12">
          <el-form-item label="ocrm日期" prop="recgrp.rec.khbsdt">
            <c-date-picker
              type="date"
              v-model="model.recgrp.rec.khbsdt"
              style="width: 100%"
              placeholder="请选择ocrm日期"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>

        <c-col :span="12" >
          <c-checkbox v-model="model.recgrp.rec.speeco" disabled
            >特殊经济区域</c-checkbox
          >
        </c-col>

        <c-col :span="24">
          <el-form-item label="企业规模(国标)" prop="recgrp.rec.qygmgb">
            <c-select
              v-model="model.recgrp.rec.qygmgb"
              style="width: 100%"
              placeholder="请选择企业规模(国标)"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="贸金客户类别" prop="recgrp.rec.crmtyp">
            <c-select
              v-model="model.recgrp.rec.crmtyp"
              style="width: 100%"
              placeholder="请选择贸金客户类别"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="24">
        <c-istream-table
          :list="stmData.data"
          :columns="stmData.columns"
          :showButtonFlg="true"
        >
        </c-istream-table>
      </c-col>

      
    </c-content>
  </div>
wangren committed
364 365
</template>
<script>
366
import Api from "~/service/Api";
wangren committed
367
import commonProcess from "~/mixin/commonProcess";
368 369
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbipty/Event";
wangren committed
370 371

export default {
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      stmData: {
        columns: [
        "0 1 \"Cur\" 200",
        "2 2 \"Buy Type\" 250 1 0 1 PTYRAT:BUYTYP",
        "3 3 \"Discount\" 250 2 0 1 0",
        "4 4 \"Sell Type\" 250 1 0 1 PTYRAT:SELTYP",
        "5 5 \"Discount\" 250 2 0 1 0"  
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
wangren committed
392 393 394
</script>
<style>
</style>
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
<!-- <c-col :span="24">
      <el-form-item label="Rate Stream" prop="recpan.ratstm">
        <c-input
          v-model="model.recpan.ratstm"
          placeholder="请输入Rate Stream"
        ></c-input>
      </el-form-item>
    </c-col> -->

      <!-- <c-col :span="24">
	    <span  v-text="model.recpan.selpct"   data-path=".recpan.selpct" > </span>
	</c-col> -->

      <!-- <c-col :span="24">
	    <span  v-text="model.recpan.buypct"   data-path=".recpan.buypct" > </span>
	</c-col> -->

      <!-- <c-col :span="24">
      <span v-text="model.recpan.idnam" data-path=".recpan.idnam"> </span>
    </c-col> -->