|
@@ -1,7 +1,7 @@
|
|
|
<template name="task">
|
|
|
<view class="content">
|
|
|
<view class="cu-bar search bg-white">
|
|
|
- <view class="search-form round">
|
|
|
+ <view class="search-form round" v-hasPermission="'acquisitionPay.view11'">
|
|
|
<u-search placeholder="请输入合同编号、车牌号或派车编号" v-model="keyword" @search="searchKeyWord()"
|
|
|
@custom="searchKeyWord()"></u-search>
|
|
|
</view>
|
|
@@ -12,12 +12,16 @@
|
|
|
</view>
|
|
|
<view class="introduce-section">
|
|
|
<view v-for="(item, index) in taskInfo" :key="index" class="guess-item" @click="navToDetailPage(item)">
|
|
|
- <view class="title flex">
|
|
|
- <text>{{item.messageTitle}}</text>
|
|
|
- <view class='line'>{{item.createDate}}</view>
|
|
|
+ <view class="title flex align-item-center">
|
|
|
+ <view>
|
|
|
+ <view>{{item.department}}:</view>
|
|
|
+ <view style='font-size:12px;color:#878C9C;'>{{item.createDate}}</view>
|
|
|
+ </view>
|
|
|
+ <text v-if='statusFlag==1' style='color:#FE6430;'>{{item.messageTitle}}</text>
|
|
|
+ <text v-if='statusFlag==3' style='color:#AFB3BF;'>{{item.messageTitle}}</text>
|
|
|
</view>
|
|
|
<view class="flex title_b">
|
|
|
- <view class="title">
|
|
|
+ <view style='color:#878C9C;' class="title">
|
|
|
{{item.messageContent}}
|
|
|
</view>
|
|
|
</view>
|
|
@@ -220,6 +224,7 @@
|
|
|
that.loadStatus = 'nomore'
|
|
|
}
|
|
|
for (var i = 0; i < this.taskInfo.length; i++) {
|
|
|
+ this.taskInfo[i].department=this.taskInfo[i].messageContent.split(' ')[0]
|
|
|
if (this.taskInfo[i].businessType == 'WAREHOUSE') {
|
|
|
if (this.taskInfo[i].businessCode == 'INOUTTASK-TASK-APPROVE') {
|
|
|
this.taskInfo[i].messageTitle = '出入库任务'
|
|
@@ -228,9 +233,7 @@
|
|
|
if (this.taskInfo[i].businessCode == 'PAYMENT-MANAGEMENT-APPROVE') {
|
|
|
this.taskInfo[i].messageTitle = '付款管理'
|
|
|
}
|
|
|
- if (this.taskInfo[i].businessCode == 'PROCUREMENT-PRICE-APPROVE') {
|
|
|
- this.taskInfo[i].messageTitle = '仓库设置'
|
|
|
- }
|
|
|
+
|
|
|
} else if (this.taskInfo[i].businessType == 'REPORT') {
|
|
|
if (this.taskInfo[i].businessCode == 'PROCUREMENT-CLOSE-REPORT') {
|
|
|
this.taskInfo[i].messageTitle = '采购平仓统计'
|
|
@@ -255,7 +258,11 @@
|
|
|
if (this.taskInfo[i].businessCode == 'SALE-ORDER-APPROVE') {
|
|
|
this.taskInfo[i].messageTitle = '销售订单'
|
|
|
}
|
|
|
- } else if (this.taskInfo[i].businessType == 'TRANSPORTATIONTASK') {
|
|
|
+ } else if (this.taskInfo[i].businessType == 'PROCUREMENT') {
|
|
|
+ if (this.taskInfo[i].businessCode == 'PROCUREMENT-PRICE-APPROVE') {
|
|
|
+ this.taskInfo[i].messageTitle = '仓库设置'
|
|
|
+ }
|
|
|
+ } else if (this.taskInfo[i].businessType == 'Tran') {
|
|
|
if (this.taskInfo[i].businessCode == 'TRAN-TASK-APPROVE') {
|
|
|
this.taskInfo[i].messageTitle = '运费设置'
|
|
|
}
|
|
@@ -460,8 +467,7 @@
|
|
|
}
|
|
|
|
|
|
.introduce-section .title text {
|
|
|
- font-size: 17px;
|
|
|
- font-weight: bold;
|
|
|
+ font-size: 14px;
|
|
|
height: 50px;
|
|
|
line-height: 50px;
|
|
|
}
|
|
@@ -487,12 +493,10 @@
|
|
|
}
|
|
|
|
|
|
.introduce-section .guess-item {
|
|
|
- border-radius: 4px;
|
|
|
+ border-radius: 10px;
|
|
|
background: #fff;
|
|
|
- padding: 0upx 30upx 20upx;
|
|
|
+ padding: 30upx 30upx 80upx;
|
|
|
margin: 10px;
|
|
|
- padding-bottom: 20upx;
|
|
|
- border-bottom: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.line {
|