1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <template>
- <view style="padding: 20rpx;">
- <scroll-view :scroll-y="true" class="page">
- <view class="cu-list menu card-menu margin-top">
- <view class="cu-item" style="margin-top: 10rpx;" v-for="(item, index) in reportData">
- <view class="content">
- <view class="cu-form-group">
- <view class="title" style="min-width: calc(6em + 15px);">制衣生产车间</view>
- <text class="text-grey" style="flex: 1;">{{ item.filing.workshop.zyProductWorkshop }}</text>
- </view>
- <view class="cu-form-group">
- <view class="title" style="min-width: calc(6em + 15px);">制衣班组</view>
- <text class="text-grey" style="flex: 1;">{{ item.filing.team.zyTeam }}</text>
- </view>
- <view class="cu-form-group">
- <view class="title" style="min-width: calc(6em + 15px);">订单号</view>
- <text class="text-grey" style="flex: 1;">{{ item.filing.orderNo }}</text>
- </view>
- <view class="cu-form-group">
- <view class="title" style="min-width: calc(6em + 15px);" >时间</view>
- <text class="text-grey" style="flex: 1;">{{item.receiveDate}}</text>
- </view>
- <view class="cu-form-group">
- <view class="title" style="min-width: calc(6em + 15px);" >数量</view>
- <text class="text-grey" style="flex: 1;">{{ item.rcvQty }}</text>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
- </template>
- <script>
- import { show2 } from '@/api/biz/report.js';
- export default {
- data() {
- return {
- reportData: [],
- rcvDate:''
- };
- },
- onLoad(option) {
- console.log(option);
- // this.rcvDate = reportInfo.rcvDate;
- show2(option.filing_id,option.rcvDate).then(res => {
- if (res.success) {
- this.reportData = res.data;
- }
- });
- // this.formData.orderInfo = orderInfo
- // console.log(this.formData.orderInfo)
- // this.getWorkshop();
- },
- methods: {
- // showReport(item) {
- // uni.navigateTo({
- // url: '/pages/report/show2?reportInfo=' + encodeURIComponent(JSON.stringify(item))
- // })
- // },
- }
- };
- </script>
- <style></style>
|