周宾
昨天 3806a7b94bc2b069d22743c22f8d3dc54101850e
src/views/inventoryManagement/dispatchLog/index.vue
@@ -117,8 +117,8 @@
                  <el-table-column label="出库数量/件" prop="inboundNum" show-overflow-tooltip />
                  <el-table-column label="每件数量/支" prop="boxNum" width="100" show-overflow-tooltip />
                  <el-table-column label="单价(元)/支" prop="taxInclusiveUnitPrice" width="150"></el-table-column>
                  <el-table-column label="单价(美元)/支" prop="dollarPrice" width="150"></el-table-column>
                  <el-table-column label="纸箱规格" prop="cartonSpecifications" width="150"></el-table-column>
                  <el-table-column label="入库人" prop="createBy" width="80" show-overflow-tooltip />
                  <el-table-column label="出库人" prop="createBy" show-overflow-tooltip />
               </el-table>
               <pagination
@@ -180,19 +180,19 @@
                        <img class="barcode-img" :src="javaApiUrl+scope.row.url"></img>
                     </template>
                  </el-table-column>
                  <el-table-column label="出库日期" prop="createTime" show-overflow-tooltip />
                  <el-table-column label="出库日期" prop="createTime" width="150" show-overflow-tooltip />
                  <el-table-column label="产品名称" prop="productCategory" show-overflow-tooltip />
                  <el-table-column label="产品高度" prop="specificationModel" width="100" show-overflow-tooltip>
                  <template #default="scope">
                     <div>{{ scope.row.specificationModel }}{{ scope.row.unit }}</div>
                  </template>
                  </el-table-column>
                  <el-table-column label="出库数量/件" prop="inboundNum" show-overflow-tooltip />
                  <el-table-column label="出库数量/件" prop="inboundNum" width="150" show-overflow-tooltip />
                  <el-table-column label="每件数量/支" prop="boxNum" width="100" show-overflow-tooltip />
                  <el-table-column label="单价(元)/支" prop="taxInclusiveUnitPrice" width="150"></el-table-column>
                  <el-table-column label="单价(元)/件" prop="taxInclusiveUnitPrice" width="150"></el-table-column>
                  <el-table-column label="单价(美元)/件" prop="dollarPrice" width="150"></el-table-column>
                  <el-table-column label="纸箱规格" prop="cartonSpecifications" width="150"></el-table-column>
                  <el-table-column label="入库人" prop="createBy" width="80" show-overflow-tooltip />
                  <el-table-column label="出库人" prop="createBy" show-overflow-tooltip />
                  <el-table-column label="出库人" prop="createBy" width="150" show-overflow-tooltip />
               </el-table>
               <pagination
                  v-show="total > 0"
@@ -229,7 +229,7 @@
               <div v-for="(item, index) in printData" :key="index" class="print-page">
                  <div class="delivery-note">
                     <div class="header">
                        <div class="company-name">鼎诚瑞实业有限责任公司</div>
                        <div class="company-name">天津双奇点有限责任公司</div>
                        <div class="document-title">零售发货单</div>
                     </div>
                     
@@ -256,32 +256,34 @@
                           <thead>
                           <tr>
                              <th>产品名称</th>
                              <th>规格型号</th>
                              <th>单位</th>
                              <th>单价</th>
                              <th>零售数量</th>
                              <th>零售金额</th>
                              <th>产品高度</th>
                              <th>单价(元)/件</th>
                              <th>单价(美元)/件</th>
                              <th>零售数量/件</th>
                              <th>每件数量/支</th>
                              <th>纸箱规格</th>
                           </tr>
                           </thead>
                           <tbody>
                           <tr>
                              <td>{{ item.productCategory || '砂灰砖' }}</td>
                              <td>{{ item.specificationModel || '标准' }}</td>
                              <td>{{ item.unit || '块' }}</td>
                              <td>{{ item.productCategory || '' }}</td>
                              <td>{{ item.specificationModel || '' }}{{ item.unit || '' }}</td>
                              <td>{{ item.taxInclusiveUnitPrice || '0' }}</td>
                              <td>{{ item.inboundNum || '2000' }}</td>
                              <td>{{ item.taxInclusiveTotalPrice || '0' }}</td>
                              <td>{{ item.dollarPrice || '0' }}</td>
                              <td>{{ item.inboundNum || '0' }}</td>
                              <td>{{ item.boxNum || '0' }}</td>
                              <td>{{ item.cartonSpecifications || '0' }}</td>
                           </tr>
                           </tbody>
                           <tfoot>
                           <tr>
                           <!-- <tr>
                              <td class="label">合计</td>
                              <td class="total-value"></td>
                              <td class="total-value"></td>
                              <td class="total-value"></td>
                              <td class="total-value">{{ item.inboundNum || '2000' }}</td>
                              <td class="total-value">{{ item.taxInclusiveTotalPrice || '0' }}</td>
                           </tr>
                           </tr> -->
                           </tfoot>
                        </table>
                     </div>
@@ -335,6 +337,7 @@
   getStockInPageByProduct,
   getStockInPageByCustom,
} from "@/api/inventoryManagement/stockIn.js";
const javaApiUrl = __BASE_API__;
const userStore = useUserStore();
const { proxy } = getCurrentInstance();
@@ -694,39 +697,33 @@
          </div>
          <div class="table-section">
            <table class="product-table">
              <thead>
                <tr>
                  <th>产品名称</th>
                  <th>规格型号</th>
                  <th>单位</th>
                  <th>单价</th>
                  <th>零售数量</th>
                  <th>零售金额</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td>${item.productCategory || '砂灰砖'}</td>
                  <td>${item.specificationModel || '标准'}</td>
                  <td>${item.unit || '块'}</td>
                  <td>${item.taxInclusiveUnitPrice || '0'}</td>
                  <td>${item.inboundNum || '2000'}</td>
                  <td>${item.taxInclusiveTotalPrice || '0'}</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <td class="label">合计</td>
                  <td class="total-value"></td>
                  <td class="total-value"></td>
                  <td class="total-value"></td>
                  <td class="total-value">${item.inboundNum || '2000'}</td>
                  <td class="total-value">${item.taxInclusiveTotalPrice || '0'}</td>
                </tr>
              </tfoot>
            </table>
          </div>
         <table class="product-table">
            <thead>
            <tr>
               <th>产品名称</th>
               <th>产品高度</th>
               <th>单价(元)/件</th>
               <th>单价(美元)/件</th>
               <th>零售数量/件</th>
               <th>每件数量/支</th>
               <th>纸箱规格</th>
            </tr>
            </thead>
            <tbody>
            <tr>
               <td>{{ item.productCategory || '' }}</td>
               <td>{{ item.specificationModel || '' }}{{ item.unit || '' }}</td>
               <td>{{ item.taxInclusiveUnitPrice || '0' }}</td>
               <td>{{ item.dollarPrice || '0' }}</td>
               <td>{{ item.inboundNum || '0' }}</td>
               <td>{{ item.boxNum || '0' }}</td>
               <td>{{ item.cartonSpecifications || '0' }}</td>
            </tr>
            </tbody>
            <tfoot>
            </tfoot>
         </table>
      </div>
          <div class="footer-section">
            <div class="footer-row">