Bläddra i källkod

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

XMLWAN 3 år sedan
förälder
incheckning
a8dc955d9a

+ 10 - 2
src/api/supply.js Visa fil

266
   })
266
   })
267
 }
267
 }
268
 
268
 
269
-export function updatesupply(data) {
269
+export function updatesupply(data,params) {
270
   return request({
270
   return request({
271
-    url: '/api/supply/updatesupply',
271
+    url: '/api/supply/updatesupply?suppliercode=' + params.supplierCode + '&suppliername=' + params.supplierName,
272
     method: 'post',
272
     method: 'post',
273
     data: data
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
 

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 253 - 668
src/xt_pages/hospitalStation/outpatientChargesManagement.vue


+ 1 - 0
src/xt_pages/outpatientCharges/components/chargeDialog.vue Visa fil

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

+ 2 - 2
src/xt_pages/outpatientCharges/components/registerDialog.vue Visa fil

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

+ 2 - 2
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue Visa fil

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

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 1074 - 770
src/xt_pages/supply/components/addGoodOrder.vue


+ 2 - 0
src/xt_pages/supply/components/addGoodReturn.vue Visa fil

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

+ 3 - 3
src/xt_pages/supply/components/addSupply.vue Visa fil

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

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 1197 - 916
src/xt_pages/supply/components/editGoodOrder.vue


Filskillnaden har hållits tillbaka eftersom den är för stor
+ 995 - 782
src/xt_pages/supply/components/editPurchaseOrder.vue