运费模板配置

master
mabo 2021-05-26 10:30:08 +08:00
parent ff85c3f68f
commit f5786e46c3
1 changed files with 12 additions and 20 deletions

View File

@ -14,7 +14,7 @@
</tr> </tr>
<tr> <tr>
<th colspan="20"> <th colspan="20">
<h3>{{item.name}}</h3> <span class="temp-name">{{item.name}}</span>
<span class="fr m-r-5"> <span class="fr m-r-5">
<time style="margin-right: 20px" title="最后编辑时间"> <time style="margin-right: 20px" title="最后编辑时间">
<i class="icon-time"></i>{{item.updateTime}} <i class="icon-time"></i>{{item.updateTime}}
@ -26,20 +26,16 @@
</tr> </tr>
<tr v-if="item.pricingMethod!=='FREE'"> <tr v-if="item.pricingMethod!=='FREE'">
<td class="w10 bdl"></td> <td class="w10 bdl"></td>
<td class="cell-area tl">运送到</td> <td class="cell-area tl w150">运送到</td>
<td class="w150">首件() <td class="w150">首件()</td>
</td>
<td class="w150">运费</td> <td class="w150">运费</td>
<td class="w150">续件() <td class="w150">续件()</td>
</td>
<td class="w150 bdr">运费</td> <td class="w150 bdr">运费</td>
</tr> </tr>
<template v-if="item.pricingMethod!=='FREE'"> <template v-if="item.pricingMethod!=='FREE'">
<tr v-for="(children,index) in item.freightTemplateChildList" :key="index"> <tr v-for="(children,index) in item.freightTemplateChildList" :key="index">
<td class="bdl"></td> <td class="bdl"></td>
<td class="cell-area tl" style="width: 60%">{{children.area}}</td> <td class="cell-area tl w150" style="width: 60%;white-space:normal;">{{children.area}}</td>
<td> <td>
{{children.firstCompany}} {{children.firstCompany}}
</td> </td>
@ -54,13 +50,10 @@
</td> </td>
</tr> </tr>
</template> </template>
</tbody> </tbody>
</table> </table>
</TabPane> </TabPane>
<TabPane v-if="csTab" :label=title :name=operation> <TabPane v-if="csTab" :label="title" :name="operation">
<Form ref="form" :model="form" :label-width="100" :rules="formValidate"> <Form ref="form" :model="form" :label-width="100" :rules="formValidate">
<FormItem label="模板名称" prop="name"> <FormItem label="模板名称" prop="name">
<Input v-model="form.name" maxlength="10" clearable style="width: 20%" /> <Input v-model="form.name" maxlength="10" clearable style="width: 20%" />
@ -90,11 +83,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr class="bd-line" data-group="n1" v-for="(item,index) in form.freightTemplateChildList"> <tr class="bd-line" data-group="n1" v-for="(item,index) in form.freightTemplateChildList" :key="index">
<td></td> <td></td>
<td class="tl cell-area"> <td class="tl cell-area">
<span class="area-group"> <span class="area-group">
<p style="display:inline-block;white-space:pre;">{{item.area}}</p> <p style="display:inline-block">{{item.area}}</p>
</span> </span>
</td> </td>
<td></td> <td></td>
@ -476,13 +469,12 @@ export default {
border-left: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6;
} }
.order tbody tr th h3 { .order tbody tr th .temp-name {
float: left;
font-size: 14px; font-size: 14px;
line-height: 20px;
color: #555; color: #555;
vertical-align: middle; // line-height: 44px;
display: inline-block; margin: 7px 0 0 10px;
margin: 0 10px;
} }
.m-r-5 { .m-r-5 {