问题修复
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
<!-- 选择耗材 -->
|
||||
<ConsumableList ref="ConsumableList" @success="selectConsumable" />
|
||||
<el-dialog v-model="showResult" :show-close="false" :close-on-press-escape="false" :close-on-click-modal="false">
|
||||
<el-result icon="success" title="入库提交成功" :subTitle="`共操作${tableData.list.length}件商品`">
|
||||
<el-result icon="success" :title="`提交成功,3秒后自动关闭`" :subTitle="`共操作${tableData.list.length}件商品`">
|
||||
<template #extra>
|
||||
<template>
|
||||
<el-button type="primary" size="medium" @click="resetHandle">创建新的入库单</el-button>
|
||||
@@ -173,7 +173,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ElMessage, ElMessageBox } from "element-plus";
|
||||
import { ElMessage } from "element-plus";
|
||||
import consApi from "@/api/product/cons";
|
||||
import Decimal from "decimal.js";
|
||||
import vendorApi from "@/api/product/vendor";
|
||||
@@ -402,13 +402,17 @@ export default {
|
||||
}
|
||||
this.queryFormLoading = false;
|
||||
// const title = this.type == "in" ? "入库" : "出库";
|
||||
ElMessage({
|
||||
// message: title + "提交成功",
|
||||
message: "提交成功",
|
||||
type: "success",
|
||||
});
|
||||
this.$router.push("/inventory/consumables");
|
||||
// ElMessage({
|
||||
// // message: title + "提交成功",
|
||||
// message: "提交成功",
|
||||
// type: "success",
|
||||
// });
|
||||
this.showResult = true;
|
||||
|
||||
setTimeout(() => {
|
||||
this.$router.push("/inventory/consumables");
|
||||
}, 3000);
|
||||
|
||||
// this.$refs.shopList.reset()//清除选项
|
||||
// this.$refs.ConsumableList.reset()//清除选项
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user