当手术计费弹窗中点击"签发"耗材时,因耗材的locationId(发放库房)为空导致后端异常。 在DoctorStationAdviceAppServiceImpl.handDevice方法中,当locationId为null时,使用登录用户的科室ID作为默认值, 与NurseBillingAppService中的处理方式保持一致。
14 lines
626 B
JavaScript
Executable File
14 lines
626 B
JavaScript
Executable File
module.exports = {
|
||
useTabs: false, // 关闭tab缩进,使用Space缩进
|
||
tabWidth: 2, // 每次缩进2个字符
|
||
semi: true, // 结尾加分号
|
||
singleQuote: true, // 使用单引号
|
||
jsxSingleQuote: true, // jsx中使用单引号
|
||
trailingComma: 'es5', // 结尾逗号使用es5规则
|
||
bracketSpacing: true, // 括号和参数之间有空格
|
||
jsxBracketSameLine: false, // 标签属性较多时,标签箭头>另起一行
|
||
arrowParens: 'always', // 箭头函数参数永远加括号
|
||
quoteProps: 'as-needed', // 属性加引号需要加时再加
|
||
printWidth: 100, // 每行字符个数
|
||
};
|