AdditionalInfo.vue 2.62 KB
Newer Older
liuxin committed
1 2 3 4
<template>
    <div class="eibs-tab">
        <c-col :span="11">
            <c-col :span="24" v-if="false">
liuxin committed
5
                <el-form-item label="汇款人名称" prop="orcnam">
liuxin committed
6
                    <c-input
liuxin committed
7
                        v-model="model.orcnam"
liuxin committed
8 9 10 11 12 13
                        maxlength="16"
                        placeholder=""
                    ></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="24">
liuxin committed
14
                <el-form-item label="收款人名称" prop="pyenam">
liuxin committed
15
                        <c-input
liuxin committed
16
                            v-model="model.pyenam"
liuxin committed
17
                            placeholder=""
liuxin committed
18
                            @blur="pyenamEvent"
liuxin committed
19 20 21 22 23
                        ></c-input>
                </el-form-item>
            </c-col>

            <c-col :span="24">
liuxin committed
24
                <el-form-item label="清算费用锁定服务" prop="cptp.qsfysd">
liuxin committed
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
                    <c-select
                        v-model="model.cptp.qsfysd"
                        style="width: 100%"
                        placeholder="请选择服务提供银行"
                    >
                        <el-option
                            v-for="item in codes.qsfysd"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value"
                        >
                        </el-option>
                    </c-select>
                </el-form-item>
            </c-col>

            <c-col :span="24" v-if="model.cptp.qsfysd === '1'">
                <el-form-item label="服务提供银行">
                    <c-input
                        v-model="model.cptp.fwtgyh"
                        placeholder=""
                    ></c-input>
                </el-form-item>
            </c-col>
        </c-col>
    </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
54
import commonProcess from "~/mixin/commonProcess";
liuxin committed
55 56 57 58 59 60
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";

export default {
    inject: ["root"],
    props: ["model", "codes"],
wangren committed
61
    mixins: [commonProcess],
liuxin committed
62 63 64 65 66 67 68 69 70 71 72 73 74
    data() {
        return {};
    },
    watch:{
      "model.cptp.qsfysd": function(){
          if(this.model.cptp.qsfysd == ''){
                this.model.cptp.fwtgyh == '';
            }else{
                this.model.cptp.fwtgyh = 'CHASUS33XXX';
                console.log(this.model.cptp.fwtgyh)
            }
      }
    },
liuxin committed
75 76 77 78 79 80 81
    methods: { 
        ...Event,
        pyenamEvent() {
            this.executeRule("pyenam").then( res => {

            })
        }
liuxin committed
82 83 84 85 86 87
    },
    created: function () {},
};
</script>
<style>
</style>