| | |
| | | <script> |
| | | import card from '@/components/card/card.vue'; |
| | | import { customerId } from '@/utils/status'; |
| | | import { todayDate } from '@/utils/util.js'; |
| | | export default { |
| | | components: { |
| | | card |
| | |
| | | // 提煤单详情 |
| | | cardBodyClick(name) { |
| | | console.log('提煤单详情', name); |
| | | let code = null; |
| | | this.orderPlanData.forEach(item => { |
| | | if (item.id == name) { |
| | | code = item.code; |
| | | } |
| | | }); |
| | | uni.navigateTo({ |
| | | url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${name}` |
| | | url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${name}&code=${code}` |
| | | }); |
| | | }, |
| | | // 转发 |
| | | forwardClick(obj) { |
| | | uni.navigateTo({ |
| | | url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNumSurplus1=${obj.carNumSurplus1}` |
| | | url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}` |
| | | }); |
| | | } |
| | | } |