| | |
| | | <uni-table border stripe emptyText="暂无更多数据"> |
| | | <uni-tr> |
| | | <uni-th align="left">姓名</uni-th> |
| | | <uni-td align="left">测试</uni-td> |
| | | <uni-td align="left">{{ HuoDaiForm.name }}</uni-td> |
| | | </uni-tr> |
| | | <uni-tr> |
| | | <uni-th align="left">电话</uni-th> |
| | | <uni-td align="left">18888888888</uni-td> |
| | | <uni-td align="left">{{ HuoDaiForm.phone }}</uni-td> |
| | | </uni-tr> |
| | | <uni-tr> |
| | | <uni-th align="left">性别</uni-th> |
| | | <uni-td align="left">男</uni-td> |
| | | </uni-tr> |
| | | <uni-tr> |
| | | <uni-th align="left">公司名称</uni-th> |
| | | <uni-td align="left">河北旭阳营销</uni-td> |
| | | <uni-tr v-if="roleType == 2"> |
| | | <uni-th align="left">客户名称</uni-th> |
| | | <uni-td align="left">{{ HuoDaiForm.customerName }}</uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | </view> |
| | |
| | | <uni-table border stripe emptyText="暂无更多数据"> |
| | | <uni-tr> |
| | | <uni-th align="left">注册时间</uni-th> |
| | | <uni-td align="left">2022/04/09</uni-td> |
| | | <uni-td align="left">{{ HuoDaiForm.createTime }}</uni-td> |
| | | </uni-tr> |
| | | <uni-tr> |
| | | <uni-th align="left">管理车辆</uni-th> |
| | | <uni-td align="left">24辆</uni-td> |
| | | <uni-td align="left">{{ HuoDaiForm.cars }}</uni-td> |
| | | </uni-tr> |
| | | <uni-tr> |
| | | <uni-th align="left">任务总数</uni-th> |
| | | <uni-td align="left">20</uni-td> |
| | | <uni-td align="left">{{ HuoDaiForm.sum }}</uni-td> |
| | | </uni-tr> |
| | | <uni-tr> |
| | | <uni-th align="left">执行完成</uni-th> |
| | | <uni-td align="left">10</uni-td> |
| | | <uni-td align="left">{{ HuoDaiForm.over }}</uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | </view> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | huoDaiId: null |
| | | huoDaiId: null, |
| | | userId: '', |
| | | // 货代详情信息表单 |
| | | HuoDaiForm: {} |
| | | }; |
| | | }, |
| | | onLoad(v) { |
| | | this.userId = v.userId; |
| | | }, |
| | | onShow() { |
| | | this.init(); |
| | | }, |
| | | computed: { |
| | | roleType() { |
| | | return uni.getStorageSync('roleType'); |
| | | } |
| | | }, |
| | | methods: { |
| | | init() { |
| | | this.getHuoDaiDetail(); |
| | | }, |
| | | getHuoDaiDetail() { |
| | | this.$reqGet('getHuoDaiDetail').then(res => { |
| | | console.log(res, '货代详情'); |
| | | this.$reqGet('getHuoDaiDetail', { userId: this.userId }).then(res => { |
| | | this.HuoDaiForm = res.data; |
| | | }); |
| | | } |
| | | } |
| | |
| | | line-height: vww(40); |
| | | background-color: #f5f5f5; |
| | | } |
| | | .uni-table { |
| | | min-width: 0 !important; |
| | | .uni-table { |
| | | min-width: 0 !important; |
| | | |
| | | .uni-table-tr { |
| | | padding: 0; |
| | | font-size: vww(16); |
| | | font-weight: 300; |
| | | .uni-table-th { |
| | | height: vww(40); |
| | | line-height: vww(30); |
| | | padding: vww(5) vww(10); |
| | | color: #333333; |
| | | font-weight: 400; |
| | | } |
| | | .uni-table-tr { |
| | | padding: 0; |
| | | font-size: vww(16); |
| | | font-weight: 300; |
| | | .uni-table-th { |
| | | height: vww(40); |
| | | line-height: vww(30); |
| | | padding: vww(5) vww(10); |
| | | color: #333333; |
| | | font-weight: 400; |
| | | } |
| | | |
| | | .uni-table-td { |
| | | height: vww(40); |
| | | line-height: vww(30); |
| | | padding: vww(5) vww(10); |
| | | color: #333333; |
| | | } |
| | | .uni-table-td { |
| | | height: vww(40); |
| | | line-height: vww(30); |
| | | padding: vww(5) vww(10); |
| | | color: #333333; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |