spring
10 小时以前 4f3ed15ab21677f3b8ac41b825549daff9ed44e6
src/views/salesManagement/salesLedger/index.vue
@@ -367,6 +367,13 @@
            </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>
        <el-row :gutter="30">
          <el-col :span="24">
            <el-form-item label="批号:" prop="batchNo">
              <el-select v-model="productForm.batchNo" placeholder="请选择" clearable filterable>
                <el-option v-for="item in batchNoOptions" :key="item.value" :label="item.label" :value="item.value" />
@@ -755,6 +762,7 @@
   productForm: {
      productCategory: "",
      specificationModel: "",
    uidNo: "",
      unit: "",
      quantity: "",
      taxInclusiveUnitPrice: "",
@@ -959,9 +967,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 = null;
   }
};
const findNodeById = (nodes, productId) => {
@@ -1186,6 +1196,7 @@
         // 台账字段
         productCategory: p.product || p.productName || "",
         specificationModel: p.specification || "",
      uidNo: p.uidNo || "",
         unit: p.unit || "",
         quantity: quantity,
         taxRate: taxRate,