feat: 新增收货计划功能并优化入库界面
fix(ui): 修正发货单和收货单界面显示问题 docs: 添加KLPTable组件使用文档 refactor: 重构入库记录显示为表格形式 style: 清理无用代码并统一命名规范
This commit is contained in:
@@ -175,6 +175,7 @@ export default {
|
||||
pageSize: 10,
|
||||
planName: undefined,
|
||||
planDate: undefined,
|
||||
planType: 0,
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
@@ -214,6 +215,7 @@ export default {
|
||||
planId: undefined,
|
||||
planName: undefined,
|
||||
planDate: undefined,
|
||||
planType: 0,
|
||||
remark: undefined,
|
||||
delFlag: undefined,
|
||||
createTime: undefined,
|
||||
@@ -247,6 +249,8 @@ export default {
|
||||
this.form.planDate = new Date().toLocaleString().replace('T', ' ').replace().replace(/\//g, '-')
|
||||
// 发货计划名称格式为年-月-日命名
|
||||
this.form.planName = new Date().toLocaleDateString().replace(/\//g, '-') + '发货计划'
|
||||
// 计划类型为发货计划
|
||||
this.form.planType = 0
|
||||
this.open = true;
|
||||
this.title = "添加发货计划";
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user