소스 검색

no message

xiaochan 2 년 전
부모
커밋
7ad42b96a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/yz-edit/YzEditor.vue

+ 1 - 1
src/components/zhu-yuan-yi-sheng/yi-zhu-lu-ru/yz-edit/YzEditor.vue

@@ -589,7 +589,7 @@ const clearDoctorSOrder = () => {
  * @returns {Promise<void>}
  */
 const addOrderNo = async () => {
-  if (stringIsBlank(yiZhuData.value.actOrderNo) || yiZhuData.value.actOrderNo !== 'tempOrderNo') {
+  if (stringNotBlank(yiZhuData.value.actOrderNo) && yiZhuData.value.actOrderNo !== 'tempOrderNo') {
     await toAddAnOrder()
   } else {
     setTheTemporaryVariableMedicalOrder()