huminmin
2026-04-24 5afa72aa560366cc3cf5bb7fb74bc061acda600b
src/views/inventoryManagement/dispatchLog/Record.vue
@@ -66,6 +66,11 @@
               prop="model"
               show-overflow-tooltip
            />
        <el-table-column
               label="料号"
               prop="materialCode"
               show-overflow-tooltip
            />
            <el-table-column
               label="单位"
               prop="unit"
@@ -133,6 +138,12 @@
    type: String,
    required: true,
    default: '0'
  },
  productId: {
    type: Number,
    required: true,
    default: 0
  }
})
@@ -163,7 +174,7 @@
};
const getList = () => {
   tableLoading.value = true;
   getStockOutPage({ ...searchForm.value, ...page, type: props.type })
   getStockOutPage({ ...searchForm.value, ...page, topParentProductId: props.productId })
      .then((res) => {
         tableLoading.value = false;
         tableData.value = res.data.records;
@@ -188,11 +199,10 @@
        .then(res => {
          stockRecordTypeOptions.value = res.data;
        })
    return
  }
  findAllUnQualifiedStockOutRecordTypeOptions()
      .then(res => {
        stockRecordTypeOptions.value = res.data;
        stockRecordTypeOptions.value.push(...res.data);
      })
}
@@ -212,7 +222,7 @@
      type: "warning",
   })
      .then(() => {
         proxy.download("/stockOutRecord/exportStockOutRecord", {type: props.type}, props.type === '0' ? "合格出库台账.xlsx" : "不合格出库台账.xlsx");
         proxy.download("/stockOutRecord/exportStockOutRecord", {topParentProductId: props.productId}, "出库台账.xlsx");
      })
      .catch(() => {
         proxy.$modal.msg("已取消");
@@ -405,7 +415,7 @@
      <div 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>
          
@@ -432,6 +442,7 @@
                <tr>
                  <th>产品名称</th>
                  <th>规格型号</th>
                  <th>料号</th>
                  <th>单位</th>
                  <th>单价</th>
                  <th>零售数量</th>
@@ -442,6 +453,7 @@
                <tr>
                  <td>${item.productName || '砂灰砖'}</td>
                  <td>${item.model || '标准'}</td>
                  <td>${item.materialCode || ''}</td>
                  <td>${item.unit || '块'}</td>
                  <td>${item.taxInclusiveUnitPrice || '0'}</td>
                  <td>${item.inboundNum || '2000'}</td>