Parcourir la source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx il y a 3 ans
Parent
révision
0601b7a4ff

+ 1 - 5
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Voir le fichier

@@ -2310,7 +2310,7 @@
2310 2310
             //   }
2311 2311
             // })
2312 2312
             if (num == 0) {
2313
-             
2313
+
2314 2314
               createHisPrescription(data, params).then(response => {
2315 2315
                 if (response.data.state == 1) {
2316 2316
                   this.$emit('change', this.patientInfo.id)
@@ -2482,10 +2482,6 @@
2482 2482
           this.$message.error('该处方已经结算,无法删除')
2483 2483
           return
2484 2484
         }
2485
-        if (targetName == '处方1') {
2486
-          this.$message.error('该处方无法删除')
2487
-          return
2488
-        }
2489 2485
         this.$confirm('处方删除后不可恢复,是否确认删除', '删除', {
2490 2486
           confirmButtonText: '确 定',
2491 2487
           cancelButtonText: '取 消',

+ 2 - 2
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Voir le fichier

@@ -1185,8 +1185,8 @@
1185 1185
             var drugs = response.data.data.drugs
1186 1186
             for(let i=0;i<drugs.length;i++){
1187 1187
                 drugs[i].count = 0
1188
-              if(drugs[i].stock_in.length > 0){
1189
-                if(drugs[i].stock_in != null) {
1188
+              if(drugs[i].stock_in != null) {
1189
+                if(drugs[i].stock_in.length > 0){
1190 1190
                   for (let j = 0; j < drugs[i].stock_in.length; j++) {
1191 1191
                     drugs[i].count += (drugs[i].stock_in[j].stock_max_number * drugs[i].min_number + drugs[i].stock_in[j].stock_min_number)
1192 1192
                   }

+ 1 - 1
src/xt_pages/outpatientTool/labelPrint.vue Voir le fichier

@@ -194,7 +194,7 @@
194 194
         this.current_project_name = row.project_name
195 195
         this.current_name = row.patient_name
196 196
         this.$nextTick(() => {
197
-          JsBarcode('#barcode',row.p_project_id, {
197
+          JsBarcode('#barcode',row.id, {
198 198
             format: 'CODE39',
199 199
             lineColor: '#000',
200 200
             background: '#EBEEF5',