Quellcode durchsuchen

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

see999 vor 4 Jahren
Ursprung
Commit
294d31132e

+ 2 - 2
config/dev.env.js Datei anzeigen

7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  // BASE_API: '"http://api.xt.test.sgjyun.com"',
11
-  BASE_API: '"http://localhost:9531"',
10
+  BASE_API: '"http://api.xt.test.sgjyun.com"',
11
+  // BASE_API: '"http://localhost:9531"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Datei anzeigen

29
 
29
 
30
      // host: 'xt.test.sgjyun.com',
30
      // host: 'xt.test.sgjyun.com',
31
     //  host: 'xt.kuyicloud.com',
31
     //  host: 'xt.kuyicloud.com',
32
-    // host: 'xt.test.sgjyun.com',
33
-    host: 'localhost',
32
+    host: 'xt.test.sgjyun.com',
33
+    // host: 'localhost',
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35
     autoOpenBrowser: true,
35
     autoOpenBrowser: true,
36
     errorOverlay: true,
36
     errorOverlay: true,

+ 32 - 4
src/xt_pages/data/components/addDrugs.vue Datei anzeigen

208
                 </el-option>
208
                 </el-option>
209
               </el-select>
209
               </el-select>
210
             </el-form-item>
210
             </el-form-item>
211
-            <el-form-item label="代理商 : " prop="agent">
211
+            <!-- <el-form-item label="代理商 : " prop="agent">
212
               <el-input v-model="form.agent" style="width:160px;" placeholder="" maxlength="30"></el-input>
212
               <el-input v-model="form.agent" style="width:160px;" placeholder="" maxlength="30"></el-input>
213
-            </el-form-item>
213
+            </el-form-item> -->
214
+
215
+          <el-form-item label="经销商 : " prop="manufacturer" style="width:100%">
216
+             
217
+               <el-select v-model="form.dealer" style="width:100%;" filterable placeholder="请选择">
218
+                  <el-option
219
+                    v-for="(item,index) in dealer"
220
+                    :key="index"
221
+                    :label="item.dealer_name"
222
+                    :value="item.id">
223
+                  </el-option>
224
+              </el-select>
225
+           </el-form-item>
226
+
214
             <el-form-item label=""  style="display:none;">
227
             <el-form-item label=""  style="display:none;">
215
               <el-input style="width:160px;" placeholder="" maxlength="30"></el-input>
228
               <el-input style="width:160px;" placeholder="" maxlength="30"></el-input>
216
             </el-form-item>
229
             </el-form-item>
343
   import {
356
   import {
344
     getAdviceConfig,
357
     getAdviceConfig,
345
   } from '@/api/advice'
358
   } from '@/api/advice'
346
- import { getManufacturerList } from "@/api/stock";
359
+ import { getManufacturerList,GetAllConfig } from "@/api/stock";
347
   export default {
360
   export default {
348
     data() {
361
     data() {
349
       return {
362
       return {
414
           is_statistics_work: '',//是否统计工作量
427
           is_statistics_work: '',//是否统计工作量
415
           is_charge_use: '',//是否收费常用项
428
           is_charge_use: '',//是否收费常用项
416
           drug_code:'',
429
           drug_code:'',
430
+          dealer:'',
417
         },
431
         },
418
 
432
 
419
         rules: {
433
         rules: {
436
         },
450
         },
437
         page:1,
451
         page:1,
438
         limit:500,
452
         limit:500,
439
-        manufacturerList:[]
453
+        manufacturerList:[],
454
+        dealer:[]
440
       }
455
       }
441
     },
456
     },
442
     props: {
457
     props: {
599
            console.log("列表2222222",manufacturerList)
614
            console.log("列表2222222",manufacturerList)
600
            this.manufacturerList = manufacturerList
615
            this.manufacturerList = manufacturerList
601
         })
616
         })
617
+      },
618
+       GetAllConfig(){
619
+        GetAllConfig().then(response => {
620
+        if (response.data.state == 0) {
621
+          this.$message.error(response.data.msg);
622
+          return false;
623
+        } else {
624
+          this.dealer = response.data.data.dealer;
625
+          console.log("经销商",this.dealer)
626
+        }
627
+       });
602
       }
628
       }
603
     }, watch: {
629
     }, watch: {
604
       visible(val) {
630
       visible(val) {
608
     },
634
     },
609
     created(){
635
     created(){
610
       this.getlist()
636
       this.getlist()
637
+     //获取所有经销商
638
+      this.GetAllConfig()
611
     }
639
     }
612
   }
640
   }
613
 </script>
641
 </script>

+ 1 - 1
src/xt_pages/device/airDisinfect.vue Datei anzeigen

385
                    check_out:parseInt(this.form.check_out),
385
                    check_out:parseInt(this.form.check_out),
386
                    modifications:parseInt(this.form.modifications),
386
                    modifications:parseInt(this.form.modifications),
387
                  }
387
                  }
388
-                 console.log("params",params)
388
+                //  console.log("params",params)
389
                 
389
                 
390
                saveAirDisinfect(params).then(response=>{
390
                saveAirDisinfect(params).then(response=>{
391
                   if(response.data.state == 1){
391
                   if(response.data.state == 1){

+ 5 - 1
src/xt_pages/dialysis/batch_print/batch_print_order.vue Datei anzeigen

2043
 
2043
 
2044
           this.records = this.records.concat(resp.data.schedules);
2044
           this.records = this.records.concat(resp.data.schedules);
2045
 
2045
 
2046
-          console.log("记录", this.records);
2046
+
2047
+          for (const index in this.records) {
2048
+            this.records[index].advices = this.records[index].advices.concat(this.records[index].his_advices)
2049
+          }
2050
+
2047
 
2051
 
2048
           for (const recordIndex in this.records) {
2052
           for (const recordIndex in this.records) {
2049
             var dlegh = 0;
2053
             var dlegh = 0;

+ 3 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Datei anzeigen

2193
         }
2193
         }
2194
 
2194
 
2195
         if (row.advice_desc) {
2195
         if (row.advice_desc) {
2196
-          tempDrugSpecDesc = '(' + row.advice_desc + row.drug_spec_unit + ')'
2196
+          tempDrugSpecDesc = '(' + row.advice_desc + row.drug_spec_unit + ')' + " " + row.remark
2197
         }
2197
         }
2198
 
2198
 
2199
+
2200
+
2199
         if (isChild == 1) {
2201
         if (isChild == 1) {
2200
           // 不是子药
2202
           // 不是子药
2201
 
2203
 

+ 9 - 0
src/xt_pages/dialysis/details/index.vue Datei anzeigen

1138
           var prepare = resp.data.prepare
1138
           var prepare = resp.data.prepare
1139
           this.preparestock = prepare
1139
           this.preparestock = prepare
1140
           console.log("prepare222222",prepare)
1140
           console.log("prepare222222",prepare)
1141
+
1141
           for (let i = 0; i <  this.doctor_advices.length; i++){
1142
           for (let i = 0; i <  this.doctor_advices.length; i++){
1142
             this.doctor_advices[i]['origin'] = 1
1143
             this.doctor_advices[i]['origin'] = 1
1143
           }
1144
           }
1150
             }
1151
             }
1151
           }
1152
           }
1152
 
1153
 
1154
+          const obj = {}
1155
+          this.doctor_advices = this.doctor_advices.reduce((cur, next) => {
1156
+            obj[next.id] ? '' : obj[next.id] = true && cur.push(next)
1157
+            return cur
1158
+          }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1159
+
1160
+          console.log(this.doctor_advices)
1161
+
1153
 
1162
 
1154
           var device_map = {}
1163
           var device_map = {}
1155
           for (let index = 0; index < this.devices.length; index++) {
1164
           for (let index = 0; index < this.devices.length; index++) {

+ 8 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Datei anzeigen

513
                             <span>{{prescription.dialysis_dialyszers}}</span>
513
                             <span>{{prescription.dialysis_dialyszers}}</span>
514
                             <span v-if="prescription.dialysis_irrigation!=''">/{{prescription.dialysis_irrigation}}</span>
514
                             <span v-if="prescription.dialysis_irrigation!=''">/{{prescription.dialysis_irrigation}}</span>
515
                           </span>
515
                           </span>
516
-                        &nbsp;<span else>{{ prescription.dialyzer_perfusion_apparatus }}</span> 
516
+                        &nbsp;<span else>{{ prescription.dialyzer_perfusion_apparatus }}</span>
517
                       </div>
517
                       </div>
518
                     </td>
518
                     </td>
519
                   </tr>
519
                   </tr>
531
 
531
 
532
                     <td width="70">医生签名:</td>
532
                     <td width="70">医生签名:</td>
533
                     <td width="100">
533
                     <td width="100">
534
-                     
534
+
535
                       <div class="under-line" v-if="org_id == 9987">
535
                       <div class="under-line" v-if="org_id == 9987">
536
                          <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:prescription.creater)) }} </span>
536
                          <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:prescription.creater)) }} </span>
537
                          <img class="es-img" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
537
                          <img class="es-img" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
633
             <td>
633
             <td>
634
               &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
634
               &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
635
             </td>
635
             </td>
636
-          
636
+
637
           </tr>
637
           </tr>
638
         </tbody>
638
         </tbody>
639
       </table>
639
       </table>
1384
             this.AlPanel = this.anticoagulantsConfit[thisALID]
1384
             this.AlPanel = this.anticoagulantsConfit[thisALID]
1385
           }
1385
           }
1386
 
1386
 
1387
-          this.advices = response.data.data.advices
1387
+          // this.advices = response.data.data.advices
1388
+
1389
+          this.advices =  response.data.data.advices.concat(response.data.data.doctorAdvice)
1390
+
1388
           this.monitors = response.data.data.monitors
1391
           this.monitors = response.data.data.monitors
1389
           this.summary = response.data.data.summary
1392
           this.summary = response.data.data.summary
1390
           this.org_template_info = response.data.data.org_template_info
1393
           this.org_template_info = response.data.data.org_template_info
1631
     this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
1634
     this.precaution_arr = getDataConfig('hemodialysis', 'precaution')
1632
     this.intake_arr = getDataConfig('hemodialysis', 'intake')
1635
     this.intake_arr = getDataConfig('hemodialysis', 'intake')
1633
     this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
1636
     this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
1634
-   
1637
+
1635
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1638
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
1636
 
1639
 
1637
     var bloodAccessParOpera = getDataConfig(
1640
     var bloodAccessParOpera = getDataConfig(

+ 45 - 52
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Datei anzeigen

21
             </el-radio>
21
             </el-radio>
22
             <el-radio :label=2>已收费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_two}}</span>人
22
             <el-radio :label=2>已收费<span style="color: red;margin-bottom:10px;display: inline-block;">{{cal_two}}</span>人
23
             </el-radio>
23
             </el-radio>
24
-            <el-radio :label=3>已退费<span
25
-              style="color: red;margin-bottom:10px;display: inline-block;">{{cal_three}}</span>人
26
-            </el-radio>
24
+            <!--<el-radio :label=3>已退费<span-->
25
+              <!--style="color: red;margin-bottom:10px;display: inline-block;">{{cal_three}}</span>人-->
26
+            <!--</el-radio>-->
27
             <el-radio :label=4>全部</el-radio>
27
             <el-radio :label=4>全部</el-radio>
28
 
28
 
29
           </el-radio-group>
29
           </el-radio-group>
68
           <!--</el-button>-->
68
           <!--</el-button>-->
69
 
69
 
70
 
70
 
71
-          <el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"
72
-                     @click="open(20)"
73
-                     type="primary">预结算!
74
-          </el-button>
71
+          <!--<el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"-->
72
+                     <!--@click="open(20)"-->
73
+                     <!--type="primary">预结算!-->
74
+          <!--</el-button>-->
75
 
75
 
76
-          <el-button v-loading="loadingtwo" v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 " size="small"
77
-                     @click="open(21)"
78
-                     type="primary">收费!
79
-          </el-button>
76
+          <!--<el-button v-loading="loadingtwo" v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3" size="small"-->
77
+                     <!--@click="open(21)"-->
78
+                     <!--type="primary">收费!-->
79
+          <!--</el-button>-->
80
 
80
 
81
 
81
 
82
-          <el-button v-loading="loadingtwo" v-if="this.hisPatientInfo.id > 0 && this.order.id == 0" size="small"
82
+          <el-button v-loading="loadingtwo" v-if="(this.hisPatientInfo.id > 0 && this.order.id == 0) || this.order.order_status == 1 ||  this.order.order_status == 3" size="small"
83
                      @click="open(4)"
83
                      @click="open(4)"
84
                      type="primary">收费
84
                      type="primary">收费
85
           </el-button>
85
           </el-button>
101
           <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(8)" type="primary"-->
101
           <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(8)" type="primary"-->
102
           <!--&gt;明细对账-->
102
           <!--&gt;明细对账-->
103
           <!--</el-button>-->
103
           <!--</el-button>-->
104
-          <el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(9)" type="primary"
104
+          <el-button v-if="this.order.order_status == 2" size="small" @click="open(9)" type="primary"
105
           >结算单
105
           >结算单
106
           </el-button>
106
           </el-button>
107
 
107
 
126
           <!--&gt;查待遇-->
126
           <!--&gt;查待遇-->
127
           <!--</el-button>-->
127
           <!--</el-button>-->
128
 
128
 
129
-          <!--<el-button  size="small" @click="query" type="primary"-->
130
-          <!--&gt;查询-->
131
-          <!--</el-button>-->
129
+          <el-button  size="small" @click="query" type="primary"
130
+          >查询
131
+          </el-button>
132
 
132
 
133
 
133
 
134
         </div>
134
         </div>
481
     },
481
     },
482
     methods: {
482
     methods: {
483
       query() {
483
       query() {
484
-        if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 3877) {
484
+        if (this.$store.getters.xt_user.org_id == 9919) {
485
           var that = this
485
           var that = this
486
           axios.get('http://127.0.0.1:9532/api/org/info', {
486
           axios.get('http://127.0.0.1:9532/api/org/info', {
487
             params: {}
487
             params: {}
570
         this.loadingtwo = true
570
         this.loadingtwo = true
571
         if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
571
         if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 3877) {
572
           var that = this
572
           var that = this
573
-          axios.get('http://127.0.0.1:9532/api/settle/get', {
573
+          axios.get('http://127.0.0.1:9532/api/upload/get', {
574
             params: form
574
             params: form
575
           })
575
           })
576
             .then(function(response) {
576
             .then(function(response) {
659
                     let three_count = 0
659
                     let three_count = 0
660
                     for (let i = 0; i < response.data.data.list.length; i++) {
660
                     for (let i = 0; i < response.data.data.list.length; i++) {
661
                       that.all_table_data.push(response.data.data.list[i])
661
                       that.all_table_data.push(response.data.data.list[i])
662
-                      if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
662
+                      if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
663
                         one_count = one_count + 1
663
                         one_count = one_count + 1
664
                         that.patientTableData.push(response.data.data.list[i])
664
                         that.patientTableData.push(response.data.data.list[i])
665
                       }
665
                       }
666
-
667
                       if (response.data.data.list[i].order.order_status == 2) {
666
                       if (response.data.data.list[i].order.order_status == 2) {
668
                         two_count = two_count + 1
667
                         two_count = two_count + 1
669
                         that.patientTableData.push(response.data.data.list[i])
668
                         that.patientTableData.push(response.data.data.list[i])
670
                       }
669
                       }
671
-
672
-                      if (response.data.data.list[i].order.order_status == 3) {
673
-                        three_count = three_count + 1
674
-                        that.patientTableData.push(response.data.data.list[i])
675
-                      }
676
                     }
670
                     }
677
                     that.hisPatientDatas = response.data.data.list_two
671
                     that.hisPatientDatas = response.data.data.list_two
678
                     that.cal_one = one_count
672
                     that.cal_one = one_count
849
             let three_count = 0
843
             let three_count = 0
850
             for (let i = 0; i < response.data.data.list.length; i++) {
844
             for (let i = 0; i < response.data.data.list.length; i++) {
851
               this.all_table_data.push(response.data.data.list[i])
845
               this.all_table_data.push(response.data.data.list[i])
852
-              if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
846
+              if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
853
                 one_count = one_count + 1
847
                 one_count = one_count + 1
854
               }
848
               }
855
 
849
 
857
                 two_count = two_count + 1
851
                 two_count = two_count + 1
858
               }
852
               }
859
 
853
 
860
-              if (response.data.data.list[i].order.order_status == 3) {
861
-                three_count = three_count + 1
862
-              }
854
+              // if (response.data.data.list[i].order.order_status == 3) {
855
+              //   three_count = three_count + 1
856
+              // }
863
             }
857
             }
864
 
858
 
865
             switch (this.radio) {
859
             switch (this.radio) {
940
 
934
 
941
             for (let i = 0; i < response.data.data.list_two.length; i++) {
935
             for (let i = 0; i < response.data.data.list_two.length; i++) {
942
               this.hisPatientDatas.push(response.data.data.list_two[i])
936
               this.hisPatientDatas.push(response.data.data.list_two[i])
943
-              if (response.data.data.list_two[i].order.order_status == 0 || response.data.data.list_two[i].order.order_status == 1) {
937
+              if (response.data.data.list_two[i].order.order_status == 0 || response.data.data.list_two[i].order.order_status == 1 || response.data.data.list_two[i].order.order_status == 3) {
944
                 one_count = one_count + 1
938
                 one_count = one_count + 1
945
               }
939
               }
946
 
940
 
948
                 two_count = two_count + 1
942
                 two_count = two_count + 1
949
               }
943
               }
950
 
944
 
951
-              if (response.data.data.list_two[i].order.order_status == 3) {
952
-                three_count = three_count + 1
953
-              }
945
+              // if (response.data.data.list_two[i].order.order_status == 3) {
946
+              //   three_count = three_count + 1
947
+              // }
954
             }
948
             }
955
             switch (this.radio) {
949
             switch (this.radio) {
956
               case 1:
950
               case 1:
957
                 this.patientTableData = []
951
                 this.patientTableData = []
958
 
952
 
959
                 for (let i = 0; i < this.hisPatientDatas.length; i++) {
953
                 for (let i = 0; i < this.hisPatientDatas.length; i++) {
960
-                  if (this.hisPatientDatas[i].order.order_status == 0 || this.hisPatientDatas[i].order.order_status == 1) {
954
+                  if (this.hisPatientDatas[i].order.order_status == 0 || this.hisPatientDatas[i].order.order_status == 1 || this.hisPatientDatas[i].order.order_status == 3) {
961
                     this.patientTableData.push(this.hisPatientDatas[i])
955
                     this.patientTableData.push(this.hisPatientDatas[i])
962
                   }
956
                   }
963
 
957
 
972
 
966
 
973
                 }
967
                 }
974
                 break
968
                 break
975
-              case 3:
976
-                this.patientTableData = []
977
-                for (let i = 0; i < this.hisPatientDatas.length; i++) {
978
-                  if (this.hisPatientDatas[i].order.order_status == 3) {
979
-                    this.patientTableData.push(this.hisPatientDatas[i])
980
-                  }
981
-
982
-                }
983
-                break
969
+              // case 3:
970
+              //   this.patientTableData = []
971
+              //   for (let i = 0; i < this.hisPatientDatas.length; i++) {
972
+              //     if (this.hisPatientDatas[i].order.order_status == 3) {
973
+              //       this.patientTableData.push(this.hisPatientDatas[i])
974
+              //     }
975
+              //   }
976
+              //   break
984
               case 4:
977
               case 4:
985
                 this.patientTableData = []
978
                 this.patientTableData = []
986
                 this.patientTableData = this.hisPatientDatas
979
                 this.patientTableData = this.hisPatientDatas
1702
 
1695
 
1703
               for (let i = 0; i < response.data.data.list.length; i++) {
1696
               for (let i = 0; i < response.data.data.list.length; i++) {
1704
                 this.all_table_data.push(response.data.data.list[i])
1697
                 this.all_table_data.push(response.data.data.list[i])
1705
-                if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
1698
+                if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
1706
                   one_count = one_count + 1
1699
                   one_count = one_count + 1
1707
                 }
1700
                 }
1708
 
1701
 
1710
                   two_count = two_count + 1
1703
                   two_count = two_count + 1
1711
                 }
1704
                 }
1712
 
1705
 
1713
-                if (response.data.data.list[i].order.order_status == 3) {
1714
-                  three_count = three_count + 1
1715
-                }
1706
+                // if (response.data.data.list[i].order.order_status == 3) {
1707
+                //   three_count = three_count + 1
1708
+                // }
1716
               }
1709
               }
1717
 
1710
 
1718
             } else { //月结
1711
             } else { //月结
1854
             let three_count = 0
1847
             let three_count = 0
1855
             for (let i = 0; i < response.data.data.list.length; i++) {
1848
             for (let i = 0; i < response.data.data.list.length; i++) {
1856
               this.all_table_data.push(response.data.data.list[i])
1849
               this.all_table_data.push(response.data.data.list[i])
1857
-              if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1) {
1850
+              if (response.data.data.list[i].order.order_status == 0 || response.data.data.list[i].order.order_status == 1 || response.data.data.list[i].order.order_status == 3) {
1858
                 one_count = one_count + 1
1851
                 one_count = one_count + 1
1859
               }
1852
               }
1860
 
1853
 
1862
                 two_count = two_count + 1
1855
                 two_count = two_count + 1
1863
               }
1856
               }
1864
 
1857
 
1865
-              if (response.data.data.list[i].order.order_status == 3) {
1866
-                three_count = three_count + 1
1867
-              }
1858
+              // if (response.data.data.list[i].order.order_status == 3) {
1859
+              //   three_count = three_count + 1
1860
+              // }
1868
             }
1861
             }
1869
 
1862
 
1870
             switch (this.radio) {
1863
             switch (this.radio) {
1873
                 this.patientTableData = []
1866
                 this.patientTableData = []
1874
 
1867
 
1875
                 for (let i = 0; i < this.all_table_data.length; i++) {
1868
                 for (let i = 0; i < this.all_table_data.length; i++) {
1876
-                  if (this.all_table_data[i].order.order_status == 0 || this.all_table_data[i].order.order_status == 1) {
1869
+                  if (this.all_table_data[i].order.order_status == 0 || this.all_table_data[i].order.order_status == 1 || this.all_table_data[i].order.order_status == 3) {
1877
                     this.patientTableData.push(this.all_table_data[i])
1870
                     this.patientTableData.push(this.all_table_data[i])
1878
                   }
1871
                   }
1879
 
1872
 

+ 3 - 3
src/xt_pages/stock/Dialog/goodInfoDailog.vue Datei anzeigen

131
               </el-checkbox-group>
131
               </el-checkbox-group>
132
             </el-form-item>
132
             </el-form-item>
133
 
133
 
134
-           <el-form-item label="经销商 : " prop="manufacturer" style="width:100%">
134
+           <!-- <el-form-item label="经销商 : " prop="manufacturer" style="width:100%">
135
              
135
              
136
                <el-select v-model="form.dealer" style="width:100%;" filterable placeholder="请选择">
136
                <el-select v-model="form.dealer" style="width:100%;" filterable placeholder="请选择">
137
                   <el-option
137
                   <el-option
141
                     :value="item.id">
141
                     :value="item.id">
142
                   </el-option>
142
                   </el-option>
143
               </el-select>
143
               </el-select>
144
-           </el-form-item>
144
+           </el-form-item> -->
145
 
145
 
146
 
146
 
147
             <el-form-item label="备注 : " prop="name" style="width:100%;">
147
             <el-form-item label="备注 : " prop="name" style="width:100%;">
483
           return false;
483
           return false;
484
         } else {
484
         } else {
485
           this.dealer = response.data.data.dealer;
485
           this.dealer = response.data.data.dealer;
486
-          console.log("经销傻姑娘",this.dealer)
486
+          
487
         }
487
         }
488
        });
488
        });
489
       }
489
       }

+ 16 - 16
src/xt_pages/stock/cancelStockOrder.vue Datei anzeigen

199
     nowYear = nowDate.getFullYear();
199
     nowYear = nowDate.getFullYear();
200
     nowMonth = nowDate.getMonth() + 1;
200
     nowMonth = nowDate.getMonth() + 1;
201
     nowDay = nowDate.getDate();
201
     nowDay = nowDate.getDate();
202
-    // this.start_time =
203
-    //   nowYear +
204
-    //   "-" +
205
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
206
-    //   "-" +
207
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
208
-    var date1 = new Date();
209
-    var date2 = new Date(date1);
202
+    this.start_time =
203
+      nowYear +
204
+      "-" +
205
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
206
+      "-" +
207
+      (nowDay < 10 ? "0" + nowDay : nowDay);
208
+    // var date1 = new Date();
209
+    // var date2 = new Date(date1);
210
 
210
 
211
-    //-30为30天前,+30可以获得30天后的日期
212
-    date2.setDate(date1.getDate() - 30);
211
+    // //-30为30天前,+30可以获得30天后的日期
212
+    // date2.setDate(date1.getDate() - 30);
213
 
213
 
214
-    //30天前(月份判断是否小于10,小于10的前面+0)
215
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
214
+    // //30天前(月份判断是否小于10,小于10的前面+0)
215
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
216
       
216
       
217
-    //当前日期
218
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
217
+    // //当前日期
218
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
219
 
219
 
220
-     this.start_time = agoDay
221
-     console.log("333333332222",this.start_time)
220
+    //  this.start_time = agoDay
221
+    //  console.log("333333332222",this.start_time)
222
     this.GetCancelStock();
222
     this.GetCancelStock();
223
     this.GetConfigInfo();
223
     this.GetConfigInfo();
224
     this.fetchAllAdminUsers();
224
     this.fetchAllAdminUsers();

+ 16 - 16
src/xt_pages/stock/drugs/cancelDrugStockOrder.vue Datei anzeigen

201
     nowYear = nowDate.getFullYear();
201
     nowYear = nowDate.getFullYear();
202
     nowMonth = nowDate.getMonth() + 1;
202
     nowMonth = nowDate.getMonth() + 1;
203
     nowDay = nowDate.getDate();
203
     nowDay = nowDate.getDate();
204
-    // this.start_time =
205
-    //   nowYear +
206
-    //   "-" +
207
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
208
-    //   "-" +
209
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
204
+    this.start_time =
205
+      nowYear +
206
+      "-" +
207
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
208
+      "-" +
209
+      (nowDay < 10 ? "0" + nowDay : nowDay);
210
    
210
    
211
-    var date1 = new Date();
212
-    var date2 = new Date(date1);
211
+    // var date1 = new Date();
212
+    // var date2 = new Date(date1);
213
 
213
 
214
-    //-30为30天前,+30可以获得30天后的日期
215
-    date2.setDate(date1.getDate() - 30);
214
+    // //-30为30天前,+30可以获得30天后的日期
215
+    // date2.setDate(date1.getDate() - 30);
216
 
216
 
217
-    //30天前(月份判断是否小于10,小于10的前面+0)
218
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
217
+    // //30天前(月份判断是否小于10,小于10的前面+0)
218
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
219
       
219
       
220
-    //当前日期
221
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
220
+    // //当前日期
221
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
222
 
222
 
223
-     this.start_time = agoDay
224
-     console.log("333333332222",this.start_time)
223
+    //  this.start_time = agoDay
224
+    //  console.log("333333332222",this.start_time)
225
     this.GetCancelStock();
225
     this.GetCancelStock();
226
     this.GetConfigInfo();
226
     this.GetConfigInfo();
227
     this.fetchAllAdminUsers();
227
     this.fetchAllAdminUsers();

+ 16 - 16
src/xt_pages/stock/drugs/drugSalesReturnOrder.vue Datei anzeigen

197
     nowYear = nowDate.getFullYear();
197
     nowYear = nowDate.getFullYear();
198
     nowMonth = nowDate.getMonth() + 1;
198
     nowMonth = nowDate.getMonth() + 1;
199
     nowDay = nowDate.getDate();
199
     nowDay = nowDate.getDate();
200
-    // this.start_time =
201
-    //   nowYear +
202
-    //   "-" +
203
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
204
-    //   "-" +
205
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
200
+    this.start_time =
201
+      nowYear +
202
+      "-" +
203
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
204
+      "-" +
205
+      (nowDay < 10 ? "0" + nowDay : nowDay);
206
     
206
     
207
-    var date1 = new Date();
208
-    var date2 = new Date(date1);
207
+    // var date1 = new Date();
208
+    // var date2 = new Date(date1);
209
 
209
 
210
-    //-30为30天前,+30可以获得30天后的日期
211
-    date2.setDate(date1.getDate() - 30);
210
+    // //-30为30天前,+30可以获得30天后的日期
211
+    // date2.setDate(date1.getDate() - 30);
212
 
212
 
213
-    //30天前(月份判断是否小于10,小于10的前面+0)
214
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
213
+    // //30天前(月份判断是否小于10,小于10的前面+0)
214
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
215
       
215
       
216
-    //当前日期
217
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
216
+    // //当前日期
217
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
218
 
218
 
219
-     this.start_time = agoDay
220
-     console.log("333333332222",this.start_time)
219
+    //  this.start_time = agoDay
220
+    //  console.log("333333332222",this.start_time)
221
     this.GetSalesReturn();
221
     this.GetSalesReturn();
222
     this.GetConfigInfo();
222
     this.GetConfigInfo();
223
     this.fetchAllAdminUsers();
223
     this.fetchAllAdminUsers();

+ 16 - 16
src/xt_pages/stock/drugs/drugStockInOrder.vue Datei anzeigen

315
     nowYear = nowDate.getFullYear();
315
     nowYear = nowDate.getFullYear();
316
     nowMonth = nowDate.getMonth() + 1;
316
     nowMonth = nowDate.getMonth() + 1;
317
     nowDay = nowDate.getDate();
317
     nowDay = nowDate.getDate();
318
-    // this.start_time =
319
-    //   nowYear +
320
-    //   "-" +
321
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
322
-    //   "-" +
323
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
318
+    this.start_time =
319
+      nowYear +
320
+      "-" +
321
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
322
+      "-" +
323
+      (nowDay < 10 ? "0" + nowDay : nowDay);
324
     
324
     
325
-    var date1 = new Date();
326
-    var date2 = new Date(date1);
325
+    // var date1 = new Date();
326
+    // var date2 = new Date(date1);
327
 
327
 
328
-    //-30为30天前,+30可以获得30天后的日期
329
-    date2.setDate(date1.getDate() - 30);
328
+    // //-30为30天前,+30可以获得30天后的日期
329
+    // date2.setDate(date1.getDate() - 30);
330
 
330
 
331
-    //30天前(月份判断是否小于10,小于10的前面+0)
332
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
331
+    // //30天前(月份判断是否小于10,小于10的前面+0)
332
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
333
       
333
       
334
-    //当前日期
335
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
334
+    // //当前日期
335
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
336
 
336
 
337
-     this.start_time = agoDay
338
-     console.log("333333332222",this.start_time)
337
+    //  this.start_time = agoDay
338
+    //  console.log("333333332222",this.start_time)
339
     this.GetWarehouse();
339
     this.GetWarehouse();
340
     this.GetConfigInfo();
340
     this.GetConfigInfo();
341
     this.fetchAllAdminUsers();
341
     this.fetchAllAdminUsers();

+ 18 - 18
src/xt_pages/stock/drugs/drugStockOutOrder.vue Datei anzeigen

379
     nowYear = nowDate.getFullYear();
379
     nowYear = nowDate.getFullYear();
380
     nowMonth = nowDate.getMonth() + 1;
380
     nowMonth = nowDate.getMonth() + 1;
381
     nowDay = nowDate.getDate();
381
     nowDay = nowDate.getDate();
382
-    // this.start_time =
383
-    //   nowYear +
384
-    //   "-" +
385
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
386
-    //   "-" +
387
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
388
-       var date1 = new Date();
389
-    var date2 = new Date(date1);
390
-
391
-    //-30为30天前,+30可以获得30天后的日期
392
-    date2.setDate(date1.getDate() - 30);
393
-
394
-    //30天前(月份判断是否小于10,小于10的前面+0)
395
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
382
+    this.start_time =
383
+      nowYear +
384
+      "-" +
385
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
386
+      "-" +
387
+      (nowDay < 10 ? "0" + nowDay : nowDay);
388
+    //    var date1 = new Date();
389
+    // var date2 = new Date(date1);
390
+
391
+    // //-30为30天前,+30可以获得30天后的日期
392
+    // date2.setDate(date1.getDate() - 30);
393
+
394
+    // //30天前(月份判断是否小于10,小于10的前面+0)
395
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
396
       
396
       
397
-    //当前日期
398
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
397
+    // //当前日期
398
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
399
 
399
 
400
-     this.start_time = agoDay
401
-     console.log("333333332222",this.start_time)
400
+    //  this.start_time = agoDay
401
+    //  console.log("333333332222",this.start_time)
402
     this.GetWarehouseOut();
402
     this.GetWarehouseOut();
403
     this.GetConfigInfo();
403
     this.GetConfigInfo();
404
     this.fetchAllAdminUsers();
404
     this.fetchAllAdminUsers();

+ 16 - 16
src/xt_pages/stock/salesReturnOrder.vue Datei anzeigen

198
     nowYear = nowDate.getFullYear();
198
     nowYear = nowDate.getFullYear();
199
     nowMonth = nowDate.getMonth() + 1;
199
     nowMonth = nowDate.getMonth() + 1;
200
     nowDay = nowDate.getDate();
200
     nowDay = nowDate.getDate();
201
-    // this.start_time =
202
-    //   nowYear +
203
-    //   "-" +
204
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
205
-    //   "-" +
206
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
201
+    this.start_time =
202
+      nowYear +
203
+      "-" +
204
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
205
+      "-" +
206
+      (nowDay < 10 ? "0" + nowDay : nowDay);
207
     
207
     
208
-    var date1 = new Date();
209
-    var date2 = new Date(date1);
208
+    // var date1 = new Date();
209
+    // var date2 = new Date(date1);
210
 
210
 
211
-    //-30为30天前,+30可以获得30天后的日期
212
-    date2.setDate(date1.getDate() - 30);
211
+    // //-30为30天前,+30可以获得30天后的日期
212
+    // date2.setDate(date1.getDate() - 30);
213
 
213
 
214
-    //30天前(月份判断是否小于10,小于10的前面+0)
215
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
214
+    // //30天前(月份判断是否小于10,小于10的前面+0)
215
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
216
       
216
       
217
-    //当前日期
218
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
217
+    // //当前日期
218
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
219
 
219
 
220
-     this.start_time = agoDay
221
-     console.log("333333332222",this.start_time)
220
+    //  this.start_time = agoDay
221
+    //  console.log("333333332222",this.start_time)
222
     this.GetSalesReturn();
222
     this.GetSalesReturn();
223
     this.GetConfigInfo();
223
     this.GetConfigInfo();
224
     this.fetchAllAdminUsers();
224
     this.fetchAllAdminUsers();

+ 16 - 16
src/xt_pages/stock/stockInOrder.vue Datei anzeigen

589
     nowYear = nowDate.getFullYear();
589
     nowYear = nowDate.getFullYear();
590
     nowMonth = nowDate.getMonth() + 1;
590
     nowMonth = nowDate.getMonth() + 1;
591
     nowDay = nowDate.getDate();
591
     nowDay = nowDate.getDate();
592
-    // this.start_time =
593
-    //   nowYear +
594
-    //   "-" +
595
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
596
-    //   "-" +
597
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
592
+    this.start_time =
593
+      nowYear +
594
+      "-" +
595
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
596
+      "-" +
597
+      (nowDay < 10 ? "0" + nowDay : nowDay);
598
      
598
      
599
   
599
   
600
-    var date1 = new Date();
601
-    var date2 = new Date(date1);
600
+    // var date1 = new Date();
601
+    // var date2 = new Date(date1);
602
 
602
 
603
-    //-30为30天前,+30可以获得30天后的日期
604
-    date2.setDate(date1.getDate() - 30);
603
+    // //-30为30天前,+30可以获得30天后的日期
604
+    // date2.setDate(date1.getDate() - 30);
605
 
605
 
606
-    //30天前(月份判断是否小于10,小于10的前面+0)
607
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
606
+    // //30天前(月份判断是否小于10,小于10的前面+0)
607
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
608
       
608
       
609
-    //当前日期
610
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
609
+    // //当前日期
610
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
611
 
611
 
612
-     this.start_time = agoDay
613
-     console.log("333333332222",this.start_time)
612
+    //  this.start_time = agoDay
613
+    //  console.log("333333332222",this.start_time)
614
 
614
 
615
       // this.warehousing_time =
615
       // this.warehousing_time =
616
       //   nowYear +
616
       //   nowYear +

+ 17 - 17
src/xt_pages/stock/stockOutOrder.vue Datei anzeigen

554
 
554
 
555
 
555
 
556
       
556
       
557
-    var date1 = new Date();
558
-    var date2 = new Date(date1);
557
+    // var date1 = new Date();
558
+    // var date2 = new Date(date1);
559
 
559
 
560
-    //-30为30天前,+30可以获得30天后的日期
561
-    date2.setDate(date1.getDate() - 30);
560
+    // //-30为30天前,+30可以获得30天后的日期
561
+    // date2.setDate(date1.getDate() - 30);
562
 
562
 
563
-    //30天前(月份判断是否小于10,小于10的前面+0)
564
-    var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
563
+    // //30天前(月份判断是否小于10,小于10的前面+0)
564
+    // var agoDay = `${date2.getFullYear()}-${date2.getMonth() + 1<10?`0${date2.getMonth() + 1}`:date2.getMonth() + 1}-${date2.getDate()}`;
565
       
565
       
566
-    //当前日期
567
-    var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
568
-
569
-     this.start_time = agoDay
570
-     console.log("333333332222",this.start_time)
571
-    // this.start_time =
572
-    //   nowYear +
573
-    //   "-" +
574
-    //   (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
575
-    //   "-" +
576
-    //   (nowDay < 10 ? "0" + nowDay : nowDay);
566
+    // //当前日期
567
+    // var nowDay = `${date1.getFullYear()}-${date1.getMonth() + 1<10?`0${date1.getMonth() + 1}`:date1.getMonth() + 1}-${date1.getDate()}`;
568
+
569
+    //  this.start_time = agoDay
570
+    //  console.log("333333332222",this.start_time)
571
+    this.start_time =
572
+      nowYear +
573
+      "-" +
574
+      (nowMonth < 10 ? "0" + nowMonth : nowMonth) +
575
+      "-" +
576
+      (nowDay < 10 ? "0" + nowDay : nowDay);
577
     this.GetConfigInfo();
577
     this.GetConfigInfo();
578
     this.GetWarehouseOut();
578
     this.GetWarehouseOut();
579
    
579