Detp2.vue 7.31 KB
Newer Older
wuziqiang committed
1
<template>
liuxin committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
    <div class="eibs-tab">
        <!-- ========================= 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"
                    >
wuziqiang committed
17 18
                    </el-option>
                </c-select>
liuxin committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
            </el-form-item>

            <el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
                <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"
                    >
wuziqiang committed
34 35
                    </el-option>
                </c-select>
liuxin committed
36
            </el-form-item>
wuziqiang committed
37

liuxin committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51
            <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>
            </el-form-item>
wuziqiang committed
52

liuxin committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
            <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"
                    >
wuziqiang committed
70 71
                    </el-option>
                </c-select>
liuxin committed
72
            </el-form-item>
wuziqiang committed
73

liuxin committed
74 75 76 77 78 79 80 81
            <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"
82
                    :disabled="model.dedgrp.rec.tratyp!='08' && model.dedgrp.rec.mytype!='F'"
liuxin committed
83 84 85 86
                    maxlength="140"
                    show-word-limit
                    placeholder="请输入"
                ></c-input>
wuziqiang committed
87
            </el-form-item>
liuxin committed
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
            <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
114 115
            </el-form-item>

liuxin committed
116 117 118 119 120 121 122
            <el-form-item label="合同编号" prop="dedgrp.rec.conno">
                <c-input
                    v-model="model.dedgrp.rec.conno"
                    maxlength="35"
                    placeholder="请输入"
                ></c-input>
            </el-form-item>
wuziqiang committed
123

liuxin committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
            <c-col :span="24">
                <el-form-item label="合同金额">
                    <c-col :span="10">
                        <c-select
                            v-model="model.dedgrp.rec.concur"
                            placeholder="请选择"
                           style="width: 100%"
                        >
                            <el-option label="CNY 人民币" value="CNY"></el-option>
                        </c-select>
                    </c-col>
                    <c-col :span="14">
                        <el-form-item label="" label-width="5px" prop="dedgrp.rec.conamt">
                            <c-input-currency
                                v-model="model.dedgrp.rec.conamt"
                                placeholder="请输入"
                            ></c-input-currency>
                        </el-form-item>
                    </c-col>
                </el-form-item>
wuziqiang committed
144
            </c-col>
liuxin committed
145
        </c-col>
wuziqiang committed
146

liuxin committed
147 148 149 150 151 152 153 154 155 156 157 158 159 160
        <!-- ========================= 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>
            </el-form-item>
wuziqiang committed
161

liuxin committed
162 163 164 165 166 167 168 169 170 171 172 173
            <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>
            </el-form-item>
wuziqiang committed
174

liuxin committed
175 176 177 178 179 180 181 182 183 184 185 186 187
            <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>
            </el-form-item>
        </c-col>
wangna committed
188
</div>
wuziqiang committed
189 190
</template>
<script>
liuxin committed
191
import Api from "~/service/Api";
wangren committed
192
import commonProcess from "~/mixin/commonProcess";
liuxin committed
193 194
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detopn/Event";
wuziqiang committed
195 196

export default {
liuxin committed
197 198
    inject: ["root"],
    props: ["model", "codes"],
wangren committed
199
    mixins: [commonProcess],
liuxin committed
200 201 202
    methods: { ...Event },
    created: function () {},
};
wuziqiang committed
203 204 205
</script>
<style>
</style>