spring
2026-05-25 0c4429a719f5c95a7690fae51efaaa799ef4e77d
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"
@@ -82,11 +87,8 @@
               show-overflow-tooltip
            />
        <el-table-column label="来源"
                         prop="recordType"
                         prop="recordTypeName"
                         show-overflow-tooltip>
          <template #default="scope">
            {{ getRecordType(scope.row.recordType) }}
          </template>
        </el-table-column>
         </el-table>
         <pagination
@@ -133,6 +135,12 @@
    type: String,
    required: true,
    default: '0'
  },
  productId: {
    type: Number,
    required: true,
    default: 0
  }
})
@@ -163,7 +171,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 +196,10 @@
        .then(res => {
          stockRecordTypeOptions.value = res.data;
        })
    return
  }
  findAllUnQualifiedStockOutRecordTypeOptions()
      .then(res => {
        stockRecordTypeOptions.value = res.data;
        stockRecordTypeOptions.value.push(...res.data);
      })
}
@@ -212,7 +219,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 +412,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 +439,7 @@
                <tr>
                  <th>产品名称</th>
                  <th>规格型号</th>
                  <th>料号</th>
                  <th>单位</th>
                  <th>单价</th>
                  <th>零售数量</th>
@@ -442,6 +450,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>