huminmin
2026-07-30 e1570f458b2ab42bb1a212be8de63134a50b2af1
src/views/productionManagement/productionReporting/components/formDia.vue
@@ -46,6 +46,16 @@
              <el-input v-model="form.totalPrice" placeholder="请输入" clearable disabled/>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="报工类型:" prop="reportType">
              <el-select v-model="form.reportType" style="width: 100%;" placeholder="请选择">
                <el-option label="合格" :value="0" />
                <el-option label="轻微返工" :value="1" />
                <el-option label="严重返工" :value="2" />
                <el-option label="报废" :value="3" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="30">
               <el-col :span="12">
@@ -93,8 +103,8 @@
</template>
<script setup>
import {ref} from "vue";
import {getStaffJoinInfo, staffJoinAdd, staffJoinUpdate} from "@/api/personnelManagement/onboarding.js";
import { getCurrentInstance, reactive, ref, toRefs } from "vue";
// import {getStaffJoinInfo, staffJoinAdd, staffJoinUpdate} from "@/api/personnelManagement/onboarding.js";
import {userListNoPageByTenantId} from "@/api/system/user.js";
import {productionReport, productionReportUpdate} from "@/api/productionManagement/productionReporting.js";
const { proxy } = getCurrentInstance()
@@ -110,8 +120,9 @@
      finishedNum: "",
      schedulingUserId: "",
      schedulingDate: "",
      unitPrice: "",
      totalPrice: "",
    unitPrice: "",
    totalPrice: "",
    reportType: 0,
  },
  rules: {
      schedulingNum: [{ required: true, message: "请输入", trigger: "blur" },],
@@ -182,4 +193,4 @@
<style scoped>
</style>
</style>