|
@@ -1,32 +1,47 @@
|
|
|
<template>
|
|
<template>
|
|
|
<Water></Water>
|
|
<Water></Water>
|
|
|
<view class="nav" :style="{ paddingTop: statusBarHeight + 'px' }">
|
|
<view class="nav" :style="{ paddingTop: statusBarHeight + 'px' }">
|
|
|
- <text class="nav-back" :style="{ top: statusBarHeight + 'px' }" @click="onBack"></text>
|
|
|
|
|
|
|
+ <text
|
|
|
|
|
+ class="nav-back"
|
|
|
|
|
+ :style="{ top: statusBarHeight + 'px' }"
|
|
|
|
|
+ @click="onBack"
|
|
|
|
|
+ ></text>
|
|
|
<view class="nav-title">{{ title }}</view>
|
|
<view class="nav-title">{{ title }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="page">
|
|
<view class="page">
|
|
|
- <view class="header-card" :style="{ paddingTop: statusBarHeight + 60 + 'px' }">
|
|
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="header-card"
|
|
|
|
|
+ :style="{ paddingTop: statusBarHeight + 60 + 'px' }"
|
|
|
|
|
+ >
|
|
|
<view class="meta">
|
|
<view class="meta">
|
|
|
<view class="dot"></view>
|
|
<view class="dot"></view>
|
|
|
- <text class="meta-text">所在省份:{{ customerProvinceName || "--" }}</text>
|
|
|
|
|
|
|
+ <text class="meta-text"
|
|
|
|
|
+ >所在省份:{{ customerProvinceName || "--" }}</text
|
|
|
|
|
+ >
|
|
|
</view>
|
|
</view>
|
|
|
<view class="meta">
|
|
<view class="meta">
|
|
|
<view class="dot"></view>
|
|
<view class="dot"></view>
|
|
|
- <text class="meta-text">客户等级:{{ customerLevel || "--" }}</text>
|
|
|
|
|
|
|
+ <text class="meta-text">客户性质:{{ customerCategory || "--" }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="meta">
|
|
<view class="meta">
|
|
|
<view class="dot"></view>
|
|
<view class="dot"></view>
|
|
|
- <text class="meta-text">客户性质:{{ customerCategory || "--" }}</text>
|
|
|
|
|
|
|
+ <text class="meta-text">客户等级:{{ customerLevel || "--" }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="meta">
|
|
<view class="meta">
|
|
|
<view class="dot"></view>
|
|
<view class="dot"></view>
|
|
|
- <text class="meta-text">责任经理:{{ responsibleManager || "--" }}</text>
|
|
|
|
|
|
|
+ <text class="meta-text"
|
|
|
|
|
+ >责任经理:{{ responsibleManager || "--" }}</text
|
|
|
|
|
+ >
|
|
|
</view>
|
|
</view>
|
|
|
<view class="meta">
|
|
<view class="meta">
|
|
|
<view class="dot"></view>
|
|
<view class="dot"></view>
|
|
|
- <text class="meta-text">累计预警次数:{{
|
|
|
|
|
- totalWarningAmount || totalWarningAmount == 0 ? totalWarningAmount : "--"
|
|
|
|
|
- }}</text>
|
|
|
|
|
|
|
+ <text class="meta-text"
|
|
|
|
|
+ >累计预警次数:{{
|
|
|
|
|
+ totalWarningAmount || totalWarningAmount == 0
|
|
|
|
|
+ ? totalWarningAmount
|
|
|
|
|
+ : "--"
|
|
|
|
|
+ }}</text
|
|
|
|
|
+ >
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
@@ -37,6 +52,9 @@
|
|
|
<view class="flow-table">
|
|
<view class="flow-table">
|
|
|
<view class="flow-header">
|
|
<view class="flow-header">
|
|
|
<view class="th col-company">收货企业</view>
|
|
<view class="th col-company">收货企业</view>
|
|
|
|
|
+ <view class="th col-toCustomerCategory">客户性质</view>
|
|
|
|
|
+ <view class="th col-toCustomerLevel">客户等级</view>
|
|
|
|
|
+ <view class="th col-toResponsibleManager">责任经理</view>
|
|
|
<view class="th col-time">单据时间</view>
|
|
<view class="th col-time">单据时间</view>
|
|
|
<view class="th col-type">单据类型</view>
|
|
<view class="th col-type">单据类型</view>
|
|
|
<view class="th col-product">产品名称</view>
|
|
<view class="th col-product">产品名称</view>
|
|
@@ -46,15 +64,32 @@
|
|
|
<view class="th col-code">追溯码(抽样)</view>
|
|
<view class="th col-code">追溯码(抽样)</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flow-body">
|
|
<view class="flow-body">
|
|
|
- <view class="flow-row" v-for="(item, index) in flowList" :key="index">
|
|
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="flow-row"
|
|
|
|
|
+ v-for="(item, index) in flowList"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ >
|
|
|
<view class="th col-company">{{ item.toEntName }}</view>
|
|
<view class="th col-company">{{ item.toEntName }}</view>
|
|
|
|
|
+ <view class="td col-toCustomerCategory">{{
|
|
|
|
|
+ item.toCustomerCategory
|
|
|
|
|
+ }}</view>
|
|
|
|
|
+ <view class="td col-toCustomerLevel">{{
|
|
|
|
|
+ item.toCustomerLevel
|
|
|
|
|
+ }}</view>
|
|
|
|
|
+ <view class="td col-toResponsibleManager">{{
|
|
|
|
|
+ item.toResponsibleManager
|
|
|
|
|
+ }}</view>
|
|
|
<view class="td col-time">{{ item.billTime }}</view>
|
|
<view class="td col-time">{{ item.billTime }}</view>
|
|
|
<view class="td col-type">{{ item.billType }}</view>
|
|
<view class="td col-type">{{ item.billType }}</view>
|
|
|
<view class="td col-product">{{ item.productName }}</view>
|
|
<view class="td col-product">{{ item.productName }}</view>
|
|
|
<view class="td col-batch">{{ item.productBatchNo }}</view>
|
|
<view class="td col-batch">{{ item.productBatchNo }}</view>
|
|
|
<view class="td col-source">{{ item.regionName }}</view>
|
|
<view class="td col-source">{{ item.regionName }}</view>
|
|
|
<view class="td col-qty">{{ item.fromQty }}</view>
|
|
<view class="td col-qty">{{ item.fromQty }}</view>
|
|
|
- <view class="td col-code copyable-code" @click="copyTraceCode(item.traceCode)">{{ item.traceCode }}</view>
|
|
|
|
|
|
|
+ <view
|
|
|
|
|
+ class="td col-code copyable-code"
|
|
|
|
|
+ @click="copyTraceCode(item.traceCode)"
|
|
|
|
|
+ >{{ item.traceCode }}</view
|
|
|
|
|
+ >
|
|
|
<!-- <view class="td col-chain chain-text">{{ item.batchTraceLink }}</view> -->
|
|
<!-- <view class="td col-chain chain-text">{{ item.batchTraceLink }}</view> -->
|
|
|
</view>
|
|
</view>
|
|
|
<view v-if="flowList.length === 0" class="empty-row">暂无数据</view>
|
|
<view v-if="flowList.length === 0" class="empty-row">暂无数据</view>
|
|
@@ -75,7 +110,7 @@ import { formatDate } from "../../../../utils/utils.js";
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
Water,
|
|
Water,
|
|
|
- BottomScrollTip
|
|
|
|
|
|
|
+ BottomScrollTip,
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
@@ -145,7 +180,7 @@ export default {
|
|
|
onBack() {
|
|
onBack() {
|
|
|
try {
|
|
try {
|
|
|
uni.navigateBack();
|
|
uni.navigateBack();
|
|
|
- } catch (e) { }
|
|
|
|
|
|
|
+ } catch (e) {}
|
|
|
},
|
|
},
|
|
|
copyTraceCode(code) {
|
|
copyTraceCode(code) {
|
|
|
const text = String(code || "").trim();
|
|
const text = String(code || "").trim();
|
|
@@ -333,6 +368,18 @@ export default {
|
|
|
width: 350rpx;
|
|
width: 350rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.col-toCustomerLevel {
|
|
|
|
|
+ width: 160rpx;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.col-toCustomerCategory {
|
|
|
|
|
+ width: 160rpx;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.col-toResponsibleManager {
|
|
|
|
|
+ width: 160rpx;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
.col-time {
|
|
.col-time {
|
|
|
width: 220rpx;
|
|
width: 220rpx;
|
|
|
}
|
|
}
|