Commit 545c4421 authored by dcy's avatar dcy

佣金设置样式调整

parent 2e20814d
<template>
<div class="app-container">
<el-form class="demo-ruleForm" :rules="rules" :model="form" ref="form" >
<el-form class="demo-ruleForm" label-position="left" label-width="110px" :rules="rules" :model="form" ref="form" >
<el-card class="box-card" style="padding: 10px">
<div slot="header" class="clearfix">
<el-row>
<el-col :span="24">
<el-col :span="5">
<el-form-item label="客户名称" prop="customerId">
<el-select
v-model="customerForm.name"
......@@ -20,16 +22,14 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4">
<el-col :span="5">
<el-form-item label="运输方式" prop="transportId">
<div>
<custom-selectors-dictionary v-model="form.transportId" :options="getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"></custom-selectors-dictionary>
</div>
</el-form-item>
</el-col>
<el-col :span="4">
<el-col :span="5">
<el-form-item label="始发地" prop="departureId">
<div>
<custom-selectors-dictionary label-key="titleZh" value-key="id" v-model="form.departureId"
......@@ -37,7 +37,9 @@
</div>
</el-form-item>
</el-col>
<el-col :span="4">
</el-row>
<el-row>
<el-col :span="5">
<el-form-item label="目的地" prop="objectiveId">
<div>
<custom-selectors-dictionary label-key="titleZh" value-key="id" v-model="form.objectiveId"
......@@ -45,7 +47,7 @@
</div>
</el-form-item>
</el-col>
<el-col :span="4">
<el-col :span="5">
<el-form-item label="报关方式" prop="customsType">
<div>
<custom-selectors-dictionary v-model="form.customsType"
......@@ -53,7 +55,7 @@
</div>
</el-form-item>
</el-col>
<el-col :span="4">
<el-col :span="5">
<el-form-item label="备案" prop="approval">
<div>
<custom-selectors-dictionary v-model="form.approval"
......@@ -62,9 +64,10 @@
</el-form-item>
</el-col>
</el-row>
</div>
<el-row>
<el-col :span="24">
<el-form-item label="佣金类型(明佣、暗佣)">
<el-form-item label-width="150px" label="佣金类型(明佣、暗佣)">
<el-radio-group v-model="form.type">
<el-radio v-for="(item,index) in getDictDatas(DICT_TYPE.COMMISSION_TYPE)" v-show="item.value != 0" :label="parseInt(item.value)"
:key="index">{{ item.label }}
......@@ -194,7 +197,7 @@
</div>
</div>
<div class="title">
<span class="label">成本价:</span>原价-暗佣佣金
<span class="label">成本价 = 原价-暗佣佣金</span>
</div>
<div class="box">
<div class="label">销售价上调:</div>
......@@ -213,7 +216,7 @@
</div>
</div>
<div class="title">
<span class="label"> 实际佣金返点:</span>销售价-成本价
<span class="label"> 实际佣金返点 = 销售价-成本价</span>
</div>
</div>
</el-col>
......@@ -224,6 +227,7 @@
<el-button style="width:200px" @click="cancel">取消</el-button>
</el-col>
</el-row>
</el-card>
</el-form>
</div>
</template>
......@@ -612,12 +616,11 @@ export default {
}
.title {
margin: 15px 0;
margin: 25px 0;
text-align: left;
.label {
vertical-align: middle;
font-size: 14px;
font-size: 16px;
color: #606266;
font-weight: 700;
}
......
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