Browse Source

修复已知bug

dev-xx
马远东 6 months ago
parent
commit
2a0acb4203
  1. 8
      src/views/aftersales/aftersalesWorkOrder.vue

8
src/views/aftersales/aftersalesWorkOrder.vue

@ -1950,7 +1950,7 @@ const AddInfo = () => {
$router.push('/aftersales/aftersalesWorkOrderAdd'); $router.push('/aftersales/aftersalesWorkOrderAdd');
}; };
// //
const beforeAvatarUpload =async rawFile => { const beforeAvatarUpload = async rawFile => {
console.log(rawFile); console.log(rawFile);
if (rawFile.type !== 'image/png' && rawFile.type !== 'image/jpeg') { if (rawFile.type !== 'image/png' && rawFile.type !== 'image/jpeg') {
ElMessage.error('图片格式只能为 png/jpg!'); ElMessage.error('图片格式只能为 png/jpg!');
@ -1959,7 +1959,7 @@ const beforeAvatarUpload =async rawFile => {
ElMessage.error('图片大小不能大于10MB!'); ElMessage.error('图片大小不能大于10MB!');
return false; return false;
} }
const res = await compressImageBlob(rawFile) const res = await compressImageBlob(rawFile);
return res; return res;
}; };
// //
@ -4664,12 +4664,12 @@ const AssignSubmission = () => {
} }
} }
:deep(.el_tims_box) { :deep(.el_tims_box) {
width: 100%;
display: flex;
.topText { .topText {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
} }
width: 100%;
display: flex;
.el-form-item { .el-form-item {
margin: 6px 0; margin: 6px 0;
} }

Loading…
Cancel
Save