|
@@ -96,11 +96,9 @@
|
|
|
<view>{{item.businesDate?item.businesDate.slice(0,10):''}}</view>
|
|
|
</view>
|
|
|
<view class="textBox">
|
|
|
- <view style="font-size: 28rpx;">业务来源</view>
|
|
|
- <view style="font-size: 28rpx;color: #FD4B09;" v-if="item.businessSource=='外部销售'">
|
|
|
- {{item.businessSource}}</view>
|
|
|
- <view style="font-size: 28rpx;color: #E6A23C;" v-if="item.businessSource=='额度支付'">
|
|
|
- {{item.businessSource}}</view>
|
|
|
+ <view style="font-size: 28rpx;">业务来源:</view>
|
|
|
+ <view :style="businessSourceStyle(item.businessSource)">
|
|
|
+ {{item.businessSource}}</view>
|
|
|
</view>
|
|
|
<view class="textBox">
|
|
|
<view class="widthdian">{{item.goodsNameJoin}}</view>
|
|
@@ -274,6 +272,12 @@
|
|
|
this.scrollTop = e.scrollTop;
|
|
|
},
|
|
|
methods: {
|
|
|
+ businessSourceStyle(businessSource){
|
|
|
+ return {
|
|
|
+ 'font-size': '28rpx',
|
|
|
+ color: (businessSource === '额度支付' ? '#E6A23C' : '#FD4B09')
|
|
|
+ }
|
|
|
+ },
|
|
|
newCompany() {
|
|
|
uni.$u.route('/pages/views/product/createCompany', {
|
|
|
code: "account",
|
|
@@ -656,4 +660,4 @@
|
|
|
white-space: nowrap;
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|