|
@@ -396,7 +396,10 @@
|
|
|
</el-col>
|
|
|
|
|
|
<!-- 操作记录 -->
|
|
|
- <el-col :span="24" class="title">操作记录</el-col>
|
|
|
+ <el-col :span="24" class="title">
|
|
|
+ 操作记录
|
|
|
+ <el-date-picker style="float: right;" v-model="recordTime" type="datetime" placeholder="选择日期时间" @change="changeTime"></el-date-picker>
|
|
|
+ </el-col>
|
|
|
<el-table :data="operations" highlight-current-row v-loading="listLoading" style="width: 100%;">
|
|
|
<el-table-column type="index" width="40"></el-table-column>
|
|
|
<el-table-column prop="content" label="操作" width="120" sortable></el-table-column>
|
|
@@ -531,6 +534,8 @@
|
|
|
moldDetail: {},
|
|
|
customCompany: [],
|
|
|
boxes: [],
|
|
|
+ //操作记录的时间
|
|
|
+ recordTime: "",
|
|
|
//单独新增零件时所需的三个变量
|
|
|
newParts: {
|
|
|
number: "",
|
|
@@ -1096,7 +1101,7 @@
|
|
|
list[i].state = 100;
|
|
|
}
|
|
|
}
|
|
|
- console.log(list)
|
|
|
+ // console.log(list)
|
|
|
this.documents.part = list;
|
|
|
} else {
|
|
|
this.$message({
|
|
@@ -1212,6 +1217,12 @@
|
|
|
type: "error"
|
|
|
});
|
|
|
});
|
|
|
+ },
|
|
|
+
|
|
|
+ //操作记录部分更改时间
|
|
|
+ changeTime(){
|
|
|
+ //然而现在并没有卵用
|
|
|
+ console.log(this.recordTime);
|
|
|
}
|
|
|
},
|
|
|
created() {
|