498 lines
20 KiB
Vue
498 lines
20 KiB
Vue
<template>
|
|
<div class="app-container">
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
<!-- <el-form-item :label="$t('stockFreeze.stockId')" prop="stockId"> <!– 库存编码 –>-->
|
|
<!-- <el-input-->
|
|
<!-- v-model="queryParams.stockId"-->
|
|
<!-- :placeholder="$t('stockFreeze.inputStockId')"-->
|
|
<!-- clearable-->
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
<!-- />-->
|
|
<!-- </el-form-item>-->
|
|
<el-form-item :label="$t('stockFreeze.cargoSpaceId')" prop="cargoSpaceId"> <!-- 货位编码 -->
|
|
<el-input
|
|
v-model="queryParams.cargoSpaceId"
|
|
:placeholder="$t('stockFreeze.inputCargoSpaceId')"
|
|
clearable
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.trayCode')" prop="trayCode"> <!-- 托盘条码 -->
|
|
<el-input
|
|
v-model="queryParams.trayCode"
|
|
:placeholder="$t('stockFreeze.inputTrayCode')"
|
|
clearable
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
</el-form-item>
|
|
<!-- <el-form-item :label="$t('stockFreeze.productId')" prop="productId"> <!– 物品编码 –>
|
|
<el-input
|
|
v-model="queryParams.productId"
|
|
:placeholder="$t('stockFreeze.inputProductId')"
|
|
clearable
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
</el-form-item>-->
|
|
<el-form-item :label="$t('stockFreeze.productName')" prop="productName"> <!-- 物品名称 -->
|
|
<el-input
|
|
v-model="queryParams.productName"
|
|
:placeholder="$t('stockFreeze.inputProductName')"
|
|
clearable
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
</el-form-item>
|
|
<!-- <el-form-item :label="$t('stockFreeze.printDate')" prop="printDate"> <!– 生产日期 –>
|
|
<el-input
|
|
v-model="queryParams.printDate"
|
|
:placeholder="$t('stockFreeze.inputPrintDate')"
|
|
clearable
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
</el-form-item>-->
|
|
<!-- <el-form-item :label="$t('stockFreeze.lotNo')" prop="lotNo"> <!– 批号 –>-->
|
|
<!-- <el-input-->
|
|
<!-- v-model="queryParams.lotNo"-->
|
|
<!-- :placeholder="$t('stockFreeze.inputLotNo')"-->
|
|
<!-- clearable-->
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
<!-- />-->
|
|
<!-- </el-form-item>-->
|
|
<!-- <el-form-item :label="$t('stockFreeze.method')" prop="method"> <!– 操作 –>-->
|
|
<!-- <el-input-->
|
|
<!-- v-model="queryParams.method"-->
|
|
<!-- :placeholder="$t('stockFreeze.inputMethod')"-->
|
|
<!-- clearable-->
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
<!-- />-->
|
|
<!-- </el-form-item>-->
|
|
<el-form-item :label="$t('stockFreeze.warehouseId')" prop="warehouseId"> <!-- 仓库 -->
|
|
<el-select v-model="queryParams.warehouseId" :placeholder="$t('stockFreeze.warehouseId')">
|
|
<el-option
|
|
v-for="item in warehouseOptions"
|
|
:key="item.warehouseId"
|
|
:label="item.warehouseName"
|
|
:value="item.warehouseId"
|
|
/>
|
|
</el-select>
|
|
</el-form-item>
|
|
<!-- <el-form-item :label="$t('stockFreeze.stockDetailId')" prop="stockDetailId"> <!– 库存字表id –>-->
|
|
<!-- <el-input-->
|
|
<!-- v-model="queryParams.stockDetailId"-->
|
|
<!-- :placeholder="$t('stockFreeze.inputStockDetailId')"-->
|
|
<!-- clearable-->
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
<!-- />-->
|
|
<!-- </el-form-item>-->
|
|
<!-- <el-form-item :label="$t('stockFreeze.operatingTarget')" prop="operatingTarget"> <!– 操作目标 –>-->
|
|
<!-- <el-input-->
|
|
<!-- v-model="queryParams.operatingTarget"-->
|
|
<!-- :placeholder="$t('stockFreeze.inputOperatingTarget')"-->
|
|
<!-- clearable-->
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
<!-- />-->
|
|
<!-- </el-form-item>-->
|
|
<!-- <el-form-item :label="$t('stockFreeze.barCodeOldQuantity')" prop="barCodeOldQuantity"> <!– 条码数量 –>-->
|
|
<!-- <el-input-->
|
|
<!-- v-model="queryParams.barCodeOldQuantity"-->
|
|
<!-- :placeholder="$t('stockFreeze.inputBarCodeOldQuantity')"-->
|
|
<!-- clearable-->
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
<!-- />-->
|
|
<!-- </el-form-item>-->
|
|
<!-- <el-form-item :label="$t('stockFreeze.barCodeQuantity')" prop="barCodeQuantity"> <!– 条码数量 –>-->
|
|
<!-- <el-input-->
|
|
<!-- v-model="queryParams.barCodeQuantity"-->
|
|
<!-- :placeholder="$t('stockFreeze.inputBarCodeQuantity')"-->
|
|
<!-- clearable-->
|
|
<!-- @keyup.enter.native="handleQuery"-->
|
|
<!-- />-->
|
|
<!-- </el-form-item>-->
|
|
<!-- <el-form-item :label="$t('stockFreeze.productGuid')" prop="productGuid"> <!– 物料guid –>
|
|
<el-input
|
|
v-model="queryParams.productGuid"
|
|
:placeholder="$t('stockFreeze.inputProductGuid')"
|
|
clearable
|
|
@keyup.enter.native="handleQuery"
|
|
/>
|
|
</el-form-item>-->
|
|
<el-form-item>
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{$t('stockFreeze.search')}}</el-button> <!-- 搜索 -->
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{$t('stockFreeze.reset')}}</el-button> <!-- 重置 -->
|
|
</el-form-item>
|
|
</el-form>
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
<!-- <el-col :span="1.5">
|
|
<el-button
|
|
type="primary"
|
|
plain
|
|
icon="el-icon-plus"
|
|
size="mini"
|
|
@click="handleAdd"
|
|
v-hasPermi="['stock:freeze:add']"
|
|
>{{$t('stockFreeze.add')}}</el-button> <!– 新增 –>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-button
|
|
type="success"
|
|
plain
|
|
icon="el-icon-edit"
|
|
size="mini"
|
|
:disabled="single"
|
|
@click="handleUpdate"
|
|
v-hasPermi="['stock:freeze:edit']"
|
|
>{{$t('stockFreeze.edit')}}</el-button> <!– 修改 –>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-button
|
|
type="danger"
|
|
plain
|
|
icon="el-icon-delete"
|
|
size="mini"
|
|
:disabled="multiple"
|
|
@click="handleDelete"
|
|
v-hasPermi="['stock:freeze:remove']"
|
|
>{{$t('stockFreeze.delete')}}</el-button> <!– 删除 –>
|
|
</el-col>-->
|
|
<el-col :span="1.5">
|
|
<el-button
|
|
type="warning"
|
|
plain
|
|
icon="el-icon-download"
|
|
size="mini"
|
|
@click="handleExport"
|
|
v-hasPermi="['stock:freeze:export']"
|
|
>{{$t('stockFreeze.export')}}</el-button> <!-- 导出 -->
|
|
</el-col>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
</el-row>
|
|
|
|
<el-table v-loading="loading" :data="freezeList" @selection-change="handleSelectionChange">
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
<!-- <el-table-column :label="$t('stockFreeze.stockId')" align="center" prop="stockId" /> <!– 库存编码 –>-->
|
|
<el-table-column :label="$t('stockFreeze.cargoSpaceId')" align="center" prop="cargoSpaceId" /> <!-- 货位编码 -->
|
|
<el-table-column :label="$t('stockFreeze.cargoSpaceName')" align="center" prop="cargoSpaceName" /> <!-- 货位名称 -->
|
|
<el-table-column :label="$t('stockFreeze.trayCode')" align="center" prop="trayCode" /> <!-- 托盘条码 -->
|
|
<!-- <el-table-column :label="$t('stockFreeze.productId')" align="center" prop="productId" /> <!– 物品编码 –>-->
|
|
<!-- <el-table-column :label="$t('stockFreeze.productName')" align="center" prop="productName" /> <!– 物品名称 –>-->
|
|
<!-- <el-table-column :label="$t('stockFreeze.printDate')" align="center" prop="printDate" /> <!– 生产日期 –>-->
|
|
<!-- <el-table-column :label="$t('stockFreeze.lotNo')" align="center" prop="lotNo" /> <!– 批号 –>-->
|
|
<el-table-column :label="$t('stockFreeze.oldStatus')" align="center" prop="oldStatus" >
|
|
<template slot-scope="scope">
|
|
<dict-tag :options="dict.type.stock_status" :value="scope.row.oldStatus"/>
|
|
</template>
|
|
</el-table-column><!-- 原库位状态 -->
|
|
<el-table-column :label="$t('stockFreeze.currStatus')" align="center" prop="currStatus" >
|
|
<template slot-scope="scope">
|
|
<dict-tag :options="dict.type.stock_status" :value="scope.row.currStatus"/>
|
|
</template>
|
|
</el-table-column><!-- 现库位状态 -->
|
|
<el-table-column :label="$t('stockFreeze.method')" align="center" prop="method" /> <!-- 操作 -->
|
|
<el-table-column :label="$t('stockFreeze.warehouseId')" align="center" prop="warehouseName" /> <!-- 仓库 -->
|
|
<el-table-column :label="$t('stockFreeze.createTime')" align="center" prop="createTime" /> <!-- 创建时间 -->
|
|
<!-- <el-table-column :label="$t('stockFreeze.stockDetailId')" align="center" prop="stockDetailId" /> <!– 库存字表id –>-->
|
|
<!-- <el-table-column :label="$t('stockFreeze.operatingTarget')" align="center" prop="operatingTarget" /> <!– 操作目标 –>-->
|
|
<!-- <el-table-column :label="$t('stockFreeze.barCodeOldQuantity')" align="center" prop="barCodeOldQuantity" /> <!– 条码数量 –>-->
|
|
<!-- <el-table-column :label="$t('stockFreeze.barCodeQuantity')" align="center" prop="barCodeQuantity" /> <!– 条码数量 –>-->
|
|
<!-- <el-table-column :label="$t('stockFreeze.productGuid')" align="center" prop="productGuid" /> <!– 物料guid –>-->
|
|
<el-table-column :label="$t('stockFreeze.operation')" align="center" class-name="small-padding fixed-width"> <!-- 操作 -->
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
size="mini"
|
|
type="text"
|
|
icon="el-icon-edit"
|
|
@click="handleUpdate(scope.row)"
|
|
v-hasPermi="['stock:freeze:edit']"
|
|
>{{$t('stockFreeze.edit')}}</el-button> <!-- 修改 -->
|
|
<el-button
|
|
size="mini"
|
|
type="text"
|
|
icon="el-icon-delete"
|
|
@click="handleDelete(scope.row)"
|
|
v-hasPermi="['stock:freeze:remove']"
|
|
>{{$t('stockFreeze.delete')}}</el-button> <!-- 删除 -->
|
|
</template>
|
|
</el-table-column>
|
|
</el-table>
|
|
|
|
<pagination
|
|
v-show="total>0"
|
|
:total="total"
|
|
:page.sync="queryParams.pageNum"
|
|
:limit.sync="queryParams.pageSize"
|
|
@pagination="getList"
|
|
/>
|
|
|
|
<!-- 添加或修改库存冻结记录对话框 -->
|
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
<el-form-item :label="$t('stockFreeze.stockId')" prop="stockId"> <!-- 库存编码 -->
|
|
<el-input v-model="form.stockId" :placeholder="$t('stockFreeze.inputStockId')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.cargoSpaceId')" prop="cargoSpaceId"> <!-- 货位编码 -->
|
|
<el-input v-model="form.cargoSpaceId" :placeholder="$t('stockFreeze.inputCargoSpaceId')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.trayCode')" prop="trayCode"> <!-- 托盘条码 -->
|
|
<el-input v-model="form.trayCode" :placeholder="$t('stockFreeze.inputTrayCode')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.productId')" prop="productId"> <!-- 物品编码 -->
|
|
<el-input v-model="form.productId" :placeholder="$t('stockFreeze.inputProductId')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.productName')" prop="productName"> <!-- 物品名称 -->
|
|
<el-input v-model="form.productName" :placeholder="$t('stockFreeze.inputProductName')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.printDate')" prop="printDate"> <!-- 生产日期 -->
|
|
<el-input v-model="form.printDate" :placeholder="$t('stockFreeze.inputPrintDate')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.lotNo')" prop="lotNo"> <!-- 批号 -->
|
|
<el-input v-model="form.lotNo" :placeholder="$t('stockFreeze.inputLotNo')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.method')" prop="method"> <!-- 操作 -->
|
|
<el-input v-model="form.method" :placeholder="$t('stockFreeze.inputMethod')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.warehouseId')" prop="warehouseId"> <!-- 仓库 -->
|
|
<el-input v-model="form.warehouseId" :placeholder="$t('stockFreeze.inputWarehouseId')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.stockDetailId')" prop="stockDetailId"> <!-- 库存字表id -->
|
|
<el-input v-model="form.stockDetailId" :placeholder="$t('stockFreeze.inputStockDetailId')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.operatingTarget')" prop="operatingTarget"> <!-- 操作目标 -->
|
|
<el-input v-model="form.operatingTarget" :placeholder="$t('stockFreeze.inputOperatingTarget')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.barCodeOldQuantity')" prop="barCodeOldQuantity"> <!-- 条码数量 -->
|
|
<el-input v-model="form.barCodeOldQuantity" :placeholder="$t('stockFreeze.inputBarCodeOldQuantity')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.barCodeQuantity')" prop="barCodeQuantity"> <!-- 条码数量 -->
|
|
<el-input v-model="form.barCodeQuantity" :placeholder="$t('stockFreeze.inputBarCodeQuantity')" />
|
|
</el-form-item>
|
|
<el-form-item :label="$t('stockFreeze.productGuid')" prop="productGuid"> <!-- 物料guid -->
|
|
<el-input v-model="form.productGuid" :placeholder="$t('stockFreeze.inputProductGuid')" />
|
|
</el-form-item>
|
|
</el-form>
|
|
<div slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="submitForm">{{$t('stockFreeze.confirm')}}</el-button> <!-- 确定 -->
|
|
<el-button @click="cancel">{{$t('stockFreeze.cancel')}}</el-button> <!-- 取消 -->
|
|
</div>
|
|
</el-dialog>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { listFreeze, getFreeze, delFreeze, addFreeze, updateFreeze } from "@/api/stock/freeze"
|
|
import {listWarehouse} from "@/api/bas/warehouse"
|
|
|
|
export default {
|
|
name: "Freeze",
|
|
dicts:['stock_status'],
|
|
data() {
|
|
return {
|
|
// 遮罩层
|
|
loading: true,
|
|
// 选中数组
|
|
ids: [],
|
|
// 非单个禁用
|
|
single: true,
|
|
// 非多个禁用
|
|
multiple: true,
|
|
// 显示搜索条件
|
|
showSearch: true,
|
|
// 总条数
|
|
total: 0,
|
|
// 库存冻结记录表格数据
|
|
freezeList: [],
|
|
warehouseOptions:[],
|
|
// 弹出层标题
|
|
title: "",
|
|
// 是否显示弹出层
|
|
open: false,
|
|
// 查询参数
|
|
queryParams: {
|
|
pageNum: 1,
|
|
pageSize: 10,
|
|
stockId: null,
|
|
cargoSpaceId: null,
|
|
trayCode: null,
|
|
productId: null,
|
|
productName: null,
|
|
printDate: null,
|
|
lotNo: null,
|
|
oldStatus: null,
|
|
currStatus: null,
|
|
method: null,
|
|
warehouseId: null,
|
|
stockDetailId: null,
|
|
operatingTarget: null,
|
|
barCodeOldQuantity: null,
|
|
barCodeQuantity: null,
|
|
productGuid: null
|
|
},
|
|
// 表单参数
|
|
form: {},
|
|
// 表单校验
|
|
rules: {
|
|
stockId: [
|
|
{ required: true, message: this.$t('stockFreeze.stockIdRequired'), trigger: "blur" }
|
|
],
|
|
cargoSpaceId: [
|
|
{ required: true, message: this.$t('stockFreeze.cargoSpaceIdRequired'), trigger: "blur" }
|
|
],
|
|
trayCode: [
|
|
{ required: true, message: this.$t('stockFreeze.trayCodeRequired'), trigger: "blur" }
|
|
],
|
|
productId: [
|
|
{ required: true, message: this.$t('stockFreeze.productIdRequired'), trigger: "blur" }
|
|
],
|
|
productName: [
|
|
{ required: true, message: this.$t('stockFreeze.productNameRequired'), trigger: "blur" }
|
|
],
|
|
printDate: [
|
|
{ required: true, message: this.$t('stockFreeze.printDateRequired'), trigger: "blur" }
|
|
],
|
|
lotNo: [
|
|
{ required: true, message: this.$t('stockFreeze.lotNoRequired'), trigger: "blur" }
|
|
],
|
|
method: [
|
|
{ required: true, message: this.$t('stockFreeze.methodRequired'), trigger: "blur" }
|
|
],
|
|
warehouseId: [
|
|
{ required: true, message: this.$t('stockFreeze.warehouseIdRequired'), trigger: "blur" }
|
|
],
|
|
stockDetailId: [
|
|
{ required: true, message: this.$t('stockFreeze.stockDetailIdRequired'), trigger: "blur" }
|
|
],
|
|
operatingTarget: [
|
|
{ required: true, message: this.$t('stockFreeze.operatingTargetRequired'), trigger: "blur" }
|
|
],
|
|
barCodeOldQuantity: [
|
|
{ required: true, message: this.$t('stockFreeze.barCodeOldQuantityRequired'), trigger: "blur" }
|
|
],
|
|
barCodeQuantity: [
|
|
{ required: true, message: this.$t('stockFreeze.barCodeQuantityRequired'), trigger: "blur" }
|
|
],
|
|
productGuid: [
|
|
{ required: true, message: this.$t('stockFreeze.productGuidRequired'), trigger: "blur" }
|
|
]
|
|
}
|
|
};
|
|
},
|
|
created() {
|
|
this.getList()
|
|
this.getWarehouseList();
|
|
},
|
|
methods: {
|
|
/** 获取仓库列表 */
|
|
getWarehouseList() {
|
|
listWarehouse().then(response => {
|
|
this.warehouseOptions = response.rows;
|
|
});
|
|
},
|
|
/** 查询库存冻结记录列表 */
|
|
getList() {
|
|
this.loading = true
|
|
listFreeze(this.queryParams).then(response => {
|
|
this.freezeList = response.rows;
|
|
this.total = response.total;
|
|
this.loading = false;
|
|
});
|
|
},
|
|
// 取消按钮
|
|
cancel() {
|
|
this.open = false
|
|
this.reset()
|
|
},
|
|
// 表单重置
|
|
reset() {
|
|
this.form = {
|
|
whGuid: null,
|
|
stockId: null,
|
|
cargoSpaceId: null,
|
|
trayCode: null,
|
|
productId: null,
|
|
productName: null,
|
|
printDate: null,
|
|
lotNo: null,
|
|
oldStatus: null,
|
|
currStatus: null,
|
|
method: null,
|
|
warehouseId: null,
|
|
createTime: null,
|
|
stockDetailId: null,
|
|
operatingTarget: null,
|
|
barCodeOldQuantity: null,
|
|
barCodeQuantity: null,
|
|
productGuid: null
|
|
};
|
|
this.resetForm("form");
|
|
},
|
|
/** 搜索按钮操作 */
|
|
handleQuery() {
|
|
this.queryParams.pageNum = 1;
|
|
this.getList();
|
|
},
|
|
/** 重置按钮操作 */
|
|
resetQuery() {
|
|
this.resetForm("queryForm");
|
|
this.handleQuery();
|
|
},
|
|
// 多选框选中数据
|
|
handleSelectionChange(selection) {
|
|
this.ids = selection.map(item => item.whGuid);
|
|
this.single = selection.length!==1;
|
|
this.multiple = !selection.length;
|
|
},
|
|
/** 新增按钮操作 */
|
|
handleAdd() {
|
|
this.reset();
|
|
this.open = true;
|
|
this.title = this.$t('stockFreeze.addTitle');
|
|
},
|
|
/** 修改按钮操作 */
|
|
handleUpdate(row) {
|
|
this.reset();
|
|
const whGuid = row.whGuid || this.ids;
|
|
getFreeze(whGuid).then(response => {
|
|
this.form = response.data;
|
|
this.open = true;
|
|
this.title = this.$t('stockFreeze.editTitle');
|
|
});
|
|
},
|
|
/** 提交按钮 */
|
|
submitForm() {
|
|
this.$refs["form"].validate(valid => {
|
|
if (valid) {
|
|
if (this.form.whGuid != null) {
|
|
updateFreeze(this.form).then(response => {
|
|
this.$modal.msgSuccess(this.$t('stockFreeze.editSuccess'));
|
|
this.open = false;
|
|
this.getList();
|
|
});
|
|
} else {
|
|
addFreeze(this.form).then(response => {
|
|
this.$modal.msgSuccess(this.$t('stockFreeze.addSuccess'));
|
|
this.open = false;
|
|
this.getList();
|
|
});
|
|
}
|
|
}
|
|
});
|
|
},
|
|
/** 删除按钮操作 */
|
|
handleDelete(row) {
|
|
const whGuids = row.whGuid || this.ids;
|
|
this.$modal.confirm(this.$t('stockFreeze.deleteConfirm')).then(function() {
|
|
return delFreeze(whGuids);
|
|
}).then(() => {
|
|
this.getList();
|
|
this.$modal.msgSuccess(this.$t('stockFreeze.deleteSuccess'));
|
|
}).catch(() => {});
|
|
},
|
|
/** 导出按钮操作 */
|
|
handleExport() {
|
|
this.download('stock/freeze/export', {
|
|
...this.queryParams
|
|
}, `freeze_${new Date().getTime()}.xlsx`);
|
|
}
|
|
}
|
|
};
|
|
</script>
|