|
|
@@ -19,8 +19,9 @@
|
|
|
<table border="1" style="width: 100%;border-collapse: collapse;text-align: center;table-layout: fixed;">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th style="width: 100px">货主</th>
|
|
|
- <th>特殊标记</th>
|
|
|
+ <th style="width: 60px">货主</th>
|
|
|
+ <th>标记</th>
|
|
|
+ <th>省份</th>
|
|
|
<th>承运商</th>
|
|
|
<th>类型</th>
|
|
|
<th>数量</th>
|
|
|
@@ -34,7 +35,12 @@
|
|
|
</td>
|
|
|
<td style="word-wrap: break-word;" >
|
|
|
<div>{{ row.ruleName }}</div>
|
|
|
- <span @click="onProvince(row)" v-if="row.ruleName && row.province"><van-icon name="eye-o" size="20" color="#1989fa" /></span>
|
|
|
+ </td>
|
|
|
+ <td style="word-wrap: break-word;" >
|
|
|
+ <div v-if="row.province">{{ row.province.split(',').slice(0, 1).join(',') }}</div>
|
|
|
+ <span @click="onProvince(row)" v-if="row.ruleName && row.province">
|
|
|
+ <van-icon v-if="row.province.split(',').length > 1" name="eye-o" size="20" color="#1989fa" />
|
|
|
+ </span>
|
|
|
</td>
|
|
|
<td style="word-wrap: break-word;">
|
|
|
<div v-if="row.carrier.split(',').length" @click="onMore(row)">
|
|
|
@@ -46,7 +52,10 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
<td style="word-wrap: break-word;">{{ row.typeDescribe }}</td>
|
|
|
- <td><span :style="row.hours>=2?'color:#ee0a24;font-weight: 500':''">{{ row.count }}</span></td>
|
|
|
+ <td style="position: relative">
|
|
|
+ <van-tag class="hours" v-if="row.hours>=2" type="danger">{{row.hours}}<span style="font-size: 10px">/h</span></van-tag>
|
|
|
+ <span style="font-size: 18px;">{{ row.count }}</span>
|
|
|
+ </td>
|
|
|
<td>
|
|
|
<van-button type="primary" v-if="row.type=='Y'|| row.type=='N'" @click="onCreateTask(row)">获取</van-button>
|
|
|
<van-button type="success" v-else-if="row.type=='M'" @click="onTaskList(row,'M')">查看</van-button>
|
|
|
@@ -94,6 +103,7 @@
|
|
|
</van-checkbox-group>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div v-if="model.type=='*' && model.province"><van-notice-bar :background="'none'" style="font-size: 12px" :speed="20" :text="model.province" /></div>
|
|
|
</van-dialog>
|
|
|
<van-dialog v-model:show="createTaskTrueFalseBy"
|
|
|
:beforeClose="beforeClose"
|
|
|
@@ -116,7 +126,6 @@
|
|
|
>
|
|
|
</van-field>
|
|
|
<div v-if="model.type" class="tips">
|
|
|
-<!-- <div class="tips-item">货主:{{ownerMap[model.owner]}}</div>-->
|
|
|
<div class="tips-item" style="display: flex;align-items: center;">
|
|
|
<div>承运商:</div>
|
|
|
<div style="flex: 1"><van-notice-bar :background="'none'" :speed="20" color="#000" :text="model.carrier" /></div>
|
|
|
@@ -131,8 +140,12 @@
|
|
|
<div>规则:</div>
|
|
|
<div style="flex: 1"><van-notice-bar :background="'none'" :speed="20" color="#000" :text="model.ruleName" /></div>
|
|
|
</div>
|
|
|
+ <div class="tips-item" v-if="model.province" style="display: flex;align-items: center;">
|
|
|
+ <div>省份:</div>
|
|
|
+ <div style="flex: 1"><van-notice-bar :background="'none'" :speed="20" color="#000" :text="model.province" /></div>
|
|
|
+ </div>
|
|
|
<div class="tips-item" v-if="model.remark" style="display: flex;align-items: center;">
|
|
|
- <div>规则:</div>
|
|
|
+ <div>备注:</div>
|
|
|
<div style="flex: 1"><van-notice-bar :background="'none'" :speed="20" :text="model.remark" /></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -500,6 +513,12 @@ window.onRefresh=loadData
|
|
|
<style scoped lang="sass">
|
|
|
.container
|
|
|
background: #fff
|
|
|
+ .hours
|
|
|
+ position: absolute
|
|
|
+ right: 0
|
|
|
+ top: 0
|
|
|
+ border-radius: 12px 0 0 12px
|
|
|
+ background: #ed8f0c
|
|
|
:deep(.order-cell .van-cell__title)
|
|
|
text-align: left !important
|
|
|
:deep(.order-cell .van-cell__value)
|