Commit f0eb3f9f authored by dragondean@qq.com's avatar dragondean@qq.com

查看空运价格商品清关费显示优化

parent de0d7ed3
<template> <template>
<div> <div class="wrapper">
<template v-if="!readonly"> <template v-if="!readonly">
<el-row type="flex" align="align" :gutter="10" > <el-row type="flex" align="align" :gutter="10" >
<el-col :span="6">空运订单重量上限(kg)</el-col> <el-col :span="6">{{$t('空运订单重量上限')}}(kg)</el-col>
<el-col :span="6" ><el-input v-model="value1.airWeightLimit"></el-input></el-col> <el-col :span="6" ><el-input v-model="value1.airWeightLimit"></el-input></el-col>
<el-col :span="6"> <el-col :span="6">
<slot></slot> <slot></slot>
</el-col> </el-col>
</el-row> </el-row>
<h1>空运清关费</h1> <h1>{{$t('空运清关费')}}</h1>
</template> </template>
<div v-for="(item ,index) in value1[keyArr]"> <div v-for="(item ,index) in value1[keyArr]">
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="4"> <el-col :span="5">
第{{index + 1 }}阶梯定价方案 {{$t('第{index}阶梯定价方案', {index: index+1})}}
</el-col> </el-col>
<el-col :span="6" v-if="!readonly"> <el-col :span="6" v-if="!readonly">
<el-button type="primary" @click="addInterval" v-if="index === 0" > <el-button type="primary" @click="addInterval" v-if="index === 0" >
添加区间 {{$t('添加区间')}}
</el-button> </el-button>
<el-button type="danger" @click="deleteFn(index)" v-else> <el-button type="danger" @click="deleteFn(index)" v-else>
删除 {{$t('删除')}}
</el-button> </el-button>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="3"> <el-col :span="5">
第{{index + 1}}阶梯 {{$t('第{index}阶梯', {index: index+1})}}
</el-col> </el-col>
<el-col :span="9"> <el-col :span="15">
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
<el-input v-model="item.startNum"></el-input> - <el-input v-model="item.endNum" ></el-input > / <el-input v-model="item.startNum" class="mr-10"></el-input>
<span class="mr-10">-</span>
<el-input v-model="item.endNum" class="mr-10"></el-input >
<span class="mr-10">/</span>
<weight-select @change="changeWeight" :disabled="index > 0" v-model="item.weightUnit" :options="unitList"></weight-select> <weight-select @change="changeWeight" :disabled="index > 0" v-model="item.weightUnit" :options="unitList"></weight-select>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="3" > <el-col :span="5" >
空运清关费 {{$t('空运清关费')}}
</el-col> </el-col>
<el-col :span="9"> <el-col :span="15">
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
<el-input v-model="item.clearancePrice"></el-input> <el-input v-model="item.clearancePrice" class="w-100 mr-10"></el-input>
<currency-select @change="setCurrency" :disabled="index > 0" :options="currencyList" v-model="item.clearancePriceUnit"></currency-select> <currency-select class=" mr-10" @change="setCurrency" :disabled="index > 0" :options="currencyList" v-model="item.clearancePriceUnit"></currency-select>
/ <weight-select :disabled="index > 0" @change="setAirFreightWeight" :options="unitList" v-model="item.clearanceVolumeUnit"></weight-select> <span class=" mr-10">/</span>
<weight-select :disabled="index > 0" @change="setAirFreightWeight" :options="unitList" v-model="item.clearanceVolumeUnit"></weight-select>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -153,6 +157,9 @@ export default { ...@@ -153,6 +157,9 @@ export default {
</script> </script>
<style scoped> <style scoped>
.wrapper{
font-size: 14px;
}
.el-row { .el-row {
margin-bottom: 10px; margin-bottom: 10px;
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment