| | |
| | | <view class="col"><text class="label">单位</text><text class="value">{{ item.unit }}</text></view> |
| | | <view class="col"><text class="label">排产数量</text><text class="value">{{ item.schedulingNum }}</text></view> |
| | | <view class="col"><text class="label">生产数量</text><text class="value">{{ item.finishedNum }}</text></view> |
| | | <view class="col"><text class="label">待生产数量</text><text class="value">{{ item.pendingFinishNum }}</text></view> |
| | | <view class="col"><text class="label">待报工数量</text><text class="value">{{ item.pendingFinishNum }}</text></view> |
| | | </view> |
| | | </view> |
| | | <view class="card_actions"> |
| | |
| | | import { workListPage } from "@/api/productionManagement/productionReporting.js"; |
| | | |
| | | const statusList = reactive([{ |
| | | text:'待生产', |
| | | text:'待报工', |
| | | value: 1 |
| | | },{ |
| | | text:'排产中', |
| | | value: 2 |
| | | },{ |
| | | text:'生产中', |
| | | value: 3 |
| | | }]) |
| | | }, |
| | | // { |
| | | // text:'生产中', |
| | | // value: 3 |
| | | // }, |
| | | ]) |
| | | |
| | | const data = reactive({ |
| | | searchForm: { |
| | |
| | | const { searchForm } = toRefs(data); |
| | | const showStatusPicker = ref(false) |
| | | const statusOptions = ref([ |
| | | { label: '待生产', value: 1 }, |
| | | { label: '待报工', value: 1 }, |
| | | { label: '生产中', value: 2 }, |
| | | { label: '已报工', value: 3 }, |
| | | ]) |
| | |
| | | // 状态文本/类型 |
| | | const statusText = (s) => { |
| | | if (s == 3) return '已报工' |
| | | if (s == 1) return '待生产' |
| | | if (s == 1) return '待报工' |
| | | return '生产中' |
| | | } |
| | | const statusType = (s) => { |