maven
2025-12-03 067a7119d3175c9ea9b7c0d46b59df6e8ccb994c
src/views/productionManagement/productionDispatching/components/formDia.vue
@@ -21,6 +21,18 @@
        </el-row>
        <el-row :gutter="30">
          <el-col :span="12">
            <el-form-item label="规格型号:" prop="specificationModel">
              <el-input v-model="form.specificationModel" placeholder="请输入" clearable disabled/>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="绑定机器:" prop="speculativeTradingName">
              <el-input v-model="form.speculativeTradingName" placeholder="自动获取" clearable disabled/>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="30">
          <el-col :span="12">
            <el-form-item label="总数量:" prop="quantity">
              <el-input v-model="form.quantity" placeholder="请输入" clearable disabled/>
            </el-form-item>
@@ -54,6 +66,9 @@
                        v-model="form.schedulingUserId"
                        placeholder="选择人员"
                        style="width: 100%;"
                filterable
                default-first-option
                :reserve-keyword="false"
                     >
                        <el-option
                           v-for="user in userList"
@@ -105,11 +120,13 @@
  form: {
      projectName: "",
      productCategory: "",
      specificationModel: "", // 规格型号
      quantity: "",
      schedulingNum: "",
      schedulingUserId: "",
      schedulingDate: "",
      pendingQuantity: "",
      speculativeTradingName: "", // 绑定机器名称
  },
  rules: {
      schedulingNum: [{ required: true, message: "请输入", trigger: "blur" },],
@@ -121,6 +138,7 @@
const userList = ref([])
const userStore = useUserStore()
// 打开弹框
const openDialog = (type, row) => {
  operationType.value = type;