feat(发货单): 新增发货单打印功能及明细管理
refactor(组件): 重构发货单明细表格为独立组件 feat(组件): 添加发货单打印预览组件 fix(登录页): 移除默认用户名和密码 style(钢卷面板): 添加显示控制属性并优化布局 chore: 添加vitest测试配置和依赖
This commit is contained in:
@@ -34,18 +34,18 @@
|
||||
<el-button type="primary" icon="el-icon-plus" size="mini" @click="openQuickDialog()">
|
||||
快速新增 1~3 级
|
||||
</el-button>
|
||||
<el-button type="success" icon="el-icon-plus" size="mini" @click="openCreateDialog()">
|
||||
<!-- <el-button type="success" icon="el-icon-plus" size="mini" @click="openCreateDialog()">
|
||||
新增单级节点
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
<el-button type="warning" icon="el-icon-download" size="mini" @click="handleDownloadTemplate">
|
||||
下载导入模板
|
||||
</el-button>
|
||||
<el-button type="danger" icon="el-icon-upload2" size="mini" @click="triggerImport">
|
||||
导入
|
||||
</el-button>
|
||||
<el-button type="info" icon="el-icon-sort" size="mini" @click="toggleExpand">
|
||||
<!-- <el-button type="info" icon="el-icon-sort" size="mini" @click="toggleExpand">
|
||||
{{ isExpandAll ? '折叠全部' : '展开全部' }}
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
<input
|
||||
ref="importInput"
|
||||
type="file"
|
||||
@@ -624,12 +624,12 @@ export default {
|
||||
};
|
||||
runner()
|
||||
.then(() => {
|
||||
this.$modal.msgSuccess("已完成录入");
|
||||
this.$message.success("批量新增成功");
|
||||
this.quickDialog.visible = false;
|
||||
this.getTreeData();
|
||||
})
|
||||
.catch(() => {
|
||||
this.$modal.msgError("批量新增失败,请重试");
|
||||
this.$message.error("批量新增失败,请重试");
|
||||
})
|
||||
.finally(() => {
|
||||
this.quickDialog.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user