|
|
@@ -1327,6 +1327,8 @@ export default {
|
|
|
},
|
|
|
doseBlur(scope) {
|
|
|
let parent = this.$parent;
|
|
|
+ if (!+scope.row.dose) scope.row.dose = '';
|
|
|
+ if (typeof scope.row.dose === 'string') scope.row.dose = scope.row.dose.trim();
|
|
|
if (scope.row.dose === "") {
|
|
|
this.$message.error("请输入剂量");
|
|
|
|