Browse Source

工具Bug

master
Rui_Li 1 year ago
parent
commit
0d462f6ced
  1. 8
      src/views/modules/tooling/components/com_tool_instance_date_add_update.vue

8
src/views/modules/tooling/components/com_tool_instance_date_add_update.vue

@ -54,10 +54,8 @@
<script> <script>
import { import {
getToolInstanceDates,
insertToolInstanceDate, insertToolInstanceDate,
modifyToolInstanceDate, modifyToolInstanceDate,
removeToolInstanceDate,
} from '@/api/tool/com_tool_instance_date_show.js'; } from '@/api/tool/com_tool_instance_date_show.js';
var functionId = 'C106003003'; var functionId = 'C106003003';
@ -79,7 +77,7 @@ export default {
toolInstance: '', toolInstance: '',
beginDate: '', beginDate: '',
endDate: '', endDate: '',
ifsRowId: 0,
ifsRowId: '',
ifsRowVersion: '', ifsRowVersion: '',
}, },
dataListLoading: false, dataListLoading: false,
@ -109,11 +107,15 @@ export default {
this.pageData.id = toolInfo.id; this.pageData.id = toolInfo.id;
this.pageData.beginDate = toolInfo.beginDate; this.pageData.beginDate = toolInfo.beginDate;
this.pageData.endDate = toolInfo.endDate; this.pageData.endDate = toolInfo.endDate;
this.pageData.ifsRowId = toolInfo.ifsRowId;
this.pageData.ifsRowVersion = toolInfo.ifsRowVersion;
this.titleCon = '工具实例生命周期修改'; this.titleCon = '工具实例生命周期修改';
}else { }else {
this.pageData.beginDate = ''; this.pageData.beginDate = '';
this.pageData.endDate = ''; this.pageData.endDate = '';
this.pageData.id = 0; this.pageData.id = 0;
this.pageData.ifsRowId = toolInfo.ifsRowId;
this.pageData.ifsRowVersion = toolInfo.ifsRowVersion;
this.titleCon = '工具实例生命周期新增'; this.titleCon = '工具实例生命周期新增';
} }
}, },

Loading…
Cancel
Save