src/views/inventoryManagement/receiptManagement/index.vue
@@ -78,6 +78,10 @@
                         prop="inboundNum"
                         width="90"
                         show-overflow-tooltip />
        <el-table-column label="库存预警"
                                 prop="warnNum"
                                 width="90"
                                 show-overflow-tooltip />
        <el-table-column label="缺货数量"
                         prop="outStockQuantity"
                         width="100"
@@ -208,6 +212,11 @@
                        clearable />
            </template>
          </el-table-column>
          <el-table-column label="库存预警" prop="warnNum" width="150">
                      <template #default="scope">
                        <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="scope.row.warnNum" />
                      </template>
                    </el-table-column>
          <el-table-column label="税率(%)"
                           prop="taxRate"
                           width="120" />
@@ -256,7 +265,7 @@
                            :render-after-expand="false"
                            style="width: 100%" />
          </el-form-item>
          <el-form-item label="规格型号">
          <el-form-item v-if="typeValue !== 'edit'" label="规格型号">
            <el-select v-model="directQuery.productModelId"
                       placeholder="请先选择产品大类"
                       clearable
@@ -267,6 +276,12 @@
                         :label="item.model"
                         :value="item.id" />
            </el-select>
          </el-form-item>
           <el-form-item v-if="typeValue === 'edit'" label="规格型号">
            <el-input v-model="directQuery.specificationModel"
                      placeholder="输入规格型号"
                      clearable
                      disabled />
          </el-form-item>
          <el-form-item label="入库数量">
            <el-input v-model="directQuery.inboundQuantity"
@@ -546,6 +561,7 @@
      productList.value = productRes.data.map(item => ({
        ...item,
        quantityStock: 0,
        warnNum: 0,
        originalQuantityStock: Number(
          item.quantityStock ?? item.inboundQuantity ?? 0
        ),
@@ -720,7 +736,8 @@
          // 如果没有productId字段,尝试根据productCategory查找
          // 这里需要根据实际情况调整查找逻辑
          directQuery.value.productId = row.productCategory || "";
          directQuery.value.productModelId = row.specificationModel;
          directQuery.value.productModelId = row.productModelId;
          directQuery.value.specificationModel = row.specificationModel;
        }
      }
    }
@@ -934,6 +951,7 @@
        nickName: userStore.nickName,
        details: selectedRows.value.map(product => ({
          id: product.id,
          warnNum: product.warnNum,
          // id: product.salesLedgerProductId,
          inboundQuantity: Number(product.quantityStock),
          productModelId: product.productModelId,