1
yuan
8 天以前 a9ed2b5a1e4370ecf4c0d4f40d515daef0e999df
src/views/salesManagement/salesLedger/index.vue
@@ -129,8 +129,7 @@
                               show-overflow-tooltip />
              <el-table-column label="发货车牌"
                               minWidth="100px"
                               align="center"
                               v-if="false">
                               align="center">
                <template #default="scope">
                  <div>
                    <el-tag type="success"
@@ -714,12 +713,12 @@
            <el-form-item label="是否生产:"
                          prop="isProduction">
              <div style="display: flex; align-items: center; width: 100%;">
                <el-radio-group v-model="productForm.isProduction">
                  <el-radio label="是"
                            :value="true" />
                  <el-radio label="否"
                            :value="false" />
                </el-radio-group>
              <el-radio-group v-model="productForm.isProduction">
                <el-radio label="是"
                          :value="true" />
                <el-radio label="否"
                          :value="false" />
              </el-radio-group>
                <div 
                  v-if="currentStock !== null" 
                  :style="{
@@ -823,7 +822,7 @@
                    <span class="label">发货日期:</span>
                    <span class="value">{{ formatDate(item.createTime) }}</span>
                  </div>
                  <div v-if="false">
                  <div>
                    <span class="label">发货车牌号:</span>
                    <span class="value">{{ item.shippingCarNumber }}</span>
                  </div>
@@ -926,11 +925,10 @@
                         placeholder="请选择发货类型"
                         style="width: 100%"
                         @change="handleDeliveryTypeChange">
                <el-option label="货车"
                           value="货车" />
                <el-option label="快递"
                           value="快递" />
                <el-option v-if="false"
                           label="货车"
                           value="货车" />
              </el-select>
            </el-form-item>
          </el-col>
@@ -952,7 +950,7 @@
            </el-form-item>
          </el-col>
          <el-col :span="24"
                  v-else-if="false">
                  v-else>
            <el-form-item label="快递公司:"
                          prop="expressCompany">
              <el-input v-model="deliveryForm.expressCompany"
@@ -962,7 +960,7 @@
          </el-col>
        </el-row>
        <el-row :gutter="30"
                >
                v-if="deliveryForm.type === '快递'">
          <el-col :span="24">
            <el-form-item label="快递单号:"
                          prop="expressNumber">
@@ -1322,7 +1320,7 @@
      shippingCarNumber: "",
      expressCompany: "",
      expressNumber: "",
      type: "快递", // 货车, 快递
      type: "货车", // 货车, 快递
    },
    deliveryRules: {
      shippingCarNumber: [
@@ -1503,6 +1501,7 @@
    productForm.value.productModelId = p.id;
    productForm.value.specificationModel = p.model || '';
    productForm.value.unit = p.unit || '';
    fetchCurrentStock(productForm.value.productModelId);
    showProductSelectDialog.value = false;
  };
  // 获取tree子数据
@@ -1621,9 +1620,9 @@
      param,
      ["contractAmount", "taxInclusiveTotalPrice", "taxExclusiveTotalPrice"],
      buildAmountSummaryFormat([
        "contractAmount",
        "taxInclusiveTotalPrice",
        "taxExclusiveTotalPrice",
      "contractAmount",
      "taxInclusiveTotalPrice",
      "taxExclusiveTotalPrice",
      ])
    );
  };
@@ -1650,9 +1649,9 @@
    return proxy.summarizeTable(
      param,
      [
        "taxInclusiveUnitPrice",
        "taxInclusiveTotalPrice",
        "taxExclusiveTotalPrice",
      "taxInclusiveUnitPrice",
      "taxInclusiveTotalPrice",
      "taxExclusiveTotalPrice",
      ],
      buildAmountSummaryFormat([
        "taxInclusiveUnitPrice",
@@ -2103,7 +2102,7 @@
        const data = res.data || res;
        companyName = data.companyName || companyName;
        orders.push(data.ledger);
      }
        }
      printSalesMulti(companyName, orders);
    } catch (e) {
      console.error('打印失败:', e);
@@ -2483,7 +2482,7 @@
      shippingCarNumber: "",
      expressCompany: "",
      expressNumber: "",
      type: "快递",
      type: "货车",
      batchNo: [],
      batchNoList,
    };
@@ -2808,4 +2807,4 @@
      page-break-after: avoid;
    }
  }
</style>
</style>