liding
2026-05-22 380bff56969c0f3d2db224b9cb9968a2e073e927
src/views/inventoryManagement/dispatchLog/Record.vue
@@ -87,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
@@ -138,6 +135,12 @@
    type: String,
    required: true,
    default: '0'
  },
  productId: {
    type: Number,
    required: true,
    default: 0
  }
})
@@ -168,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;
@@ -193,11 +196,10 @@
        .then(res => {
          stockRecordTypeOptions.value = res.data;
        })
    return
  }
  findAllUnQualifiedStockOutRecordTypeOptions()
      .then(res => {
        stockRecordTypeOptions.value = res.data;
        stockRecordTypeOptions.value.push(...res.data);
      })
}
@@ -217,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("已取消");