Procházet zdrojové kódy

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

XMLWAN před 3 roky
rodič
revize
a8dc955d9a

+ 10 - 2
src/api/supply.js Zobrazit soubor

@@ -266,13 +266,21 @@ export function savesupply(data) {
266 266
   })
267 267
 }
268 268
 
269
-export function updatesupply(data) {
269
+export function updatesupply(data,params) {
270 270
   return request({
271
-    url: '/api/supply/updatesupply',
271
+    url: '/api/supply/updatesupply?suppliercode=' + params.supplierCode + '&suppliername=' + params.supplierName,
272 272
     method: 'post',
273 273
     data: data
274 274
   })
275 275
 }
276 276
 
277
+// export function updatesupply(data) {
278
+//   return request({
279
+//     url: '/api/supply/updatesupply' ,
280
+//     method: 'post',
281
+//     data: data
282
+//   })
283
+// }
284
+
277 285
 
278 286
 

Diff nebyl zobrazen, protože je příliš veliký
+ 253 - 668
src/xt_pages/hospitalStation/outpatientChargesManagement.vue


+ 1 - 0
src/xt_pages/outpatientCharges/components/chargeDialog.vue Zobrazit soubor

@@ -183,6 +183,7 @@
183 183
     },
184 184
     methods: {
185 185
       show: function (total,order) {
186
+
186 187
         this.form.total = total
187 188
         this.form.private_price = total
188 189
         this.form.pay_price = total

+ 2 - 2
src/xt_pages/outpatientCharges/components/registerDialog.vue Zobrazit soubor

@@ -560,7 +560,7 @@
560 560
         this.form.age = jsGetAge(births, '-')
561 561
 
562 562
 
563
-
563
+        this.InsuplcAdmdvs = []
564 564
         var that = this
565 565
         let params={
566 566
           id_card_no: this.form.id_card,
@@ -590,7 +590,7 @@
590 590
                   }).catch(() => {
591 591
                   })
592 592
                 } else {
593
-                  that.InsuplcAdmdvs = []
593
+
594 594
                   for(let i =0; i < response.data.data.info.output.insuinfo.length; i++){
595 595
                     that.InsuplcAdmdvs.push({
596 596
                       value:response.data.data.info.output.insuinfo[i].insuplc_admdvs,

+ 2 - 2
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue Zobrazit soubor

@@ -3,7 +3,7 @@
3 3
         <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print"
4 4
              style="position: relative;">
5 5
             <img style="width:100%;height:80px" v-if="org_id != 10278" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
6
-            <img style="width:100%;height:80px" v-else src="https://kuyi.shengws.com/beierlog.png" alt="">
6
+            <img style="width:100%;height:80px" v-if="org_id == 10278" src="https://kuyi.shengws.com/beierlog.png" alt="">
7 7
             <div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
8 8
             <div style="display:flex;">
9 9
                 <div>单据号:<span
@@ -284,7 +284,7 @@
284 284
                 </div>
285 285
             </div>
286 286
             <img style="width:100%;" v-if="org_id != 10278" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
287
-            <img style="width:100%;" v-else src="https://kuyi.shengws.com/bailinbeier.png" alt="">
287
+            <img style="width:100%;" v-if="org_id == 10278" src="https://kuyi.shengws.com/bailinbeier.png" alt="">
288 288
         </div>
289 289
     </div>
290 290
 

Diff nebyl zobrazen, protože je příliš veliký
+ 1074 - 770
src/xt_pages/supply/components/addGoodOrder.vue


+ 2 - 0
src/xt_pages/supply/components/addGoodReturn.vue Zobrazit soubor

@@ -290,6 +290,7 @@
290 290
         >
291 291
         </el-input>
292 292
       </div>
293
+      <div style="margin-top: 10px">合计:{{ getAllPrice() }} 元</div>
293 294
       <div style="margin-top: 10px">
294 295
         <span
295 296
           >优惠率:<el-input
@@ -701,6 +702,7 @@ export default {
701 702
           this.recordInfo.tableList[i].supply_price *
702 703
           this.recordInfo.tableList[i].supply_count;
703 704
       }
705
+      this.total_price = total_price;
704 706
       return total_price.toFixed(2);
705 707
     },
706 708
     checkPurchaseOrder(id, index) {

+ 3 - 3
src/xt_pages/supply/components/addSupply.vue Zobrazit soubor

@@ -384,10 +384,11 @@ export default {
384 384
               if (valid) {
385 385
                 let params = {
386 386
                   ...this.supplier,
387
-                  ...this.recordInfo,
387
+                  // ...this.recordInfo
388 388
                 };
389
+                let data = { ...this.recordInfo };
389 390
                 console.log(params, "dhas");
390
-                updatesupply(params).then((res) => {
391
+                updatesupply(data,params).then((res) => {
391 392
                   console.log(res, "oo");
392 393
                 });
393 394
               } else {
@@ -401,7 +402,6 @@ export default {
401 402
           }
402 403
         });
403 404
       }
404
-
405 405
       this.contactsinfo();
406 406
     },
407 407
 

Diff nebyl zobrazen, protože je příliš veliký
+ 1197 - 916
src/xt_pages/supply/components/editGoodOrder.vue


Diff nebyl zobrazen, protože je příliš veliký
+ 995 - 782
src/xt_pages/supply/components/editPurchaseOrder.vue