出门证优化
This commit is contained in:
parent
1903f17edf
commit
44736e5981
|
|
@ -52,7 +52,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="物资" align="center" prop="material" show-overflow-tooltip />
|
||||
<el-table-column label="车牌号" align="center" width="300" prop="carCode" show-overflow-tooltip />
|
||||
<el-table-column label="单号" align="center" width="200" prop="code" show-overflow-tooltip />
|
||||
<el-table-column label="领料单号" align="center" width="200" prop="code" show-overflow-tooltip />
|
||||
<el-table-column label="日期" align="center" width="200" prop="addDate" show-overflow-tooltip />
|
||||
<el-table-column label="备注" align="center" prop="remark" show-overflow-tooltip />
|
||||
<el-table-column label="操作" align="center" width="280">
|
||||
|
|
@ -295,7 +295,7 @@ export default {
|
|||
handleAdd() {
|
||||
this.resetForm();
|
||||
this.open = true;
|
||||
this.form.addDate = new Date().toLocaleDateString('zh-CN')
|
||||
this.form.addDate = new Date().toISOString().slice(0, 10)
|
||||
this.$nextTick(() => {
|
||||
this.$refs.form.clearValidate()
|
||||
})
|
||||
|
|
@ -304,12 +304,13 @@ export default {
|
|||
|
||||
// 重置表单
|
||||
resetForm() {
|
||||
this.form = {
|
||||
linkMan: '',
|
||||
proName: '',
|
||||
carCode: '',
|
||||
reserveDate: ''
|
||||
};
|
||||
// this.form = {
|
||||
// linkMan: '',
|
||||
// proName: '',
|
||||
// carCode: '',
|
||||
// reserveDate: '',
|
||||
// addDate: ''
|
||||
// };
|
||||
if (this.$refs.form) {
|
||||
this.$refs.form.resetFields();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue