|
@@ -29,6 +29,7 @@
|
|
</div>
|
|
</div>
|
|
<div style="padding: 8px; text-align: center">
|
|
<div style="padding: 8px; text-align: center">
|
|
<el-button @click="clickCancel" size="large">关 闭</el-button>
|
|
<el-button @click="clickCancel" size="large">关 闭</el-button>
|
|
|
|
+ <el-button type="primary" @click="deriveExcel()" size="large" v-preReClick>导 出</el-button>
|
|
</div>
|
|
</div>
|
|
</el-card>
|
|
</el-card>
|
|
</div>
|
|
</div>
|
|
@@ -276,6 +277,9 @@ const getTotal = (label) => {
|
|
};
|
|
};
|
|
const emit = defineEmits(["clickCancel"]);
|
|
const emit = defineEmits(["clickCancel"]);
|
|
const clickCancel = () => {
|
|
const clickCancel = () => {
|
|
|
|
+ emit("clickCancel", "");
|
|
|
|
+};
|
|
|
|
+const deriveExcel = () => {
|
|
$("#tableId").table2excel({
|
|
$("#tableId").table2excel({
|
|
exclude: ".noExl",
|
|
exclude: ".noExl",
|
|
sheetName: "SKU对账单",
|
|
sheetName: "SKU对账单",
|
|
@@ -284,7 +288,6 @@ const clickCancel = () => {
|
|
exclude_links: false,
|
|
exclude_links: false,
|
|
exclude_inputs: true,
|
|
exclude_inputs: true,
|
|
});
|
|
});
|
|
- // emit("clickCancel", "");
|
|
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|