fix: 修复/优化多个业务页面的逻辑与配置
1. 修正物料选项中的BX51D+Z为DX51D+Z 2. 给L2匹配面板的标准化方法添加日志与start_date/end_date字段解析 3. 优化卷材页面的日期赋值逻辑并添加调试日志 4. 简化异常表格的图片组件写法,新增继承来源列
This commit is contained in:
@@ -676,8 +676,15 @@ export default {
|
||||
if (data.exit_thick != null) this.$set(this.updateForm, 'actualThickness', parseFloat(data.exit_thick))
|
||||
if (data.exit_width != null) this.$set(this.updateForm, 'actualWidth', parseFloat(data.exit_width))
|
||||
|
||||
if (data.start_date) this.$set(this.updateForm, 'productionStartTime', this.formatDateTime(data.start_date))
|
||||
if (data.end_date) this.$set(this.updateForm, 'productionEndTime', this.formatDateTime(data.end_date))
|
||||
console.log(data)
|
||||
|
||||
if (data.start_date) {
|
||||
this.$set(this.updateForm, 'productionStartTime', this.formatDateTime(data.start_date))
|
||||
}
|
||||
|
||||
if (data.end_date) {
|
||||
this.$set(this.updateForm, 'productionEndTime', this.formatDateTime(data.end_date))
|
||||
}
|
||||
if (data.start_date || data.end_date) this.calculateProductionDuration()
|
||||
|
||||
const query = {
|
||||
|
||||
Reference in New Issue
Block a user