huminmin
22 小时以前 d0739ea04c262bceae5507c602d3849702c9b4d9
src/views/salesManagement/salesLedger/index.vue
@@ -47,6 +47,7 @@
              <el-table-column label="产品大类" prop="productCategory" />
              <el-table-column label="规格型号" prop="specificationModel" />
              <el-table-column label="单位" prop="unit" />
              <el-table-column label="料号" prop="materialCode" />
                     <el-table-column label="产品状态"
                                              width="100px"
                                              align="center">
@@ -228,6 +229,7 @@
               <el-table-column label="产品大类" prop="productCategory" />
               <el-table-column label="规格型号" prop="specificationModel" />
               <el-table-column label="单位" prop="unit" />
               <el-table-column label="料号" prop="materialCode" />
               <el-table-column label="数量" prop="quantity" />
               <el-table-column label="税率(%)" prop="taxRate" />
               <el-table-column label="含税单价(元)" prop="taxInclusiveUnitPrice" :formatter="formattedNumber" />
@@ -360,6 +362,14 @@
                     </el-select>
                  </el-form-item>
               </el-col>
          <el-col :span="24">
            <el-form-item label="料号:"
                          prop="materialCode">
              <el-input v-model="productForm.materialCode"
                        placeholder="请输入"
                        disabled />
            </el-form-item>
          </el-col>
            </el-row>
            <el-row :gutter="30">
               <el-col :span="12">
@@ -537,7 +547,7 @@
                           <thead>
                           <tr>
                              <th>序号</th>
                              <th>物料编号</th>
                              <th>料号</th>
                              <th>品名/规格</th>
                              <th>单位</th>
                              <th>数量</th>
@@ -753,6 +763,7 @@
   productForm: {
      productCategory: "",
      specificationModel: "",
    materialCode: "",
      unit: "",
      quantity: "",
      taxInclusiveUnitPrice: "",
@@ -955,9 +966,11 @@
   if (index !== -1) {
      productForm.value.specificationModel = modelOptions.value[index].model;
      productForm.value.unit = modelOptions.value[index].unit;
    productForm.value.materialCode = modelOptions.value[index].materialCode;
   } else {
      productForm.value.specificationModel = null;
      productForm.value.unit = null;
    productForm.value.materialCode = null;
   }
};
const findNodeById = (nodes, productId) => {
@@ -1792,7 +1805,7 @@
              <thead>
                <tr>
                  <th>序号</th>
                  <th>物料编号</th>
                  <th>料号</th>
                  <th>品名/规格</th>
                  <th>单位</th>
                  <th>数量</th>