问题修复
This commit is contained in:
parent
7f34405115
commit
1a5cbe0951
|
|
@ -179,7 +179,7 @@ export default {
|
||||||
{ t_prop: 'partModelName', t_label: '维修配件型号' },
|
{ t_prop: 'partModelName', t_label: '维修配件型号' },
|
||||||
{ t_prop: 'partNum', t_label: '使用数量' },
|
{ t_prop: 'partNum', t_label: '使用数量' },
|
||||||
{ t_prop: 'partPrice', t_label: '配件单价' },
|
{ t_prop: 'partPrice', t_label: '配件单价' },
|
||||||
{ t_prop: 'partAllCosts', t_label: '配件总价' },
|
{ t_prop: 'partAllCosts', t_label: '配件费用' },
|
||||||
// { t_prop: '', t_label: '委外维修费用' },
|
// { t_prop: '', t_label: '委外维修费用' },
|
||||||
// { t_prop: '', t_label: '费用总价' },
|
// { t_prop: '', t_label: '费用总价' },
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -674,8 +674,8 @@ export default {
|
||||||
},
|
},
|
||||||
beforeUpload(file) {
|
beforeUpload(file) {
|
||||||
const fileType = file.name.split('.').pop().toLowerCase();
|
const fileType = file.name.split('.').pop().toLowerCase();
|
||||||
if (fileType!== 'xls' && fileType!== 'xlsx') {
|
if (fileType!== 'xlsx') {
|
||||||
this.$message.error('只能上传 Excel 文件(.xls 或 .xlsx)');
|
this.$message.error('只能上传 Excel 文件(.xlsx)');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue