审查视图

src/views/nav4/airlift.vue 13.9 KB
1 2 3 4 5 6 7 8 9 10 11
<template>
    <div class="bg order">
        <span class="air">空运服务-订舱确认</span>
        <div class="px">
<!--            发件人信息-->
            <h4 class="title">发件人信息</h4>
            <div class="r-table">
                <table  class="tb" width="100%">
                    <tbody>
                    <tr>
                        <th width="15%">姓名</th>
12
                        <td width="18%"><el-input v-model="name" placeholder="" ></el-input></td>
13
                        <th width="15%">联系电话</th>
14
                        <td width="18%"><el-input v-model="tel" placeholder="" ></el-input></td>
15
                        <th width="15%">公司</th>
16
                        <td width="18%"><el-input v-model="company" placeholder="" ></el-input></td>
17 18 19
                    </tr>
                    <tr>
                        <th width="15%">税号</th>
20
                        <td width="18%"><el-input v-model="taxId" placeholder="" ></el-input></td>
21
                        <th width="15%">邮编</th>
22
                        <td width="18%"><el-input v-model="postcode" placeholder="" ></el-input></td>
23
                        <th width="15%">省市区</th>
24
                        <td width="18%"><el-input v-model="province" placeholder="" ></el-input></td>
25 26 27
                    </tr>
                    <tr>
                        <th colspan="1">详细地址</th>
28
                        <td colspan="5"><el-input v-model="address" placeholder="" ></el-input></td>
29 30 31 32 33 34 35 36 37 38 39
                    </tr>
                    </tbody>
                </table>
            </div>
<!--            收件人信息-->
            <h4 class="title">收件人信息</h4>
            <div class="r-table">
                <table  class="tb" width="100%">
                    <tbody>
                    <tr>
                        <th width="15%">姓名</th>
40
                        <td width="18%"><el-input v-model="name" placeholder="" ></el-input></td>
41
                        <th width="15%">联系电话</th>
42
                        <td width="18%"><el-input v-model="tel" placeholder="" ></el-input></td>
43
                        <th width="15%">公司</th>
44
                        <td width="18%"><el-input v-model="company" placeholder="" ></el-input></td>
45 46 47
                    </tr>
                    <tr>
                        <th width="15%">邮箱</th>
48
                        <td width="18%"><el-input v-model="postcode" placeholder="" ></el-input></td>
49
                        <th width="15%">身份证/护照</th>
50
                        <td width="18%"><el-input v-model="idCard" placeholder="" ></el-input></td>
51
                        <th width="15%">税号</th>
52
                        <td width="18%"><el-input v-model="companyTaxesNumber" placeholder="" ></el-input></td>
53 54 55
                    </tr>
                    <tr>
                        <th width="15%">国家</th>
56
                        <td width="18%"><el-input v-model="country" placeholder="" ></el-input></td>
57
                        <th width="15%">省/州</th>
58
                        <td width="18%"><el-input v-model="province" placeholder="" ></el-input></td>
59
                        <th width="15%">城市</th>
60
                        <td width="18%"><el-input v-model="city" placeholder="" ></el-input></td>
61 62 63
                    </tr>
                    <tr>
                        <th colspan="1">详细地址</th>
64
                        <td colspan="5"><el-input v-model="address" placeholder="" ></el-input></td>
65 66 67
                    </tr>
                    <tr>
                        <th colspan="1">邮编</th>
68
                        <td colspan="5"><el-input v-model="postcode" placeholder="" ></el-input></td>
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 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
                    </tr>
                    </tbody>
                </table>
            </div>
<!--            货件信息-->
            <h4 class="title">货件信息</h4>
            <div class="r-table">
                <table  class="tb" width="100%">
                    <tbody>
                    <tr>
                        <th width="15%">客户单号</th>
                        <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td>
                        <th width="15%">总件数</th>
                        <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td>
                        <th width="15%">总重量(kg)</th>
                        <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td>
                    </tr>
                    <tr>
                        <th width="15%">总体积(m³)</th>
                        <td width="18%"><el-input v-model="input" placeholder="" ></el-input></td>
                        <th width="15%">包裹</th>
                        <td width="18%">
                            <el-input v-model="input" placeholder="长" style="width: 60px" ></el-input>×
                            <el-input v-model="input" placeholder="宽" style="width: 60px" ></el-input>×
                            <el-input v-model="input" placeholder="高" style="width: 60px" ></el-input>
                        </td>
                        <th width="15%">是否退件</th>
                        <td width="18%">
                            <el-select v-model="value" placeholder="请选择">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">运输方式</th>
                        <td width="18%">
                            <el-select v-model="value" placeholder="请选择">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>
                        <th width="15%">是否带电</th>
                        <td width="18%">
                            <el-select v-model="value" placeholder="请选择">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>
                        <th width="15%">运费付款方式</th>
                        <td width="18%">
                            <el-select v-model="value" placeholder="请选择">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>
                    </tr>
                    <tr>
                        <th width="15%">税金支付方式</th>
                        <td width="18%">
                            <el-select v-model="value" placeholder="请选择">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>
                        <th width="15%">一般贸易报关出口</th>
                        <td width="18%">
                            <el-select v-model="value" placeholder="请选择">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>
                        <th width="15%">一般贸易报关进口</th>
                        <td width="18%">
                            <el-select v-model="value" placeholder="请选择">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>
                    </tr>
                    <tr>
                        <th colspan="1">贸易条款</th>
                        <td colspan="1"><el-input v-model="input" placeholder="" ></el-input></td>
                        <th colspan="1">出口原因</th>
                        <td colspan="6">
                            <el-select v-model="value" placeholder="请选择" style="width: 100%">
                                <el-option
                                        v-for="item in options"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value">
                                </el-option>
                            </el-select>
                        </td>

                    </tr>
                    <tr>
                        <th colspan="1">商业发票备注</th>
                        <td colspan="5"><el-input v-model="input" placeholder="" ></el-input></td>
                    </tr>
                    </tbody>
                </table>
            </div>
<!--            货物信息-->
            <h4 class="title">货物信息</h4>
            <div class="r-table order">
                <table  class="tb" width="100%">
                    <tbody>
                    <tr>
                        <th width="9%">中文名</th>
                        <th width="13%">英文名</th>
                        <th width="9%">材质</th>
                        <th width="9%">申报价值(单价)</th>
                        <th width="5%">数量</th>
                        <th width="9%">申报价值(总价)</th>
                        <th width="9%">原产地</th>
                        <th width="9%">海关货物编号</th>
                        <th width="9%">配货名称</th>
                        <th width="12%">配货备注</th>
                        <th width="7%">操作</th>
                    </tr>
                    <tr>
219 220 221 222
                        <td width="9%"><el-input v-model="nameCn" placeholder="" ></el-input></td>
                        <td width="13%"><el-input v-model="name" placeholder="" ></el-input></td>
                        <td width="9%"><el-input v-model="texture" placeholder="" ></el-input></td>
                        <td width="9%"><el-input v-model="perPrice" placeholder="" ></el-input></td>
223
                        <td width="5%"><el-input v-model="input" placeholder="" ></el-input></td>
224 225 226 227 228
                        <td width="9%"><el-input v-model="totalPrices" placeholder="" ></el-input></td>
                        <td width="9%"><el-input v-model="originArea" placeholder="" ></el-input></td>
                        <td width="9%"><el-input v-model="hsCode" placeholder="" ></el-input></td>
                        <td width="9%"><el-input v-model="cargoName" placeholder="" ></el-input></td>
                        <td width="12%"><el-input v-model="cargoRemark" placeholder="" ></el-input></td>
229 230 231 232 233 234 235 236 237
                        <td width="7%" style="text-align: center">
                            <el-button  icon="el-icon-plus" size="mini" circle></el-button>
                            <el-button  icon="el-icon-minus" size="mini" circle></el-button>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div style="text-align: center;margin-top: 30px">
小范 authored
238
                <el-button type="danger"  style="width: 180px;height: 50px" @click="open">确认下单</el-button>
239 240 241 242 243 244 245 246
            </div>
            <div style="margin-top: 50px;height: 80px"> </div>
        </div>
    </div>
</template>

<script>
    export default {
小范 authored
247 248 249 250 251 252 253 254 255 256 257 258 259 260
        methods:{

        open() {
            this.$alert('确认下单?', '', {
                confirmButtonText: '确定',
                callback: action => {
                    this.$message({
                        type: 'info',
                        message: `action: ${ action }`
                    });
                }
            });
        }
        }
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
    }
</script>

<style scoped>
    .bg{
        background-color: #F2F2F2;
    }
    .air{
        font-size: 20px;
        color: #308aee;
        margin-top: 20px;
        display: block;
    }
    .px{
        background-color: #FFFFFF;
        width: 100%;
小范 authored
277 278 279
        height: 850px;
        overflow: auto;
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
    }
    .title{
        color: #127ef2;
        font-size: 16px;
        font-weight: bold;
        margin: 20px 30px;
        text-align: left;
    }
    .r-table .tb > tbody > tr > th {
        background-color: #d8ecff;
        text-align: center;
    }
    .r-table .tb > tbody > tr > td {
        /*padding: 4px;  (间接决定了行高)*/
        /*display: table-cell;*/
    }

</style>