Browse Source

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

28169 8 months ago
parent
commit
293f73a439

+ 12 - 0
src/router/modules/dialysis.js View File

1035
         noCache: true
1035
         noCache: true
1036
       }
1036
       }
1037
     },
1037
     },
1038
+    {//78
1039
+      path: '/dialysis/print/batch/seventyeight',
1040
+      component: () =>
1041
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_seventyeight'),
1042
+      hidden: true,
1043
+      is_menu: false,
1044
+      name: 'batch_print_order_seventyeight',
1045
+      meta: {
1046
+        title: '批量打印',
1047
+        noCache: true
1048
+      }
1049
+    },
1038
     {
1050
     {
1039
       path: '/dialysis/flow',
1051
       path: '/dialysis/flow',
1040
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),
1052
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

File diff suppressed because it is too large
+ 2581 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue


+ 26 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

964
         >
964
         >
965
         </div>
965
         </div>
966
       </template>
966
       </template>
967
+      <template v-if="org_template_info.template_id == 78 ">
968
+        <div>
969
+          <el-button
970
+          :loading="loading"
971
+          size="small"
972
+          icon="el-icon-printer"
973
+          @click="printThisPage"
974
+          type="primary"
975
+          >打印</el-button
976
+        >
977
+        </div>
978
+      </template>
967
     </div>
979
     </div>
968
     <div class="app-container" style="min-height: 0">
980
     <div class="app-container" style="min-height: 0">
969
       <!--<div class="order-print-btn"-->
981
       <!--<div class="order-print-btn"-->
1475
           <DialysisPrintOrderSeventyseven v-bind:childResponse="childResponse"
1487
           <DialysisPrintOrderSeventyseven v-bind:childResponse="childResponse"
1476
           v-if="org_template_info.template_id == 77">
1488
           v-if="org_template_info.template_id == 77">
1477
           </DialysisPrintOrderSeventyseven>
1489
           </DialysisPrintOrderSeventyseven>
1490
+
1491
+          <DialysisPrintOrderSeventyeight v-bind:childResponse="childResponse"
1492
+          v-if="org_template_info.template_id == 78">
1493
+
1494
+          </DialysisPrintOrderSeventyeight>
1478
         </div>
1495
         </div>
1479
       </el-container>
1496
       </el-container>
1480
     </div>
1497
     </div>
1570
 import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyfive'
1587
 import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyfive'
1571
 import DialysisPrintOrderSeventysix from './template/DialysisPrintOrderSeventysix'
1588
 import DialysisPrintOrderSeventysix from './template/DialysisPrintOrderSeventysix'
1572
 import DialysisPrintOrderSeventyseven from './template/DialysisPrintOrderSeventyseven'
1589
 import DialysisPrintOrderSeventyseven from './template/DialysisPrintOrderSeventyseven'
1590
+import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventyeight'
1573
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1591
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1574
 export default {
1592
 export default {
1575
   name: "dialysisPrintOrder",
1593
   name: "dialysisPrintOrder",
1651
     DialysisPrintOrderseventyfive,
1669
     DialysisPrintOrderseventyfive,
1652
     DialysisPrintOrderSeventysix,
1670
     DialysisPrintOrderSeventysix,
1653
     DialysisPrintOrderSeventyseven,
1671
     DialysisPrintOrderSeventyseven,
1672
+    DialysisPrintOrderSeventyeight,
1654
     DialysisPrintOrderZero,
1673
     DialysisPrintOrderZero,
1655
     LabelBox,
1674
     LabelBox,
1656
     BreadCrumb,
1675
     BreadCrumb,
2347
           style: style2,
2366
           style: style2,
2348
           scanStyles: false,
2367
           scanStyles: false,
2349
         });
2368
         });
2369
+      }else if (this.org_template_info.template_id == 78 ) {
2370
+        printJS({
2371
+          printable: "dialysis-print-box-1",
2372
+          type: "html",
2373
+          style: style2,
2374
+          scanStyles: false,
2375
+        });
2350
       }
2376
       }
2351
        else if (this.org_template_info.template_id == 199 ) {
2377
        else if (this.org_template_info.template_id == 199 ) {
2352
         printJS({
2378
         printJS({

File diff suppressed because it is too large
+ 3137 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue


+ 15 - 5
src/xt_pages/outpatientCharges/components/prescriptionTable.vue View File

139
         </template>
139
         </template>
140
       </el-table-column>
140
       </el-table-column>
141
     </el-table>
141
     </el-table>
142
+
142
     <el-table
143
     <el-table
143
       v-if="prescription.type == 2"
144
       v-if="prescription.type == 2"
144
       :data="prescription.project"
145
       :data="prescription.project"
169
       >
170
       >
170
         <template slot-scope="scope">{{ scope.row.project_name }}</template>
171
         <template slot-scope="scope">{{ scope.row.project_name }}</template>
171
       </el-table-column>
172
       </el-table-column>
173
+
172
       <el-table-column
174
       <el-table-column
173
         align="center"
175
         align="center"
174
         prop="statistical_classification"
176
         prop="statistical_classification"
181
             : "耗材"
183
             : "耗材"
182
         }}</template>
184
         }}</template>
183
       </el-table-column>
185
       </el-table-column>
186
+
187
+      <el-table-column align="center" prop="name" width="80" label="规格/型号">
188
+        <template slot-scope="scope">
189
+          <div>{{ scope.row.spec }}</div>
190
+        </template>
191
+      </el-table-column>
192
+
184
       <el-table-column
193
       <el-table-column
185
         align="center"
194
         align="center"
186
         prop="single_dose"
195
         prop="single_dose"
191
           >{{ scope.row.single_dose }}{{ scope.row.unit }}</template
200
           >{{ scope.row.single_dose }}{{ scope.row.unit }}</template
192
         >
201
         >
193
       </el-table-column>
202
       </el-table-column>
203
+      
194
       <el-table-column
204
       <el-table-column
195
         align="center"
205
         align="center"
196
         prop="delivery_way"
206
         prop="delivery_way"
199
       >
209
       >
200
         <template slot-scope="scope">{{ scope.row.delivery_way }}</template>
210
         <template slot-scope="scope">{{ scope.row.delivery_way }}</template>
201
       </el-table-column>
211
       </el-table-column>
212
+
202
       <el-table-column
213
       <el-table-column
203
         align="center"
214
         align="center"
204
         prop="execution_frequency"
215
         prop="execution_frequency"
209
           scope.row.execution_frequency
220
           scope.row.execution_frequency
210
         }}</template>
221
         }}</template>
211
       </el-table-column>
222
       </el-table-column>
223
+
212
       <el-table-column
224
       <el-table-column
213
         align="center"
225
         align="center"
214
         prop="number_days"
226
         prop="number_days"
217
       >
229
       >
218
         <template slot-scope="scope">{{ scope.row.number_days }}天</template>
230
         <template slot-scope="scope">{{ scope.row.number_days }}天</template>
219
       </el-table-column>
231
       </el-table-column>
232
+
220
       <el-table-column align="center" prop="total" width="50" label="总量">
233
       <el-table-column align="center" prop="total" width="50" label="总量">
221
         <template slot-scope="scope">
234
         <template slot-scope="scope">
222
           <div>{{ scope.row.total }} {{ scope.row.unit }}</div>
235
           <div>{{ scope.row.total }} {{ scope.row.unit }}</div>
223
         </template>
236
         </template>
224
       </el-table-column>
237
       </el-table-column>
238
+      
225
       <el-table-column align="center" prop="name" width="50" label="单价">
239
       <el-table-column align="center" prop="name" width="50" label="单价">
226
         <template slot-scope="scope">{{ scope.row.price }}元</template>
240
         <template slot-scope="scope">{{ scope.row.price }}元</template>
227
       </el-table-column>
241
       </el-table-column>
238
         </template>
252
         </template>
239
       </el-table-column>
253
       </el-table-column>
240
 
254
 
241
-      <el-table-column align="center" prop="name" width="80" label="规格/型号">
242
-        <template slot-scope="scope">
243
-          <div>{{ scope.row.spec }}</div>
244
-        </template>
245
-      </el-table-column>
255
+      
246
 
256
 
247
       <el-table-column align="center" prop="name" width="60" label="金额">
257
       <el-table-column align="center" prop="name" width="60" label="金额">
248
         <template slot-scope="scope">
258
         <template slot-scope="scope">