Detp2.vue 5.31 KB
Newer Older
wuziqiang committed
1 2
<template>
  <div class="eibs-tab">
3 4 5 6 7 8 9 10

  <!-- ========================= Left ========================= -->
  <c-col :span="11"> 
        <el-form-item label="分批装运货物" prop="dedgrp.rec.shppar">
                <c-select v-model="model.dedgrp.rec.shppar" style="width:100%" placeholder="请选择">
                    <el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
                    </el-option>
                </c-select>
wuziqiang committed
11
        </el-form-item>
12
       
liuxin committed
13
        <el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
14 15 16 17
                <c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%">
                    <el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
                    </el-option>
                </c-select>
wuziqiang committed
18
        </el-form-item>
19 20 21

        <el-form-item label="分期装运/提供服务约定" prop="dedgrp.rec.fqtime">
                <c-input type="textarea" :rows="3" v-model="model.dedgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
wuziqiang committed
22
        </el-form-item>
23 24 25 26 27 28 29

        <el-form-item label="货物运输/交货/服务方式" prop="dedgrp.rec.tratyp">
                <c-select v-model="model.dedgrp.rec.tratyp" style="width:100%" placeholder="请选择" @change="recTratypChange" :disabled="model.dedgrp.rec.mytype == 'F'">
                    <el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
                        :value="item.value">
                    </el-option>
                </c-select>
wuziqiang committed
30
        </el-form-item>
31 32 33 34 35 36 37 38 39

        <el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="手输运输方式" prop="dedgrp.rec.sdsrfs">
                <c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
            </el-form-item>
            <el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="服务提供方式" prop="dedgrp.rec.sdsrfs">
                <c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
            </el-form-item>
            <el-form-item v-if="model.dedgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="dedgrp.rec.sdsrfs">
                <c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
wuziqiang committed
40
        </el-form-item>
41 42 43

        <el-form-item label="合同编号" prop="dedgrp.rec.conno">
            <c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
wuziqiang committed
44
        </el-form-item>
45 46 47 48 49 50 51 52 53 54

        <el-form-item label="合同金额" prop="dedgrp.rec.conamt">
            <c-col :span="10">
                <c-select v-model="model.dedgrp.rec.concur" style="width:90%" placeholder="请选择">
                    <el-option label="CNY 人民币" value="CNY"></el-option>
                </c-select>   
            </c-col>
            <c-col :span="14">
                <c-input v-model="model.dedgrp.rec.conamt" placeholder="请输入"></c-input>
            </c-col>
wuziqiang committed
55
        </el-form-item>
56 57 58 59 60 61
    </c-col>

    <!-- ========================= Right ========================= -->
    <c-col :span="11" :offset="1">
        <el-form-item label="货物转运地(港)" prop="dedgrp.rec.shpfro">
            <c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpfro" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
wuziqiang committed
62
        </el-form-item>
63 64 65

        <el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
            <c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpto" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
wuziqiang committed
66
        </el-form-item>
67 68 69

        <el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
                <c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shppro" :disabled="model.dedgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
wuziqiang committed
70
        </el-form-item>
71 72 73 74 75
    </c-col>


    <!--
	<c-col :span="12">
liuxin committed
76 77
	    <span  v-text="model.detp.fenzhu"   
        a-path=".detp.fenzhu" > </span>
78
	</c-col>
wuziqiang committed
79
                  
80 81 82 83 84 85 86 87 88 89 90
                   
	<c-col :span="12">
	    <span  v-text="model.detp.hwzydi"   data-path=".detp.hwzydi" > </span>
	</c-col>
                  
                                                                                                         
	<c-col :span="12">
	    <span  v-text="model.detp.sdysfs"   data-path=".detp.sdysfs" > </span>
	</c-col>
    -->             
                            
wuziqiang committed
91 92 93 94
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
95
import commonProcess from "~/mixin/commonProcess";
wuziqiang committed
96
import CodeTable from "~/config/CodeTable"
97
import Event from "~/model/Detopn/Event"
wuziqiang committed
98 99 100 101

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
102
    mixins: [commonProcess],
wuziqiang committed
103 104
    data(){
        return {
105 106 107
            mytypeFlag:true,
        }
    },
liuxin committed
108
    methods:{...Event},
wuziqiang committed
109 110 111 112 113 114 115 116
    created:function(){

    }
}
</script>
<style>

</style>