123 lines
2.8 KiB
Vue
123 lines
2.8 KiB
Vue
<template>
|
|
<view class="shet-cont">
|
|
<view class="jsfm-item" style="padding-top: 0;">
|
|
<u-row>
|
|
<view class="lft1 font-28">计费方式</view>
|
|
<view style="flex: 1;">
|
|
<u-radio-group v-model="modelInfo.calcFeeType"
|
|
@change="groupChange"
|
|
>
|
|
<u-radio v-for="(item, index) in dicData.emis_calc_fee_type" :label="item.title" :name="item.val"
|
|
activeColor="#B12D29" size="30" labelSize="26" :custom-style="`margin-right: ${index+1<dicData.emis_calc_fee_type.length?30:0}rpx;`"
|
|
>
|
|
</u-radio>
|
|
</u-radio-group>
|
|
</view>
|
|
</u-row>
|
|
</view>
|
|
|
|
<template v-if="modelInfo.calcFeeType == 1 || modelInfo.calcFeeType == 2">
|
|
<view class="jsfm-item">
|
|
<u-row custom-style="gap: 20rpx;">
|
|
<u-row>
|
|
<text class="font-26 pr-10">运输费</text>
|
|
<tpx-input v-model:value="modelInfo.ke1" :isWhite="true" custom-style="width: 120rpx;" suffix="元"></tpx-input>
|
|
</u-row>
|
|
<u-row>
|
|
<text class="font-26 pr-10">续重</text>
|
|
<tpx-input v-model:value="modelInfo.xuzh" :isWhite="true" custom-style="width: 120rpx;" suffix="KG"></tpx-input>
|
|
</u-row>
|
|
</u-row>
|
|
<view class="mt-10">运输费计算公式: </view>
|
|
</view>
|
|
|
|
<view class="jsfm-item">
|
|
<u-row>
|
|
<view class="lft1 font-28">
|
|
<tpx-select :list="[]" v-model:value="modelInfo.kehuid" placeholder="清关费" mode="drop" :isWhite="true"></tpx-select>
|
|
</view>
|
|
<u-row custom-style="flex:1;">
|
|
<tpx-input v-model:value="modelInfo.fei" :isWhite="true" custom-style="" suffix="CNY"></tpx-input>
|
|
</u-row>
|
|
<view class="delicon">
|
|
<u-icon name="minus-circle" size="30"></u-icon>
|
|
</view>
|
|
</u-row>
|
|
</view>
|
|
|
|
<u-row justify="center">
|
|
<u-button custom-style="border-radius: 16rpx;height:60rpx;font-size: 30rpx;margin-top: 20rpx;" :plain="true" type="primary">
|
|
<u-icon name="plus" size="30" color="#B12D29"></u-icon>
|
|
<text class="pl-10">增加收费项</text>
|
|
</u-button>
|
|
</u-row>
|
|
</template>
|
|
|
|
<template v-if="modelInfo.calcFeeType == 3">
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<view class="mt-30">
|
|
<u-textarea v-model="modelInfo.feeRemaker" border="surround" height="120" placeholder="备注"
|
|
maxlength="50" count></u-textarea>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
computed: {
|
|
modelInfo: {
|
|
get(){
|
|
return this.value
|
|
}
|
|
},
|
|
dicData() {
|
|
return this.$store.getters.dicData
|
|
}
|
|
},
|
|
props: {
|
|
value: {
|
|
default () {
|
|
return { }
|
|
}
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
}
|
|
},
|
|
created() {
|
|
|
|
},
|
|
onHide() {
|
|
|
|
},
|
|
unmounted() {
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.shet-cont{
|
|
}
|
|
.jsfm-item{
|
|
padding: 20rpx 0;
|
|
border-bottom: 2rpx solid #F6F6F6;
|
|
.lft1{
|
|
width: 150rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
.delicon{
|
|
padding: 16rpx 0 16rpx 20rpx;
|
|
}
|
|
}
|
|
|
|
</style> |