spring
17 小时以前 9aced09ef31ab77663e6ee052785d87ca3c671ba
src/views/procurementManagement/procurementLedger/index.vue
@@ -86,6 +86,7 @@
                               prop="productCategory" />
              <el-table-column label="规格型号"
                               prop="specificationModel" />
              <el-table-column label="UID码" prop="uidNo" />
              <el-table-column label="单位"
                               prop="unit" />
              <el-table-column label="数量"
@@ -233,7 +234,7 @@
                <el-option v-for="item in supplierList"
                           :key="item.id"
                           :label="item.supplierName"
                           :value="item.id" />
                                        :value="item.id" >{{item.supplierName + '---' + item.supplierType}}</el-option>
              </el-select>
            </el-form-item>
          </el-col>
@@ -408,6 +409,7 @@
          <el-table-column label="单位"
                           prop="unit"
                           width="70" />
          <el-table-column label="UID码" prop="uidNo" />
          <el-table-column label="数量"
                           prop="quantity"
                           width="70" />
@@ -565,6 +567,16 @@
                           :label="item.model"
                           :value="item.id" />
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="30">
          <el-col :span="24">
            <el-form-item label="UID码:"
                          prop="uidNo">
              <el-input v-model="productForm.uidNo"
                        placeholder="请输入"
                        disabled />
            </el-form-item>
          </el-col>
        </el-row>
@@ -951,6 +963,7 @@
      productId: "",
      productCategory: "",
      productModelId: "",
      uidNo: "",
      specificationModel: "",
      unit: "",
      quantity: "",
@@ -1555,9 +1568,11 @@
    if (index !== -1) {
      productForm.value.specificationModel = modelOptions.value[index].model;
      productForm.value.unit = modelOptions.value[index].unit;
      productForm.value.uidNo = modelOptions.value[index].uidNo || "";
    } else {
      productForm.value.specificationModel = null;
      productForm.value.unit = null;
      productForm.value.uidNo = "";
    }
  };
  const findNodeById = (nodes, productId) => {