ソースを参照

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

28169 8 ヶ月 前
コミット
293f73a439

+ 12 - 0
src/router/modules/dialysis.js ファイルの表示

@@ -1035,6 +1035,18 @@ export default {
1035 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 1051
       path: '/dialysis/flow',
1040 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 ファイルの表示

@@ -964,6 +964,18 @@
964 964
         >
965 965
         </div>
966 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 979
     </div>
968 980
     <div class="app-container" style="min-height: 0">
969 981
       <!--<div class="order-print-btn"-->
@@ -1475,6 +1487,11 @@
1475 1487
           <DialysisPrintOrderSeventyseven v-bind:childResponse="childResponse"
1476 1488
           v-if="org_template_info.template_id == 77">
1477 1489
           </DialysisPrintOrderSeventyseven>
1490
+
1491
+          <DialysisPrintOrderSeventyeight v-bind:childResponse="childResponse"
1492
+          v-if="org_template_info.template_id == 78">
1493
+
1494
+          </DialysisPrintOrderSeventyeight>
1478 1495
         </div>
1479 1496
       </el-container>
1480 1497
     </div>
@@ -1570,6 +1587,7 @@ import DialysisPrintOrderSop from './template/DialysisPrintOrderSop'
1570 1587
 import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyfive'
1571 1588
 import DialysisPrintOrderSeventysix from './template/DialysisPrintOrderSeventysix'
1572 1589
 import DialysisPrintOrderSeventyseven from './template/DialysisPrintOrderSeventyseven'
1590
+import DialysisPrintOrderSeventyeight from './template/DialysisPrintOrderSeventyeight'
1573 1591
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1574 1592
 export default {
1575 1593
   name: "dialysisPrintOrder",
@@ -1651,6 +1669,7 @@ export default {
1651 1669
     DialysisPrintOrderseventyfive,
1652 1670
     DialysisPrintOrderSeventysix,
1653 1671
     DialysisPrintOrderSeventyseven,
1672
+    DialysisPrintOrderSeventyeight,
1654 1673
     DialysisPrintOrderZero,
1655 1674
     LabelBox,
1656 1675
     BreadCrumb,
@@ -2347,6 +2366,13 @@ export default {
2347 2366
           style: style2,
2348 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 2377
        else if (this.org_template_info.template_id == 199 ) {
2352 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 ファイルの表示

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