소스 검색

修复"药食同源"bug

cgp 1 일 전
부모
커밋
7df320f24c
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      src/views/qw/companyCustomer/CreateOrderDialog.vue
  2. 2 0
      src/views/qw/companyCustomer/index.vue

+ 0 - 4
src/views/qw/companyCustomer/CreateOrderDialog.vue

@@ -684,10 +684,6 @@ export default {
                 this.$message.success("订单创建成功");
                 this.dialogVisible = false;
                 this.$emit('success');
-                if (this.currentCustomerId) {
-                  addBuyTimes(this.currentCustomerId).catch(() => {});
-                  updateScrmPrescriptionDocumentSuccess(this.currentCustomerId).catch(() => {});
-                }
               }
             })
             .catch((err) => {

+ 2 - 0
src/views/qw/companyCustomer/index.vue

@@ -1890,6 +1890,8 @@ export default {
         { value: 5, label: "已拒方", type: "danger" },
         { value: 6, label: "已完成", type: "success" },
         { value: 7, label: "暂不开方", type: "primary" },
+        { value: 8, label: "不适合用药", type: "danger" },
+        { value: 9, label: "药食同源", type: "success" },
       ],
       erpList: [
         { dictLabel: "聚水潭", dictValue: "1" },