周宾
5 小时以前 9649ee86109b07acc4300b7236acb6070673043e
海川开心-修改生产报工 待生产-待报工
已修改1个文件
18 ■■■■■ 文件已修改
src/pages/productionManagement/productionReporting/index.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/productionManagement/productionReporting/index.vue
@@ -43,7 +43,7 @@
                <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">
@@ -70,15 +70,17 @@
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: {
@@ -90,7 +92,7 @@
const { searchForm } = toRefs(data);
const showStatusPicker = ref(false)
const statusOptions = ref([
  { label: '待生产', value: 1 },
  { label: '待报工', value: 1 },
  { label: '生产中', value: 2 },
  { label: '已报工', value: 3 },
])
@@ -144,7 +146,7 @@
// 状态文本/类型
const statusText = (s) => {
  if (s == 3) return '已报工'
  if (s == 1) return '待生产'
  if (s == 1) return '待报工'
  return '生产中'
}
const statusType = (s) => {