Commit 545c4421 authored by dcy's avatar dcy

佣金设置样式调整

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