Kaynağa Gözat

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

csx 3 yıl önce
ebeveyn
işleme
acdab90bed

+ 9 - 0
src/xt_pages/data/components/addDrugs.vue Dosyayı Görüntüle

267
                             <el-input v-model="form.medical_insurance_number" style="width:160px;" placeholder=""
267
                             <el-input v-model="form.medical_insurance_number" style="width:160px;" placeholder=""
268
                                       maxlength="30"></el-input>
268
                                       maxlength="30"></el-input>
269
                         </el-form-item>
269
                         </el-form-item>
270
+                      <el-form-item label="省编码 : " prop="provinces_code">
271
+                        <el-input v-model="form.provinces_code" style="width:160px;" placeholder=""
272
+                                  maxlength="30"></el-input>
273
+                      </el-form-item>
270
                         <el-form-item label="生产厂商 : " prop="manufacturer">
274
                         <el-form-item label="生产厂商 : " prop="manufacturer">
271
 
275
 
272
                             <el-select v-model="form.manufacturer" style="width:160px;" filterable placeholder="请选择">
276
                             <el-select v-model="form.manufacturer" style="width:160px;" filterable placeholder="请选择">
543
           drug_dose: '',//药品剂量
547
           drug_dose: '',//药品剂量
544
           drug_dose_unit: '',
548
           drug_dose_unit: '',
545
           medical_insurance_number: '',//医保编号
549
           medical_insurance_number: '',//医保编号
550
+          provinces_code:"",//省编码
546
           manufacturer: '', //生产产商
551
           manufacturer: '', //生产产商
547
           pharmacology_category: '',//药理分类
552
           pharmacology_category: '',//药理分类
548
           statistics_category: '',//统计分类
553
           statistics_category: '',//统计分类
851
         form['drug_dose'] = this.form.drug_dose
856
         form['drug_dose'] = this.form.drug_dose
852
         form['drug_dose_unit'] = this.form.drug_dose_unit
857
         form['drug_dose_unit'] = this.form.drug_dose_unit
853
         form['medical_insurance_number'] = this.form.medical_insurance_number
858
         form['medical_insurance_number'] = this.form.medical_insurance_number
859
+        form['provinces_code'] = this.form.provinces_code
860
+
861
+
862
+
854
         form['manufacturer'] = this.form.manufacturer
863
         form['manufacturer'] = this.form.manufacturer
855
         form['pharmacology_category'] = this.form.pharmacology_category
864
         form['pharmacology_category'] = this.form.pharmacology_category
856
         form['statistics_category'] = this.form.statistics_category
865
         form['statistics_category'] = this.form.statistics_category

+ 3 - 3
src/xt_pages/data/components/addProject.vue Dosyayı Görüntüle

230
                             :value="item.value">
230
                             :value="item.value">
231
                             </el-option>
231
                             </el-option>
232
                         </el-select>
232
                         </el-select>
233
-                    </el-form-item>       
233
+                    </el-form-item>
234
                 </el-form>
234
                 </el-form>
235
             </el-tab-pane>
235
             </el-tab-pane>
236
         </el-tabs>
236
         </el-tabs>
259
             form:{
259
             form:{
260
               project_name:"",
260
               project_name:"",
261
               pinyin:"",
261
               pinyin:"",
262
-              wubi:"", 
263
-              price:"", 
262
+              wubi:"",
263
+              price:"",
264
               unit:"",
264
               unit:"",
265
               cost_classify:"",
265
               cost_classify:"",
266
               executive_section:"",
266
               executive_section:"",

+ 29 - 14
src/xt_pages/data/components/consumables.vue Dosyayı Görüntüle

307
               good_unit:'',
307
               good_unit:'',
308
               retail_price:'',
308
               retail_price:'',
309
               medical_insurance_number:'',
309
               medical_insurance_number:'',
310
+              provinces_code:'',
311
+
310
               is_special_diseases:'',
312
               is_special_diseases:'',
311
               is_record:'',
313
               is_record:'',
312
               statistics_category:'',
314
               statistics_category:'',
598
             this.goodInfo.goodInfoDialog.formValue.medical_insurance_number =
600
             this.goodInfo.goodInfoDialog.formValue.medical_insurance_number =
599
               response.data.data.goodInfo.medical_insurance_number;
601
               response.data.data.goodInfo.medical_insurance_number;
600
 
602
 
603
+            this.goodInfo.goodInfoDialog.formValue.provinces_code =
604
+                response.data.data.goodInfo.provinces_code;
605
+
601
 
606
 
602
             if (response.data.data.goodInfo.is_special_diseases <= 0) {
607
             if (response.data.data.goodInfo.is_special_diseases <= 0) {
603
               this.goodInfo.goodInfoDialog.formValue.is_special_diseases = ''
608
               this.goodInfo.goodInfoDialog.formValue.is_special_diseases = ''
810
         })
815
         })
811
       },
816
       },
812
       goodInfoDialogComfirm: function(val) {
817
       goodInfoDialogComfirm: function(val) {
813
-        
818
+
814
         if (val.isCreated == 2) {
819
         if (val.isCreated == 2) {
815
           //修改
820
           //修改
816
           val['id'] = this.goodInfo.editGoodId;
821
           val['id'] = this.goodInfo.editGoodId;
958
             this.$message.error(response.data.msg);
963
             this.$message.error(response.data.msg);
959
             return false
964
             return false
960
           } else {
965
           } else {
961
-           
966
+
962
             for(let i=0;i<response.data.data.goodType.length;i++){
967
             for(let i=0;i<response.data.data.goodType.length;i++){
963
               this.goodTypeList.push(response.data.data.goodType[i])
968
               this.goodTypeList.push(response.data.data.goodType[i])
964
             }
969
             }
965
- 
970
+
966
             for (let i = 0; i < response.data.data.goodType.length; i++) {
971
             for (let i = 0; i < response.data.data.goodType.length; i++) {
967
               if (response.data.data.goodType[i].type == 1) {
972
               if (response.data.data.goodType[i].type == 1) {
968
                 response.data.data.goodType[i].type_name = response.data.data.goodType[i].type_name + '(系统设定)'
973
                 response.data.data.goodType[i].type_name = response.data.data.goodType[i].type_name + '(系统设定)'
1036
         this.goodInfo.goodInfoDialog.formValue.medical_insurance_level = '';
1041
         this.goodInfo.goodInfoDialog.formValue.medical_insurance_level = '';
1037
         this.goodInfo.goodInfoDialog.formValue.retail_price = '';
1042
         this.goodInfo.goodInfoDialog.formValue.retail_price = '';
1038
         this.goodInfo.goodInfoDialog.formValue.medical_insurance_number = '';
1043
         this.goodInfo.goodInfoDialog.formValue.medical_insurance_number = '';
1044
+        this.goodInfo.goodInfoDialog.formValue.provinces_code = '';
1045
+
1039
         this.goodInfo.goodInfoDialog.formValue.is_special_diseases = '';
1046
         this.goodInfo.goodInfoDialog.formValue.is_special_diseases = '';
1040
         this.goodInfo.goodInfoDialog.formValue.is_record = '';
1047
         this.goodInfo.goodInfoDialog.formValue.is_record = '';
1041
         this.goodInfo.goodInfoDialog.formValue.statistics_category = '';
1048
         this.goodInfo.goodInfoDialog.formValue.statistics_category = '';
1300
               }
1307
               }
1301
            }
1308
            }
1302
 
1309
 
1310
+           if (results[i]['省编码'] === undefined) {
1311
+             obj['provinces_code'] = ''
1312
+           } else {
1313
+             if (key == '省编码') {
1314
+               obj['provinces_code'] = results[i][key].replace(/\s/g,"")
1315
+             }
1316
+           }
1317
+
1303
           if (results[i]['是否特病目录'] === undefined) {
1318
           if (results[i]['是否特病目录'] === undefined) {
1304
                 obj['is_special_diseases'] = ''
1319
                 obj['is_special_diseases'] = ''
1305
               } else {
1320
               } else {
1498
        getInitializtion().then(response=>{
1513
        getInitializtion().then(response=>{
1499
          if(response.data.state == 1){
1514
          if(response.data.state == 1){
1500
            var goodKindList = response.data.data.goodKindList;
1515
            var goodKindList = response.data.data.goodKindList;
1501
-           
1516
+
1502
            this.goodKindList = goodKindList
1517
            this.goodKindList = goodKindList
1503
            var medicalInsuranceLevelList =  response.data.data.medicalInsuranceLevelList
1518
            var medicalInsuranceLevelList =  response.data.data.medicalInsuranceLevelList
1504
            console.log("医保等级",medicalInsuranceLevelList)
1519
            console.log("医保等级",medicalInsuranceLevelList)
1509
       exportList(){
1524
       exportList(){
1510
         import('@/vendor/Export2Excel').then(excel => {
1525
         import('@/vendor/Export2Excel').then(excel => {
1511
          console.log("this.table",this.goodInfo.goodInfoDialog.formValue.goodType)
1526
          console.log("this.table",this.goodInfo.goodInfoDialog.formValue.goodType)
1512
-         
1527
+
1513
          for(let i=0;i<this.goodInfo.goodInfoData.length;i++){
1528
          for(let i=0;i<this.goodInfo.goodInfoData.length;i++){
1514
            for(let j=0;j<this.goodKindList.length;j++){
1529
            for(let j=0;j<this.goodKindList.length;j++){
1515
               if(this.goodInfo.goodInfoData[i].good_kind == this.goodKindList[j].value){
1530
               if(this.goodInfo.goodInfoData[i].good_kind == this.goodKindList[j].value){
1518
            }
1533
            }
1519
            for(let z=0;z<this.goodInfo.goodInfoDialog.formValue.goodType.length;z++){
1534
            for(let z=0;z<this.goodInfo.goodInfoDialog.formValue.goodType.length;z++){
1520
               if(this.goodInfo.goodInfoData[i].good_type_id == this.goodInfo.goodInfoDialog.formValue.goodType[z].id){
1535
               if(this.goodInfo.goodInfoData[i].good_type_id == this.goodInfo.goodInfoDialog.formValue.goodType[z].id){
1521
-                
1536
+
1522
                  this.goodInfo.goodInfoData[i].good_type_name = this.goodInfo.goodInfoDialog.formValue.goodType[z].type_name
1537
                  this.goodInfo.goodInfoData[i].good_type_name = this.goodInfo.goodInfoDialog.formValue.goodType[z].type_name
1523
               }
1538
               }
1524
            }
1539
            }
1534
                 this.goodInfo.goodInfoData[i].manufacturer_name =  this.manufacturers[s].manufacturer_name
1549
                 this.goodInfo.goodInfoData[i].manufacturer_name =  this.manufacturers[s].manufacturer_name
1535
              }
1550
              }
1536
            }
1551
            }
1537
-          
1552
+
1538
           for(let a=0;a<this.dealers.length;a++){
1553
           for(let a=0;a<this.dealers.length;a++){
1539
              if(this.dealers[a].id == this.goodInfo.goodInfoData[i].dealer){
1554
              if(this.dealers[a].id == this.goodInfo.goodInfoData[i].dealer){
1540
-                 this.goodInfo.goodInfoData[i].dealer_name = this.dealers[a].dealer_name 
1541
-             } 
1555
+                 this.goodInfo.goodInfoData[i].dealer_name = this.dealers[a].dealer_name
1556
+             }
1542
           }
1557
           }
1543
          }
1558
          }
1544
          console.log("hhhadhh233323232",this.goodInfo.goodInfoData)
1559
          console.log("hhhadhh233323232",this.goodInfo.goodInfoData)
1545
-       
1560
+
1546
          const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','单位','零价','库存警戒','经销商','最新进价','医保编码','社保目录编码']
1561
          const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','单位','零价','库存警戒','经销商','最新进价','医保编码','社保目录编码']
1547
-         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','packing_price','stock_warn_count','dealer_name','buy_price','medical_insurance_number','social_security_directory_code'] 
1548
-         
1562
+         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','packing_price','stock_warn_count','dealer_name','buy_price','medical_insurance_number','social_security_directory_code']
1563
+
1549
          const data = this.formatJson(filterVal,this.goodInfo.goodInfoData)
1564
          const data = this.formatJson(filterVal,this.goodInfo.goodInfoData)
1550
-     
1565
+
1551
          excel.export_json_to_excel({
1566
          excel.export_json_to_excel({
1552
            header: tHeader,
1567
            header: tHeader,
1553
            data,
1568
            data,
1554
            filename: '耗材信息'
1569
            filename: '耗材信息'
1555
          })
1570
          })
1556
           this.downloadLoading = false
1571
           this.downloadLoading = false
1557
-    
1572
+
1558
         })
1573
         })
1559
        },
1574
        },
1560
        formatJson(filterVal, jsonData) {
1575
        formatJson(filterVal, jsonData) {

+ 29 - 16
src/xt_pages/data/components/drugs.vue Dosyayı Görüntüle

96
           </div>
96
           </div>
97
         </template>
97
         </template>
98
       </el-table-column>
98
       </el-table-column>
99
-  
99
+
100
       <el-table-column prop="date" label="进货价" width="100" align="center">
100
       <el-table-column prop="date" label="进货价" width="100" align="center">
101
         <template slot-scope="scope">
101
         <template slot-scope="scope">
102
           <div>{{scope.row.last_price}}</div>
102
           <div>{{scope.row.last_price}}</div>
103
         </template>
103
         </template>
104
       </el-table-column>
104
       </el-table-column>
105
-     
105
+
106
       <el-table-column label="拆零零售价" width="100" align="center">
106
       <el-table-column label="拆零零售价" width="100" align="center">
107
         <template slot-scope="scope">
107
         <template slot-scope="scope">
108
           <div>{{scope.row.min_price}}</div>
108
           <div>{{scope.row.min_price}}</div>
296
           drug_dose: '',//药品剂量
296
           drug_dose: '',//药品剂量
297
           drug_dose_unit: '',
297
           drug_dose_unit: '',
298
           medical_insurance_number: '',//医保编号
298
           medical_insurance_number: '',//医保编号
299
+          provinces_code:'',//省编码
299
           manufacturer: '', //生产产商
300
           manufacturer: '', //生产产商
300
           pharmacology_category: '',//药理分类
301
           pharmacology_category: '',//药理分类
301
           statistics_category: '',//统计分类
302
           statistics_category: '',//统计分类
349
           drug_dose: '',//药品剂量
350
           drug_dose: '',//药品剂量
350
           drug_dose_unit: '',
351
           drug_dose_unit: '',
351
           medical_insurance_number: '',//医保编号
352
           medical_insurance_number: '',//医保编号
353
+          provinces_code:"",
352
           manufacturer: '', //生产产商
354
           manufacturer: '', //生产产商
353
           pharmacology_category: '',//药理分类
355
           pharmacology_category: '',//药理分类
354
           statistics_category: '',//统计分类
356
           statistics_category: '',//统计分类
705
                  this.formValue.drug_classify = ""
707
                  this.formValue.drug_classify = ""
706
               }
708
               }
707
 
709
 
708
-              
710
+
709
 
711
 
710
               this.$refs.addDrugs.show(id, this.formValue)
712
               this.$refs.addDrugs.show(id, this.formValue)
711
 
713
 
970
            console.log("isHasMinUnit",isHasMinUnit)
972
            console.log("isHasMinUnit",isHasMinUnit)
971
           var isHasPackingUnit = header.includes('*包装单位')
973
           var isHasPackingUnit = header.includes('*包装单位')
972
           console.log("isHasPackingUnit",isHasPackingUnit)
974
           console.log("isHasPackingUnit",isHasPackingUnit)
973
-        
975
+
974
           var isHasDrugType =  header.includes('*药品类型');
976
           var isHasDrugType =  header.includes('*药品类型');
975
           console.log("isHasDrugType",isHasDrugType)
977
           console.log("isHasDrugType",isHasDrugType)
976
           var isHasDrugStockLimit =  header.includes('*库存警戒');
978
           var isHasDrugStockLimit =  header.includes('*库存警戒');
979
           console.log("isHasDrugOriginPlace",isHasDrugOriginPlace)
981
           console.log("isHasDrugOriginPlace",isHasDrugOriginPlace)
980
           var isHasDrugDosageForm = header.includes('*药品剂型');
982
           var isHasDrugDosageForm = header.includes('*药品剂型');
981
           console.log("isHasDrugDosageForm",isHasDrugDosageForm)
983
           console.log("isHasDrugDosageForm",isHasDrugDosageForm)
982
-         
984
+
983
           var isHasRetailPrice = header.includes('*拆零零售价');
985
           var isHasRetailPrice = header.includes('*拆零零售价');
984
           console.log("isHasRetailPrice",isHasRetailPrice)
986
           console.log("isHasRetailPrice",isHasRetailPrice)
985
           var isHasPackingPrice= header.includes('*包装零售价');
987
           var isHasPackingPrice= header.includes('*包装零售价');
986
           console.log("isHasLastPrice",isHasPackingPrice)
988
           console.log("isHasLastPrice",isHasPackingPrice)
987
           var isHasLastPrice = header.includes('*进货价');
989
           var isHasLastPrice = header.includes('*进货价');
988
           console.log("进货价",isHasLastPrice)
990
           console.log("进货价",isHasLastPrice)
989
-          
991
+
990
           var isHasDrugClassifye = header.includes('*药物分类');
992
           var isHasDrugClassifye = header.includes('*药物分类');
991
          console.log("isHasDrugClassifye",isHasDrugClassifye)
993
          console.log("isHasDrugClassifye",isHasDrugClassifye)
992
          var isHasManufacturer = header.includes('*生产厂商');
994
          var isHasManufacturer = header.includes('*生产厂商');
997
          console.log("isDrugDoseUnit",isDrugDoseUnit)
999
          console.log("isDrugDoseUnit",isDrugDoseUnit)
998
           if (!(isHasDrugName  && isHasDosage && isHasMaxUnit && isHasUnval && isHasMinUnit && isHasPackingUnit && isHasDrugType &&  isHasDrugStockLimit && isHasDrugOriginPlace &&
1000
           if (!(isHasDrugName  && isHasDosage && isHasMaxUnit && isHasUnval && isHasMinUnit && isHasPackingUnit && isHasDrugType &&  isHasDrugStockLimit && isHasDrugOriginPlace &&
999
           isHasDrugDosageForm &&  isHasRetailPrice && isHasPackingPrice && isHasLastPrice && isHasDrugClassifye && isHasManufacturer && isHasDrugDose && isDrugDoseUnit)) {
1001
           isHasDrugDosageForm &&  isHasRetailPrice && isHasPackingPrice && isHasLastPrice && isHasDrugClassifye && isHasManufacturer && isHasDrugDose && isDrugDoseUnit)) {
1000
-           
1002
+
1001
             this.dialogVisible = true;
1003
             this.dialogVisible = true;
1002
             return
1004
             return
1003
           }
1005
           }
1037
            }
1039
            }
1038
 
1040
 
1039
 
1041
 
1040
-  
1042
+
1041
           if (results[i]['*拆零'] === undefined) {
1043
           if (results[i]['*拆零'] === undefined) {
1042
                 obj['min_number'] = ''
1044
                 obj['min_number'] = ''
1043
               } else {
1045
               } else {
1251
               }
1253
               }
1252
            }
1254
            }
1253
 
1255
 
1256
+           if (results[i]['省编码'] === undefined) {
1257
+             obj['provinces_code'] = ''
1258
+           } else {
1259
+             if (key == '省编码') {
1260
+               obj['provinces_code'] = results[i][key].replace(/\s/g,"")
1261
+             }
1262
+           }
1263
+
1264
+
1265
+
1266
+
1254
             if (results[i]['药理分类'] === undefined) {
1267
             if (results[i]['药理分类'] === undefined) {
1255
                 obj['pharmacology_category'] = ''
1268
                 obj['pharmacology_category'] = ''
1256
               } else {
1269
               } else {
1415
           'drugs':tableData
1428
           'drugs':tableData
1416
         };
1429
         };
1417
         console.log("params222222222",params)
1430
         console.log("params222222222",params)
1418
-        
1431
+
1419
         postDrugInformation(params).then(response=>{
1432
         postDrugInformation(params).then(response=>{
1420
            if(response.data.state == 1){
1433
            if(response.data.state == 1){
1421
              var msg =  response.data.data.msg;
1434
              var msg =  response.data.data.msg;
1485
 
1498
 
1486
       exportList(){
1499
       exportList(){
1487
          import('@/vendor/Export2Excel').then(excel => {
1500
          import('@/vendor/Export2Excel').then(excel => {
1488
-         
1489
-        
1501
+
1502
+
1490
          console.log("this.table",this.list)
1503
          console.log("this.table",this.list)
1491
 
1504
 
1492
          for(let i=0;i<this.list.length;i++){
1505
          for(let i=0;i<this.list.length;i++){
1493
           for(let j=0;j<this.drugCategoryList.length;j++){
1506
           for(let j=0;j<this.drugCategoryList.length;j++){
1494
               if(this.list[i].drug_category == this.drugCategoryList[j].value){
1507
               if(this.list[i].drug_category == this.drugCategoryList[j].value){
1495
                  this.list[i].drug_category_name = this.drugCategoryList[j].name
1508
                  this.list[i].drug_category_name = this.drugCategoryList[j].name
1496
-              }  
1509
+              }
1497
           }
1510
           }
1498
            for(let z=0;z<this.drugDosageFormList.length;z++){
1511
            for(let z=0;z<this.drugDosageFormList.length;z++){
1499
               if(this.list[i].drug_dosage_form == this.drugDosageFormList[z].value){
1512
               if(this.list[i].drug_dosage_form == this.drugDosageFormList[z].value){
1525
          }
1538
          }
1526
 
1539
 
1527
          const tHeader = ['药品名称','药品规格','剂量','剂量单位','拆零','拆零单位','包装单位','药品类型','库存警戒','产地','药品剂型','拆零零售价','包装零售价','进货价','药物分类','默认单次用量','默认单次用量单位','生产厂商','经销商','医保编码','社保目录编码']
1540
          const tHeader = ['药品名称','药品规格','剂量','剂量单位','拆零','拆零单位','包装单位','药品类型','库存警戒','产地','药品剂型','拆零零售价','包装零售价','进货价','药物分类','默认单次用量','默认单次用量单位','生产厂商','经销商','医保编码','社保目录编码']
1528
-         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','medical_insurance_number','social_security_directory_code'] 
1529
-         
1541
+         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','medical_insurance_number','social_security_directory_code']
1542
+
1530
          const data = this.formatJson(filterVal,this.list)
1543
          const data = this.formatJson(filterVal,this.list)
1531
-     
1544
+
1532
          excel.export_json_to_excel({
1545
          excel.export_json_to_excel({
1533
            header: tHeader,
1546
            header: tHeader,
1534
            data,
1547
            data,
1535
            filename: '药品信息'
1548
            filename: '药品信息'
1536
          })
1549
          })
1537
           this.downloadLoading = false
1550
           this.downloadLoading = false
1538
-    
1551
+
1539
         })
1552
         })
1540
        },
1553
        },
1541
        formatJson(filterVal, jsonData) {
1554
        formatJson(filterVal, jsonData) {

+ 5 - 2
src/xt_pages/hospitalStation/chargeDetailManagement.vue Dosyayı Görüntüle

1149
                 fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,
1149
                 fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,
1150
                 overlmt_amt: prescription.advices[b].order_info.overlmt_amt,
1150
                 overlmt_amt: prescription.advices[b].order_info.overlmt_amt,
1151
                 preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
1151
                 preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
1152
-                inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt
1152
+                inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt,
1153
+                execution_state: prescription.advices[b].execution_state,
1153
 
1154
 
1154
               }
1155
               }
1155
               tempAdvice.push(obj)
1156
               tempAdvice.push(obj)
1175
                 fulamt_ownpay_amt: prescription.project[b].order_info.fulamt_ownpay_amt,
1176
                 fulamt_ownpay_amt: prescription.project[b].order_info.fulamt_ownpay_amt,
1176
                 overlmt_amt: prescription.project[b].order_info.overlmt_amt,
1177
                 overlmt_amt: prescription.project[b].order_info.overlmt_amt,
1177
                 preselfpay_amt: prescription.project[b].order_info.preselfpay_amt,
1178
                 preselfpay_amt: prescription.project[b].order_info.preselfpay_amt,
1178
-                inscp_scp_amt: prescription.project[b].order_info.inscp_scp_amt
1179
+                inscp_scp_amt: prescription.project[b].order_info.inscp_scp_amt,
1180
+                execution_state: prescription.project[b].execution_state,
1181
+
1179
 
1182
 
1180
               }
1183
               }
1181
 
1184
 

+ 13 - 0
src/xt_pages/hospitalStation/components/ChargePrescriptionTable.vue Dosyayı Görüntüle

48
       </el-table-column>
48
       </el-table-column>
49
 
49
 
50
 
50
 
51
+      <el-table-column align="center" prop="name" width="60" label="执行状态">
52
+        <template slot-scope="scope">
53
+          <div> {{scope.row.execution_state == 1?'已执行':'未执行'}}</div>
54
+        </template>
55
+      </el-table-column>
56
+
57
+
51
 
58
 
52
       <el-table-column align="center" prop="name" width="60" label="医保编码">
59
       <el-table-column align="center" prop="name" width="60" label="医保编码">
53
         <template slot-scope="scope">
60
         <template slot-scope="scope">
170
         </template>
177
         </template>
171
       </el-table-column>
178
       </el-table-column>
172
 
179
 
180
+      <el-table-column align="center" prop="name" width="60" label="执行状态">
181
+        <template slot-scope="scope">
182
+          <div> {{scope.row.execution_state == 1?'已执行':'未执行'}}</div>
183
+        </template>
184
+      </el-table-column>
185
+
173
 
186
 
174
 
187
 
175
 
188
 

+ 1 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue Dosyayı Görüntüle

1619
       return total
1619
       return total
1620
 
1620
 
1621
     },
1621
     },
1622
-    getTotalTwo() {
1622
+    getTotalTwo() {de
1623
       var total = 0
1623
       var total = 0
1624
       for (let i = 0; i < this.month_prescriptions.length; i++) {
1624
       for (let i = 0; i < this.month_prescriptions.length; i++) {
1625
 
1625
 

+ 23 - 2
src/xt_pages/hospitalStation/index.vue Dosyayı Görüntüle

73
                         </el-select>
73
                         </el-select>
74
                     </el-form-item>
74
                     </el-form-item>
75
 
75
 
76
+                  <el-form-item label="参保地:">
77
+                    <el-select v-model="form.insuplc_admdvs" placeholder="请选择" style="width:100%;">
78
+                      <el-option
79
+                          v-for="item in InsuplcAdmdvs"
80
+                          :key="item.value"
81
+                          :label="item.label"
82
+                          :value="item.value">
83
+                      </el-option>
84
+                    </el-select>
85
+                  </el-form-item>
86
+
76
                     <!--<el-form-item class="specialFormItem" label="医保卡号:">-->
87
                     <!--<el-form-item class="specialFormItem" label="医保卡号:">-->
77
                     <!--<div style="display:flex;">-->
88
                     <!--<div style="display:flex;">-->
78
                     <!--<el-input v-model="form.medicalInsuranceCard"></el-input>-->
89
                     <!--<el-input v-model="form.medicalInsuranceCard"></el-input>-->
277
           phone: '',
288
           phone: '',
278
           id_card_type: 2,
289
           id_card_type: 2,
279
           med_type: '',
290
           med_type: '',
280
-          settlement_value: 1
291
+          settlement_value: 1,
292
+          insuplc_admdvs:''
281
 
293
 
282
         },
294
         },
283
 
295
 
442
                 }).then(() => {
454
                 }).then(() => {
443
 
455
 
444
 
456
 
457
+
445
                 }).catch(() => {
458
                 }).catch(() => {
446
                 })
459
                 })
447
               } else {
460
               } else {
448
                 // console.log(parseNumber(response.data.data.info.output.insuinfo.psn_type))
461
                 // console.log(parseNumber(response.data.data.info.output.insuinfo.psn_type))
449
                 // console.log(parseNumber(response.data.data.insutype))
462
                 // console.log(parseNumber(response.data.data.insutype))
463
+                for(let i =0; i < response.data.data.info.output.insuinfo.length; i++){
464
+                  that.InsuplcAdmdvs.push({
465
+                    value:response.data.data.info.output.insuinfo[i].insuplc_admdvs,
466
+                    label:response.data.data.info.output.insuinfo[i].insuplc_admdvs,
467
+                  })
468
+
469
+                }
450
 
470
 
451
                 that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
471
                 that.form.psn_type = parseInt(response.data.data.info.output.insuinfo[0].psn_type)
452
                 that.form.social_type = parseInt(response.data.data.insutype)
472
                 that.form.social_type = parseInt(response.data.data.insutype)
693
               start_time: this.form.start_time,
713
               start_time: this.form.start_time,
694
               social_type: this.form.social_type,
714
               social_type: this.form.social_type,
695
               psn_type: this.form.psn_type,
715
               psn_type: this.form.psn_type,
696
-              balance_accounts_type: this.form.settlement_value
716
+              balance_accounts_type: this.form.settlement_value,
717
+              insuplc_admdvs: this.form.insuplc_admdvs
697
 
718
 
698
             }
719
             }
699
             params['record_time'] = this.record_date
720
             params['record_time'] = this.record_date

+ 11 - 0
src/xt_pages/outpatientCharges/components/prescriptionTable.vue Dosyayı Görüntüle

47
         </template>
47
         </template>
48
       </el-table-column>
48
       </el-table-column>
49
 
49
 
50
+      <el-table-column align="center" prop="name" width="60" label="执行状态">
51
+        <template slot-scope="scope">
52
+          <div> {{scope.row.execution_state == 1 ? '已执行':'未执行'}}</div>
53
+        </template>
54
+      </el-table-column>
55
+
50
 
56
 
51
       <el-table-column align="center" prop="name" width="120" label="医保编码">
57
       <el-table-column align="center" prop="name" width="120" label="医保编码">
52
         <template slot-scope="scope">
58
         <template slot-scope="scope">
150
         <template slot-scope="scope">{{scope.row.price}}元</template>
156
         <template slot-scope="scope">{{scope.row.price}}元</template>
151
       </el-table-column>
157
       </el-table-column>
152
 
158
 
159
+      <el-table-column align="center" prop="name" width="60" label="执行状态">
160
+        <template slot-scope="scope">
161
+          <div> {{scope.row.execution_state == 1 ? '已执行':'未执行'}}</div>
162
+        </template>
163
+      </el-table-column>
153
 
164
 
154
 
165
 
155
       <el-table-column align="center" prop="name" width="120" label="医保编码">
166
       <el-table-column align="center" prop="name" width="120" label="医保编码">

+ 64 - 0
src/xt_pages/outpatientCharges/components/registerDialog.vue Dosyayı Görüntüle

110
       <!--</el-select>-->
110
       <!--</el-select>-->
111
       <!--</el-form-item>-->
111
       <!--</el-form-item>-->
112
 
112
 
113
+      <el-form-item label="参保地:">
114
+        <el-select v-model="form.insuplc_admdvs" placeholder="请选择" style="width:100%;">
115
+          <el-option
116
+              v-for="item in InsuplcAdmdvs"
117
+              :key="item.value"
118
+              :label="item.label"
119
+              :value="item.value">
120
+          </el-option>
121
+        </el-select>
122
+      </el-form-item>
123
+
124
+
113
 
125
 
114
       <el-form-item label="结算类型:">
126
       <el-form-item label="结算类型:">
115
         <el-select v-model="form.settlement_value" placeholder="请选择" style="width:100%;">
127
         <el-select v-model="form.settlement_value" placeholder="请选择" style="width:100%;">
247
 
259
 
248
         form: {
260
         form: {
249
           id: '',
261
           id: '',
262
+          insuplc_admdvs:'',
250
           settlement_value: 1,
263
           settlement_value: 1,
251
           medical_insurance_card: '',
264
           medical_insurance_card: '',
252
           name: '',
265
           name: '',
288
           { value: 7, label: '合同' },
301
           { value: 7, label: '合同' },
289
           {value: 8, label: '医保自费'},
302
           {value: 8, label: '医保自费'},
290
 
303
 
304
+        ],InsuplcAdmdvs:[
291
         ],
305
         ],
292
         sex: [{
306
         sex: [{
293
           value: 1,
307
           value: 1,
544
           '-' +
558
           '-' +
545
           birth.substr(6, 2)
559
           birth.substr(6, 2)
546
         this.form.age = jsGetAge(births, '-')
560
         this.form.age = jsGetAge(births, '-')
561
+
562
+
563
+
564
+        var that = this
565
+        let params={
566
+          id_card_no: this.form.id_card,
567
+          admin_user_id:this.$store.getters.xt_user.user.id,
568
+
569
+        }
570
+        axios.get('http://127.0.0.1:9532/zh/api/patient/info', {
571
+          params: params,
572
+          headers: {
573
+            'Permission': 5
574
+          }
575
+        })
576
+            .then(function(response) {
577
+              if (response.data.state == 0) {
578
+                that.$message.error(response.data.msg)
579
+                that.loadingone = false
580
+                return false
581
+              } else {
582
+                that.loadingone = false
583
+                if (response.data.data.failed_code == -10) {
584
+                  // that.$message.error(response.data.data.msg)
585
+                  that.$confirm(response.data.data.msg, '医保错误信息', {
586
+                    confirmButtonText: '确 定',
587
+                    type: 'warning'
588
+                  }).then(() => {
589
+
590
+                  }).catch(() => {
591
+                  })
592
+                } else {
593
+                  for(let i =0; i < response.data.data.info.output.insuinfo.length; i++){
594
+                    that.InsuplcAdmdvs.push({
595
+                      value:response.data.data.info.output.insuinfo[i].insuplc_admdvs,
596
+                      label:response.data.data.info.output.insuinfo[i].insuplc_admdvs,
597
+                    })
598
+
599
+                  }
600
+
601
+
602
+                  that.form.social_type = parseInt(response.data.data.insutype)
603
+                }
604
+              }
605
+            })
606
+            .catch(function(error) {
607
+
608
+            })
609
+
547
       },
610
       },
548
       querySearchAsync(keyword, cb) {
611
       querySearchAsync(keyword, cb) {
549
         let key = ''
612
         let key = ''
630
         this.form.cost = ''
693
         this.form.cost = ''
631
         this.form.phone = ''
694
         this.form.phone = ''
632
         this.form.social_type = ''
695
         this.form.social_type = ''
696
+        this.form.insuplc_admdvs =''
633
 
697
 
634
         this.form.p_type = 14
698
         this.form.p_type = 14
635
         this.form.sick_type = this.sick[0].id
699
         this.form.sick_type = this.sick[0].id

+ 10 - 3
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Dosyayı Görüntüle

1232
                 prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1232
                 prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1233
                 medical_insurance_number: prescription.advices[b].med_list_codg,
1233
                 medical_insurance_number: prescription.advices[b].med_list_codg,
1234
 
1234
 
1235
+
1235
                 code: prescription.advices[b].drug.medical_insurance_number,
1236
                 code: prescription.advices[b].drug.medical_insurance_number,
1236
                 spec: spec,
1237
                 spec: spec,
1237
                 det_item_fee_sumamt: prescription.advices[b].order_info.det_item_fee_sumamt,
1238
                 det_item_fee_sumamt: prescription.advices[b].order_info.det_item_fee_sumamt,
1239
                 fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,
1240
                 fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,
1240
                 overlmt_amt: prescription.advices[b].order_info.overlmt_amt,
1241
                 overlmt_amt: prescription.advices[b].order_info.overlmt_amt,
1241
                 preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
1242
                 preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
1242
-                inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt
1243
+                inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt,
1244
+                execution_state: prescription.advices[b].execution_state,
1243
 
1245
 
1244
               }
1246
               }
1245
               tempAdvice.push(obj)
1247
               tempAdvice.push(obj)
1267
                 fulamt_ownpay_amt: prescription.project[b].order_info.fulamt_ownpay_amt,
1269
                 fulamt_ownpay_amt: prescription.project[b].order_info.fulamt_ownpay_amt,
1268
                 overlmt_amt: prescription.project[b].order_info.overlmt_amt,
1270
                 overlmt_amt: prescription.project[b].order_info.overlmt_amt,
1269
                 preselfpay_amt: prescription.project[b].order_info.preselfpay_amt,
1271
                 preselfpay_amt: prescription.project[b].order_info.preselfpay_amt,
1270
-                inscp_scp_amt: prescription.project[b].order_info.inscp_scp_amt
1272
+                inscp_scp_amt: prescription.project[b].order_info.inscp_scp_amt,
1273
+
1274
+                execution_state: prescription.project[b].execution_state,
1275
+
1271
 
1276
 
1272
               }
1277
               }
1273
 
1278
 
3611
                       fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,
3616
                       fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,
3612
                       overlmt_amt: prescription.advices[b].order_info.overlmt_amt,
3617
                       overlmt_amt: prescription.advices[b].order_info.overlmt_amt,
3613
                       preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
3618
                       preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
3614
-                      inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt
3619
+                      inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt,
3620
+                      execution_state:prescription.advices[b].execution_state,
3615
 
3621
 
3616
                     }
3622
                     }
3617
                     tempAdvice.push(obj)
3623
                     tempAdvice.push(obj)
3634
                       // medical_code: prescription.project[b].project.medical_code,
3640
                       // medical_code: prescription.project[b].project.medical_code,
3635
                       unit: prescription.project[b].unit,
3641
                       unit: prescription.project[b].unit,
3636
                       type: prescription.project[b].type,
3642
                       type: prescription.project[b].type,
3643
+                      execution_state:prescription.project[b].execution_state,
3637
 
3644
 
3638
                       det_item_fee_sumamt: prescription.project[b].order_info.det_item_fee_sumamt,
3645
                       det_item_fee_sumamt: prescription.project[b].order_info.det_item_fee_sumamt,
3639
                       fulamt_ownpay_amt: prescription.project[b].order_info.fulamt_ownpay_amt,
3646
                       fulamt_ownpay_amt: prescription.project[b].order_info.fulamt_ownpay_amt,

+ 6 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Dosyayı Görüntüle

2296
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2296
                   this.prescriptions[i].addition[b].count = this.prescriptions[i].addition[b].count.toString()
2297
                 }
2297
                 }
2298
               }
2298
               }
2299
-            
2299
+
2300
               let data = {
2300
               let data = {
2301
                 'prescriptions': this.prescriptions
2301
                 'prescriptions': this.prescriptions
2302
               }
2302
               }
2864
                   medical_insurance_number: temp[b].medical_insurance_number,
2864
                   medical_insurance_number: temp[b].medical_insurance_number,
2865
                   drug: temp[b],
2865
                   drug: temp[b],
2866
                   groupno: index + temp_index,
2866
                   groupno: index + temp_index,
2867
-                  hosp_appr_flag: '1'
2867
+                  hosp_appr_flag: '1',
2868
+                  execution_state:2,
2868
                 }
2869
                 }
2869
 
2870
 
2870
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
2871
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {
2893
                   remark: '',
2894
                   remark: '',
2894
                   medical_code: temp2[b].medical_code,
2895
                   medical_code: temp2[b].medical_code,
2895
                   unit: temp2[b].unit,
2896
                   unit: temp2[b].unit,
2896
-                  type: temp2[b].type
2897
+                  type: temp2[b].type,
2898
+                  execution_state:2,
2899
+
2897
                 }
2900
                 }
2898
 
2901
 
2899
                 if (temp2[b].type == 2){
2902
                 if (temp2[b].type == 2){

+ 69 - 24
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Dosyayı Görüntüle

983
             // price = price + project_month_prescriptions.project[a].price
983
             // price = price + project_month_prescriptions.project[a].price
984
             obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
984
             obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
985
 
985
 
986
+
987
+
988
+
986
           }
989
           }
987
         }
990
         }
988
         obj['total'] = count
991
         obj['total'] = count
1445
                   id: prescription.advices[b].drug_id,
1448
                   id: prescription.advices[b].drug_id,
1446
                   drug: prescription.advices[b].drug,
1449
                   drug: prescription.advices[b].drug,
1447
                   groupno: prescription.advices[b].groupno,
1450
                   groupno: prescription.advices[b].groupno,
1448
-                  hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString()
1451
+                  hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
1452
+                  execution_state: prescription.advices[b].execution_state,
1449
 
1453
 
1450
                 }
1454
                 }
1451
                 tempAdvice.push(obj)
1455
                 tempAdvice.push(obj)
1467
                   remark: prescription.project[b].remark,
1471
                   remark: prescription.project[b].remark,
1468
                   medical_code: prescription.project[b].project.medical_code,
1472
                   medical_code: prescription.project[b].project.medical_code,
1469
                   unit: prescription.project[b].project.unit,
1473
                   unit: prescription.project[b].project.unit,
1470
-                  type: prescription.project[b].type
1474
+                  type: prescription.project[b].type,
1475
+                  execution_state: prescription.project[b].execution_state,
1476
+
1471
 
1477
 
1472
                 }
1478
                 }
1473
 
1479
 
1575
                     id: prescription.advices[b].drug_id,
1581
                     id: prescription.advices[b].drug_id,
1576
                     drug: prescription.advices[b].drug,
1582
                     drug: prescription.advices[b].drug,
1577
                     groupno: prescription.advices[b].groupno,
1583
                     groupno: prescription.advices[b].groupno,
1578
-                    hosp_appr_flag: '1'
1584
+                    hosp_appr_flag: '1',
1585
+                    execution_state: 2,
1586
+
1579
 
1587
 
1580
                   }
1588
                   }
1581
 
1589
 
1620
                     remark: prescription.project[b].remark,
1628
                     remark: prescription.project[b].remark,
1621
                     medical_code: prescription.project[b].project.medical_code,
1629
                     medical_code: prescription.project[b].project.medical_code,
1622
                     unit: prescription.project[b].project.unit,
1630
                     unit: prescription.project[b].project.unit,
1623
-                    type: prescription.project[b].type
1631
+                    type: prescription.project[b].type,
1632
+                    execution_state: 2,
1624
 
1633
 
1625
                   }
1634
                   }
1626
 
1635
 
1845
                         id: prescription.advices[b].drug_id,
1854
                         id: prescription.advices[b].drug_id,
1846
                         drug: prescription.advices[b].drug,
1855
                         drug: prescription.advices[b].drug,
1847
                         groupno: prescription.advices[b].groupno,
1856
                         groupno: prescription.advices[b].groupno,
1848
-                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString()
1857
+                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
1858
+                        execution_state: prescription.advices[b].execution_state,
1859
+
1849
 
1860
 
1850
                       }
1861
                       }
1851
                       tempAdvice.push(obj)
1862
                       tempAdvice.push(obj)
1867
                         remark: prescription.project[b].remark,
1878
                         remark: prescription.project[b].remark,
1868
                         medical_code: prescription.project[b].project.medical_code,
1879
                         medical_code: prescription.project[b].project.medical_code,
1869
                         unit: prescription.project[b].project.unit,
1880
                         unit: prescription.project[b].project.unit,
1870
-                        type: prescription.project[b].type
1881
+                        type: prescription.project[b].type,
1882
+                        execution_state: prescription.project[b].execution_state,
1871
                       }
1883
                       }
1872
 
1884
 
1873
                       if (prescription.project[b].type == 2) {
1885
                       if (prescription.project[b].type == 2) {
1977
                           drug: prescription.advices[b].drug,
1989
                           drug: prescription.advices[b].drug,
1978
                           groupno: prescription.advices[b].groupno,
1990
                           groupno: prescription.advices[b].groupno,
1979
 
1991
 
1980
-                          hosp_appr_flag: '1'
1992
+                          hosp_appr_flag: '1',
1993
+                          execution_state: 2,
1994
+
1981
 
1995
 
1982
                         }
1996
                         }
1983
                         console.log('看看数据1:')
1997
                         console.log('看看数据1:')
2021
                           remark: prescription.project[b].remark,
2035
                           remark: prescription.project[b].remark,
2022
                           medical_code: prescription.project[b].project.medical_code,
2036
                           medical_code: prescription.project[b].project.medical_code,
2023
                           unit: prescription.project[b].project.unit,
2037
                           unit: prescription.project[b].project.unit,
2024
-                          type: prescription.project[b].type
2038
+                          type: prescription.project[b].type,
2039
+                          execution_state: 2,
2025
 
2040
 
2026
                         }
2041
                         }
2027
 
2042
 
2344
                         id: prescription.advices[b].drug_id,
2359
                         id: prescription.advices[b].drug_id,
2345
                         drug: prescription.advices[b].drug,
2360
                         drug: prescription.advices[b].drug,
2346
                         groupno: prescription.advices[b].groupno,
2361
                         groupno: prescription.advices[b].groupno,
2347
-                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString()
2362
+                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2363
+                        execution_state: prescription.advices[b].execution_state,
2348
 
2364
 
2349
                       }
2365
                       }
2350
                       tempAdvice.push(obj)
2366
                       tempAdvice.push(obj)
2365
                         remark: prescription.project[b].remark,
2381
                         remark: prescription.project[b].remark,
2366
                         medical_code: prescription.project[b].project.medical_code,
2382
                         medical_code: prescription.project[b].project.medical_code,
2367
                         unit: prescription.project[b].project.unit,
2383
                         unit: prescription.project[b].project.unit,
2368
-                        type: prescription.project[b].type
2384
+                        type: prescription.project[b].type,
2385
+                        execution_state: prescription.project[b].execution_state,
2386
+
2369
                       }
2387
                       }
2370
 
2388
 
2371
                       if (prescription.project[b].type == 2) {
2389
                       if (prescription.project[b].type == 2) {
2469
                           drug: prescription.advices[b].drug,
2487
                           drug: prescription.advices[b].drug,
2470
                           groupno: prescription.advices[b].groupno,
2488
                           groupno: prescription.advices[b].groupno,
2471
 
2489
 
2472
-                          hosp_appr_flag: '1'
2490
+                          hosp_appr_flag: '1',
2491
+                          execution_state: 2,
2492
+
2473
 
2493
 
2474
                         }
2494
                         }
2475
                         console.log('看看数据2:')
2495
                         console.log('看看数据2:')
2511
                           remark: prescription.project[b].remark,
2531
                           remark: prescription.project[b].remark,
2512
                           medical_code: prescription.project[b].project.medical_code,
2532
                           medical_code: prescription.project[b].project.medical_code,
2513
                           unit: prescription.project[b].project.unit,
2533
                           unit: prescription.project[b].project.unit,
2514
-                          type: prescription.project[b].type
2534
+                          type: prescription.project[b].type,
2535
+                          execution_state: 2,
2536
+
2515
                         }
2537
                         }
2516
 
2538
 
2517
                         if (prescription.project[b].type == 2) {
2539
                         if (prescription.project[b].type == 2) {
2823
                       id: prescription.advices[b].drug_id,
2845
                       id: prescription.advices[b].drug_id,
2824
                       drug: prescription.advices[b].drug,
2846
                       drug: prescription.advices[b].drug,
2825
                       groupno: prescription.advices[b].groupno,
2847
                       groupno: prescription.advices[b].groupno,
2826
-                      hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString()
2848
+                      hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2849
+                      execution_state: prescription.advices[b].execution_state
2850
+
2827
 
2851
 
2828
                     }
2852
                     }
2829
                     tempAdvice.push(obj)
2853
                     tempAdvice.push(obj)
2844
                       remark: prescription.project[b].remark,
2868
                       remark: prescription.project[b].remark,
2845
                       medical_code: prescription.project[b].project.medical_code,
2869
                       medical_code: prescription.project[b].project.medical_code,
2846
                       unit: prescription.project[b].project.unit,
2870
                       unit: prescription.project[b].project.unit,
2847
-                      type: prescription.project[b].type
2871
+                      type: prescription.project[b].type,
2872
+                      execution_state: prescription.project[b].execution_state
2873
+
2848
                     }
2874
                     }
2849
 
2875
 
2850
                     if (prescription.project[b].type == 2) {
2876
                     if (prescription.project[b].type == 2) {
2948
                         drug: prescription.advices[b].drug,
2974
                         drug: prescription.advices[b].drug,
2949
                         groupno: prescription.advices[b].groupno,
2975
                         groupno: prescription.advices[b].groupno,
2950
 
2976
 
2951
-                        hosp_appr_flag: '1'
2977
+                        hosp_appr_flag: '1',
2978
+                        execution_state: 2
2979
+
2952
 
2980
 
2953
                       }
2981
                       }
2954
                       console.log('看看数据3:')
2982
                       console.log('看看数据3:')
2990
                         remark: prescription.project[b].remark,
3018
                         remark: prescription.project[b].remark,
2991
                         medical_code: prescription.project[b].project.medical_code,
3019
                         medical_code: prescription.project[b].project.medical_code,
2992
                         unit: prescription.project[b].project.unit,
3020
                         unit: prescription.project[b].project.unit,
2993
-                        type: prescription.project[b].type
3021
+                        type: prescription.project[b].type,
3022
+                        execution_state: 2
3023
+
2994
                       }
3024
                       }
2995
 
3025
 
2996
                       if (prescription.project[b].type == 2) {
3026
                       if (prescription.project[b].type == 2) {
3362
                         id: prescription.advices[b].drug_id,
3392
                         id: prescription.advices[b].drug_id,
3363
                         drug: prescription.advices[b].drug,
3393
                         drug: prescription.advices[b].drug,
3364
                         groupno: prescription.advices[b].groupno,
3394
                         groupno: prescription.advices[b].groupno,
3365
-                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString()
3395
+                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3396
+                        execution_state: prescription.advices[b].execution_state
3397
+
3366
 
3398
 
3367
                       }
3399
                       }
3368
                       tempAdvice.push(obj)
3400
                       tempAdvice.push(obj)
3383
                         remark: prescription.project[b].remark,
3415
                         remark: prescription.project[b].remark,
3384
                         medical_code: prescription.project[b].project.medical_code,
3416
                         medical_code: prescription.project[b].project.medical_code,
3385
                         unit: prescription.project[b].project.unit,
3417
                         unit: prescription.project[b].project.unit,
3386
-                        type: prescription.project[b].type
3418
+                        type: prescription.project[b].type,
3419
+                        execution_state: prescription.project[b].execution_state
3420
+
3387
                       }
3421
                       }
3388
 
3422
 
3389
                       if (prescription.project[b].type == 2) {
3423
                       if (prescription.project[b].type == 2) {
3494
                           drug: prescription.advices[b].drug,
3528
                           drug: prescription.advices[b].drug,
3495
                           groupno: prescription.advices[b].groupno,
3529
                           groupno: prescription.advices[b].groupno,
3496
 
3530
 
3497
-                          hosp_appr_flag: '1'
3531
+                          hosp_appr_flag: '1',
3532
+                          execution_state: 2,
3533
+
3498
 
3534
 
3499
                         }
3535
                         }
3500
                         console.log('看看数据4:')
3536
                         console.log('看看数据4:')
3536
                           remark: prescription.project[b].remark,
3572
                           remark: prescription.project[b].remark,
3537
                           medical_code: prescription.project[b].project.medical_code,
3573
                           medical_code: prescription.project[b].project.medical_code,
3538
                           unit: prescription.project[b].project.unit,
3574
                           unit: prescription.project[b].project.unit,
3539
-                          type: prescription.project[b].type
3575
+                          type: prescription.project[b].type,
3576
+                          execution_state: 2,
3540
                         }
3577
                         }
3541
 
3578
 
3542
                         if (prescription.project[b].type == 2) {
3579
                         if (prescription.project[b].type == 2) {
3931
                         id: prescription.advices[b].drug_id,
3968
                         id: prescription.advices[b].drug_id,
3932
                         drug: prescription.advices[b].drug,
3969
                         drug: prescription.advices[b].drug,
3933
                         groupno: prescription.advices[b].groupno,
3970
                         groupno: prescription.advices[b].groupno,
3934
-                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString()
3971
+                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3972
+                        execution_state: prescription.advices[b].execution_state
3973
+
3935
 
3974
 
3936
                       }
3975
                       }
3937
                       tempAdvice.push(obj)
3976
                       tempAdvice.push(obj)
3953
                         remark: prescription.project[b].remark,
3992
                         remark: prescription.project[b].remark,
3954
                         medical_code: prescription.project[b].project.medical_code,
3993
                         medical_code: prescription.project[b].project.medical_code,
3955
                         unit: prescription.project[b].project.unit,
3994
                         unit: prescription.project[b].project.unit,
3956
-                        type: prescription.project[b].type
3995
+                        type: prescription.project[b].type,
3996
+                        execution_state: prescription.project[b].execution_state
3997
+
3957
                       }
3998
                       }
3958
 
3999
 
3959
                       if (prescription.project[b].type == 2) {
4000
                       if (prescription.project[b].type == 2) {
4064
                           drug: prescription.advices[b].drug,
4105
                           drug: prescription.advices[b].drug,
4065
                           groupno: prescription.advices[b].groupno,
4106
                           groupno: prescription.advices[b].groupno,
4066
 
4107
 
4067
-                          hosp_appr_flag: '1'
4108
+                          hosp_appr_flag: '1',
4109
+                          execution_state: 2
4110
+
4068
 
4111
 
4069
                         }
4112
                         }
4070
                         console.log('看看数据5:')
4113
                         console.log('看看数据5:')
4107
                           remark: prescription.project[b].remark,
4150
                           remark: prescription.project[b].remark,
4108
                           medical_code: prescription.project[b].project.medical_code,
4151
                           medical_code: prescription.project[b].project.medical_code,
4109
                           unit: prescription.project[b].project.unit,
4152
                           unit: prescription.project[b].project.unit,
4110
-                          type: prescription.project[b].type
4153
+                          type: prescription.project[b].type,
4154
+                          execution_state: 2
4155
+
4111
                         }
4156
                         }
4112
 
4157
 
4113
                         if (prescription.project[b].type == 2) {
4158
                         if (prescription.project[b].type == 2) {

+ 9 - 1
src/xt_pages/stock/Dialog/goodInfoDailog.vue Dosyayı Görüntüle

108
             </el-form-item>
108
             </el-form-item>
109
             <el-form-item label="医保编码 : " prop="medical_insurance_number">
109
             <el-form-item label="医保编码 : " prop="medical_insurance_number">
110
               <el-input v-model="form.medical_insurance_number" style="width:160px;" placeholder=""
110
               <el-input v-model="form.medical_insurance_number" style="width:160px;" placeholder=""
111
-                        maxlength="30"></el-input>
111
+                        ></el-input>
112
+            </el-form-item>
113
+            <el-form-item label="省编码 : " prop="provinces_code">
114
+              <el-input v-model="form.provinces_code" style="width:160px;" placeholder=""
115
+                        ></el-input>
112
             </el-form-item>
116
             </el-form-item>
113
             <el-form-item label="是否特病目录:" prop="is_special_diseases">
117
             <el-form-item label="是否特病目录:" prop="is_special_diseases">
114
               <el-select v-model="form.is_special_diseases" style="width:160px;" placeholder="请选择">
118
               <el-select v-model="form.is_special_diseases" style="width:160px;" placeholder="请选择">
342
           good_unit: '',
346
           good_unit: '',
343
           retail_price: '',
347
           retail_price: '',
344
           medical_insurance_number: '',
348
           medical_insurance_number: '',
349
+          provinces_code:'',
345
           is_special_diseases: '',
350
           is_special_diseases: '',
346
           is_record: '',
351
           is_record: '',
347
           statistics_category: '',
352
           statistics_category: '',
475
               good_unit: '',
480
               good_unit: '',
476
               retail_price: '',
481
               retail_price: '',
477
               medical_insurance_number: '',
482
               medical_insurance_number: '',
483
+            provinces_code:'',
478
               is_special_diseases: '',
484
               is_special_diseases: '',
479
               is_record: '',
485
               is_record: '',
480
               statistics_category: '',
486
               statistics_category: '',
559
         form['manufacturer'] = this.form.manufacturer
565
         form['manufacturer'] = this.form.manufacturer
560
         form['retail_price'] = this.form.retail_price
566
         form['retail_price'] = this.form.retail_price
561
         form['medical_insurance_number'] = this.form.medical_insurance_number
567
         form['medical_insurance_number'] = this.form.medical_insurance_number
568
+        form['provinces_code'] = this.form.provinces_code
569
+
562
         form['is_special_diseases'] = this.form.is_special_diseases
570
         form['is_special_diseases'] = this.form.is_special_diseases
563
         form['is_record'] = this.form.is_record
571
         form['is_record'] = this.form.is_record
564
         form['statistics_category'] = this.form.statistics_category
572
         form['statistics_category'] = this.form.statistics_category