| | |
| | | <view class="sign">装</view> |
| | | <view class="filedname exceedHide"> |
| | | <text |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.deptName }}</text> |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '外销退'|| item.orderType == '转出'">{{ item.deptName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.customerName }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'|| item.orderType == '外购退' || item.orderType == '转入'">{{ item.customerName }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="main-divider"></view> |
| | |
| | | <view class="sign">卸</view> |
| | | <view class="filedname exceedHide"> |
| | | <text |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' || item.orderType == '转出'">{{ item.customerName }}</text> |
| | | v-if="item.orderType == '外销' || item.orderType == '内销'|| item.orderType == '外销退' || item.orderType == '转出'">{{ item.customerName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购' || item.orderType == '转入'">{{ item.deptName }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'|| item.orderType == '外购退' || item.orderType == '转入'">{{ item.deptName }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="orderPlanData.length == 0"></u-empty> |
| | | </view> --> |
| | | <view class="history-numbers"> |
| | | <combined-title title="历史提煤单"></combined-title> |
| | | <combined-title title="历史收发单"></combined-title> |
| | | <scroll-view :scroll-top="scrollTop" |
| | | scroll-y="true" |
| | | class="scroll-Y" |
| | |
| | | <view class="third-line_num">{{ item.carNumSurplus }}</view> |
| | | </view> |
| | | <view class="third-line"> |
| | | <view class="third-line_text">提煤单个数:</view> |
| | | <view class="third-line_text">收发单个数:</view> |
| | | <view class="third-line_num">{{ item.tmCount }}</view> |
| | | </view> |
| | | </view> |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | // 获取历史提煤单 |
| | | // 获取历史收发单 |
| | | getJhOrderPlanDataPage() { |
| | | uni.showLoading({ |
| | | title: '加载中' |
| | |
| | | this.pageCurrent++; |
| | | this.getJhOrderPlanDataPage(); |
| | | }, |
| | | //fix 点击提煤单返回会增加重复数据 |
| | | //fix 点击收发单返回会增加重复数据 |
| | | ArrSet(Arr, id) { |
| | | var obj = {}; |
| | | const arrays = Arr.reduce((setArr, item) => { |
| | |
| | | // } |
| | | // }); |
| | | uni.navigateTo({ |
| | | url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${item.orderPlanId}&carNum=${item.carNum}` |
| | | url: `/subPages/fayunPlanDetails?orderPlanId=${item.orderPlanId}&carNum=${item.carNum}` |
| | | }); |
| | | }, |
| | | // 转发 |
| | |
| | | url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}&carNum=${value.carNum}` |
| | | }); |
| | | }, |
| | | // 点击历史提煤单一行获取详情 |
| | | // 点击历史收发单一行获取详情 |
| | | faYundetail(v) { |
| | | uni.navigateTo({ |
| | | url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}` |
| | | url: `/subPages/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}` |
| | | }); |
| | | } |
| | | } |