|
@@ -125,7 +125,7 @@
|
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
|
@click="handleExport"
|
|
|
- v-hasPermi="['warehouseBusiness:whgenleg:export']"
|
|
|
+ v-hasPermi="['warehouseBusiness:receivable:export']"
|
|
|
>导出</el-button>
|
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
@@ -235,7 +235,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listWhgenleg, getWhgenleg, delWhgenleg, addWhgenleg, updateWhgenleg, exportWhgenleg } from "@/api/reportManagement/receivable";
|
|
|
+import { listWhgenleg, getWhgenleg, delWhgenleg, addWhgenleg, updateWhgenleg, exporReceivable } from "@/api/reportManagement/receivable";
|
|
|
import {listWarehouse} from "@/api/basicdata/warehouse";
|
|
|
import {listArea} from "@/api/basicdata/area";
|
|
|
import {listGoods} from "@/api/basicdata/goods";
|
|
@@ -470,12 +470,12 @@ export default {
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
const queryParams = this.queryParams;
|
|
|
- this.$confirm('是否确认导出所有库存总账数据项?', "警告", {
|
|
|
+ this.$confirm('是否确认导出所有应收总账数据项?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
}).then(function() {
|
|
|
- return exportWhgenleg(queryParams);
|
|
|
+ return exporReceivable(queryParams);
|
|
|
}).then(response => {
|
|
|
this.download(response.msg);
|
|
|
})
|