Sfoglia il codice sorgente

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

csx 4 anni fa
parent
commit
190091592c

+ 21 - 213
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Vedi File

@@ -73,9 +73,13 @@
73 73
                      @click="open(4)"
74 74
                      type="primary">收费
75 75
           </el-button>
76
+
76 77
           <el-button size="small" @click="open(5)" type="primary"
77
-                     v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2" >退费
78
+               v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2" >退费
78 79
           </el-button>
80
+          <!-- <el-button size="small" @click="open(5)" type="primary"
81
+                    >退费
82
+          </el-button> -->
79 83
 
80 84
 
81 85
           <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
@@ -90,10 +94,10 @@
90 94
           >结算单
91 95
           </el-button>
92 96
 
93
-          <el-button v-if="this.$store.getters.xt_user.org_id == 9919"
94
-                     size="small" @click="open(10)" type="primary"
95
-          >退号
96
-          </el-button>
97
+          <!--<el-button v-if="this.$store.getters.xt_user.org_id == 9919"-->
98
+                     <!--size="small" @click="open(10)" type="primary"-->
99
+          <!--&gt;退号-->
100
+          <!--</el-button>-->
97 101
 
98 102
           <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919"-->
99 103
           <!--size="small" @click="open(11)" type="primary"-->
@@ -686,8 +690,7 @@
686 690
 
687 691
         let params = {
688 692
           'record_date': val,
689
-          'patient_id': this.patientInfo.id,
690
-          'type': this.radio,
693
+          'patient_id': this.patientInfo.id
691 694
         }
692 695
         getChargeHisPatientInfo(params).then(response => {
693 696
           if (response.data.state == 0) {
@@ -1345,6 +1348,7 @@
1345 1348
             order_id: this.order.id
1346 1349
           }
1347 1350
           this.orderObj = obj
1351
+          // this.$refs.print.getInfo(this.order.id)
1348 1352
 
1349 1353
         } else if (index == 10) {
1350 1354
           let params = {
@@ -1745,34 +1749,19 @@
1745 1749
         for (let i = 0; i < month_prescriptions.length; i++) {
1746 1750
           if (month_prescriptions[i].type == 1) { //药品
1747 1751
             for (let a = 0; a < month_prescriptions[i].advices.length; a++) {
1748
-              let obj = {
1749
-                id: month_prescriptions[i].advices[a].drug_id,
1750
-                price:month_prescriptions[i].advices[a].price,
1751
-
1752
-              }
1753
-              drug_ids.push(obj)
1752
+              drug_ids.push(month_prescriptions[i].advices[a].drug_id)
1754 1753
               drug_month_prescriptions.advices.push(month_prescriptions[i].advices[a])
1755 1754
             }
1756 1755
 
1757 1756
           } else if (month_prescriptions[i].type == 2) { //项目
1758 1757
             for (let a = 0; a < month_prescriptions[i].project.length; a++) {
1759
-              let obj = {
1760
-                id: month_prescriptions[i].project[a].project_id,
1761
-                price:month_prescriptions[i].project[a].price,
1762
-
1763
-              }
1764
-              project_ids.push(obj)
1758
+              project_ids.push(month_prescriptions[i].project[a].project_id)
1765 1759
               project_month_prescriptions.project.push(month_prescriptions[i].project[a])
1766 1760
             }
1767 1761
           }
1768 1762
           //附加收费
1769 1763
           for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
1770
-            let obj = {
1771
-              id: month_prescriptions[i].addition[a].item_id,
1772
-              price:month_prescriptions[i].addition[a].price,
1773
-
1774
-            }
1775
-            additions_ids.push(obj)
1764
+            additions_ids.push(month_prescriptions[i].addition[a].item_id)
1776 1765
             addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
1777 1766
 
1778 1767
           }
@@ -1784,15 +1773,15 @@
1784 1773
         const obj2 = {}
1785 1774
 
1786 1775
         drug_ids = drug_ids.reduce((cur, next) => {
1787
-         obj[next.price] ? '' : obj[next.price] = true && cur.push(next)
1776
+          obj[next] ? '' : obj[next] = true && cur.push(next)
1788 1777
           return cur
1789 1778
         }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1790 1779
         project_ids = project_ids.reduce((cur, next) => {
1791
-      obj[next.price] ? '' : obj[next.price] = true &&  cur.push(next)
1780
+          obj1[next] ? '' : obj1[next] = true && cur.push(next)
1792 1781
           return cur
1793 1782
         }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1794 1783
         additions_ids = additions_ids.reduce((cur, next) => {
1795
-         obj[next.price] ? '' : obj[next.price] = true  && cur.push(next)
1784
+          obj2[next] ? '' : obj2[next] = true && cur.push(next)
1796 1785
           return cur
1797 1786
         }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1798 1787
 
@@ -1810,7 +1799,7 @@
1810 1799
           let obj = {}
1811 1800
           let count = 0
1812 1801
           for (let a = 0; a < drug_month_prescriptions.advices.length; a++) {
1813
-            if (drug_ids[i].price == drug_month_prescriptions.advices[a].price) {
1802
+            if (drug_ids[i] == drug_month_prescriptions.advices[a].drug_id) {
1814 1803
               obj['drug_name'] = drug_month_prescriptions.advices[a].advice_name
1815 1804
               obj['single_dose'] = drug_month_prescriptions.advices[a].single_dose
1816 1805
               obj['delivery_way'] = drug_month_prescriptions.advices[a].delivery_way
@@ -1834,7 +1823,7 @@
1834 1823
           let obj = {}
1835 1824
           let count = 0
1836 1825
           for (let a = 0; a < project_month_prescriptions.project.length; a++) {
1837
-            if ( project_ids[i].price == project_month_prescriptions.project[a].price) {
1826
+            if (project_ids[i] == project_month_prescriptions.project[a].project_id) {
1838 1827
               obj['project_name'] = project_month_prescriptions.project[a].project.project_name
1839 1828
               obj['statistical_classification'] = project_month_prescriptions.project[a].project.statistical_classification
1840 1829
               obj['single_dose'] = project_month_prescriptions.project[a].single_dose
@@ -1860,7 +1849,7 @@
1860 1849
           console.log(addition_month_prescriptions.addition)
1861 1850
           if (addition_month_prescriptions.addition) {
1862 1851
             for (let a = 0; a < addition_month_prescriptions.addition.length; a++) {
1863
-              if ( additions_ids[i].price == addition_month_prescriptions.addition[a].price) {
1852
+              if (project_ids[i] == addition_month_prescriptions.addition[a].item_id) {
1864 1853
                 obj['item_name'] = addition_month_prescriptions.addition[a].item_name
1865 1854
                 obj['id'] = addition_month_prescriptions.addition[a].id
1866 1855
                 obj['item_id'] = addition_month_prescriptions.addition[a].item_id
@@ -1902,185 +1891,6 @@
1902 1891
 
1903 1892
       },
1904 1893
 
1905
-      // setMonthPrescription(month_prescriptions) {
1906
-      //   this.month_prescriptions = []
1907
-      //
1908
-      //   let drug_month_prescriptions = {
1909
-      //     advices: []
1910
-      //   }
1911
-      //   let drug_ids = []
1912
-      //   let project_month_prescriptions = {
1913
-      //     project: []
1914
-      //
1915
-      //   }
1916
-      //   let project_ids = []
1917
-      //
1918
-      //   let addition_month_prescriptions = {
1919
-      //     addition: []
1920
-      //
1921
-      //   }
1922
-      //   let additions_ids = []
1923
-      //
1924
-      //   for (let i = 0; i < month_prescriptions.length; i++) {
1925
-      //     if (month_prescriptions[i].type == 1) { //药品
1926
-      //       for (let a = 0; a < month_prescriptions[i].advices.length; a++) {
1927
-      //         let obj = {
1928
-      //           id: month_prescriptions[i].advices[a].drug_id,
1929
-      //           price:month_prescriptions[i].advices[a].price,
1930
-      //
1931
-      //         }
1932
-      //         drug_ids.push(obj)
1933
-      //         drug_month_prescriptions.advices.push(month_prescriptions[i].advices[a])
1934
-      //       }
1935
-      //
1936
-      //     } else if (month_prescriptions[i].type == 2) { //项目
1937
-      //       for (let a = 0; a < month_prescriptions[i].project.length; a++) {
1938
-      //         let obj = {
1939
-      //           id: month_prescriptions[i].project[a].project_id,
1940
-      //           price:month_prescriptions[i].project[a].price,
1941
-      //
1942
-      //         }
1943
-      //         project_ids.push(obj)
1944
-      //         project_month_prescriptions.project.push(month_prescriptions[i].project[a])
1945
-      //       }
1946
-      //     }
1947
-      //     //附加收费
1948
-      //     for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
1949
-      //       let obj = {
1950
-      //         id: month_prescriptions[i].addition[a].item_id,
1951
-      //         price:month_prescriptions[i].addition[a].price,
1952
-      //
1953
-      //       }
1954
-      //       additions_ids.push(obj)
1955
-      //       addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
1956
-      //
1957
-      //     }
1958
-      //
1959
-      //   }
1960
-      //
1961
-      //   const obj = {}
1962
-      //   const obj1 = {}
1963
-      //   const obj2 = {}
1964
-      //
1965
-      //   drug_ids = drug_ids.reduce((cur, next) => {
1966
-      //     obj[next.id] ? '' : obj[next.id] = true && obj[next.price] ? '' : obj[next.price] = true && cur.push(next)
1967
-      //     return cur
1968
-      //   }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1969
-      //   project_ids = project_ids.reduce((cur, next) => {
1970
-      //     obj1[next] ? '' : obj1[next] = true &&  obj[next.price] ? '' : obj[next.price] = true &&  cur.push(next)
1971
-      //     return cur
1972
-      //   }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1973
-      //   additions_ids = additions_ids.reduce((cur, next) => {
1974
-      //     obj2[next] ? '' : obj2[next] = true &&  obj[next.price] ? '' : obj[next.price] = true  && cur.push(next)
1975
-      //     return cur
1976
-      //   }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1977
-      //
1978
-      //   console.log(drug_ids)
1979
-      //   console.log(project_ids)
1980
-      //   console.log(additions_ids)
1981
-      //
1982
-      //   console.log(additions_ids)
1983
-      //
1984
-      //   let drugs = []
1985
-      //   let projects = []
1986
-      //   let additions = []
1987
-      //
1988
-      //   for (let i = 0; i < drug_ids.length; i++) {
1989
-      //     let obj = {}
1990
-      //     let count = 0
1991
-      //     for (let a = 0; a < drug_month_prescriptions.advices.length; a++) {
1992
-      //       if (drug_ids[i].id == drug_month_prescriptions.advices[a].drug_id && drug_ids[i].price == drug_month_prescriptions.advices[a].price) {
1993
-      //         obj['drug_name'] = drug_month_prescriptions.advices[a].advice_name
1994
-      //         obj['single_dose'] = drug_month_prescriptions.advices[a].single_dose
1995
-      //         obj['delivery_way'] = drug_month_prescriptions.advices[a].delivery_way
1996
-      //         obj['execution_frequency'] = drug_month_prescriptions.advices[a].execution_frequency
1997
-      //         obj['day'] = drug_month_prescriptions.advices[a].day
1998
-      //         // obj['prescribing_number'] =  obj['prescribing_number']  + drug_month_prescriptions.advices[a].prescribing_number
1999
-      //         obj['prescribing_number_unit'] = drug_month_prescriptions.advices[a].prescribing_number_unit
2000
-      //         obj['medical_insurance_number'] = drug_month_prescriptions.advices[a].drug.medical_insurance_number
2001
-      //         obj['id'] = drug_month_prescriptions.advices[a].drug_id
2002
-      //         // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
2003
-      //         obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price)
2004
-      //         count = count + drug_month_prescriptions.advices[a].prescribing_number
2005
-      //
2006
-      //       }
2007
-      //     }
2008
-      //     obj['prescribing_number'] = count
2009
-      //     drugs.push(obj)
2010
-      //   }
2011
-      //
2012
-      //   for (let i = 0; i < project_ids.length; i++) {
2013
-      //     let obj = {}
2014
-      //     let count = 0
2015
-      //     for (let a = 0; a < project_month_prescriptions.project.length; a++) {
2016
-      //       if (project_ids[i].id == project_month_prescriptions.project[a].project_id  && project_ids[i].price == drug_month_prescriptions.project[a].price) {
2017
-      //         obj['project_name'] = project_month_prescriptions.project[a].project.project_name
2018
-      //         obj['statistical_classification'] = project_month_prescriptions.project[a].project.statistical_classification
2019
-      //         obj['single_dose'] = project_month_prescriptions.project[a].single_dose
2020
-      //         obj['delivery_way'] = project_month_prescriptions.project[a].delivery_way
2021
-      //         obj['execution_frequency'] = project_month_prescriptions.project[a].execution_frequency
2022
-      //         obj['number_days'] = project_month_prescriptions.project[a].day
2023
-      //         obj['medical_code'] = project_month_prescriptions.project[a].project.medical_code
2024
-      //         obj['unit'] = project_month_prescriptions.project[a].unit
2025
-      //         obj['project_id'] = project_month_prescriptions.project[a].project_id
2026
-      //         count = count + project_month_prescriptions.project[a].count
2027
-      //         // price = price + project_month_prescriptions.project[a].price
2028
-      //         obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
2029
-      //
2030
-      //       }
2031
-      //     }
2032
-      //     obj['total'] = count
2033
-      //     projects.push(obj)
2034
-      //   }
2035
-      //
2036
-      //   for (let i = 0; i < additions_ids.length; i++) {
2037
-      //     let obj = {}
2038
-      //     let count = 0
2039
-      //     console.log(addition_month_prescriptions.addition)
2040
-      //     if (addition_month_prescriptions.addition) {
2041
-      //       for (let a = 0; a < addition_month_prescriptions.addition.length; a++) {
2042
-      //         if (project_ids[i].id == addition_month_prescriptions.addition[a].item_id  && project_ids[i].price == drug_month_prescriptions.addition[a].price) {
2043
-      //           obj['item_name'] = addition_month_prescriptions.addition[a].item_name
2044
-      //           obj['id'] = addition_month_prescriptions.addition[a].id
2045
-      //           obj['item_id'] = addition_month_prescriptions.addition[a].item_id
2046
-      //           count = count + addition_month_prescriptions.addition[a].count
2047
-      //           obj['price'] = parseFloat(addition_month_prescriptions.addition[a].price)
2048
-      //         }
2049
-      //       }
2050
-      //       obj['count'] = count
2051
-      //       additions.push(obj)
2052
-      //     }
2053
-      //   }
2054
-      //
2055
-      //   console.log(drugs)
2056
-      //   console.log(projects)
2057
-      //   console.log(additions)
2058
-      //
2059
-      //   let p1 = {
2060
-      //     name: '处方' + 1,
2061
-      //     advices: drugs,
2062
-      //     project: [],
2063
-      //     type: 1,
2064
-      //     addition: additions
2065
-      //   }
2066
-      //   let p2 = {
2067
-      //     name: '处方' + 2,
2068
-      //     type: 2,
2069
-      //     project: projects,
2070
-      //     advices: [],
2071
-      //     addition: []
2072
-      //
2073
-      //   }
2074
-      //   console.log(this.month_prescriptions)
2075
-      //   console.log(this.curMonthPrescriptions)
2076
-      //
2077
-      //   this.month_prescriptions.push(p1)
2078
-      //   this.month_prescriptions.push(p2)
2079
-      //
2080
-      //   this.curMonthPrescriptions = this.month_prescriptions[0]
2081
-      //
2082
-      // },
2083
-
2084 1894
       unique(arr) {
2085 1895
         const res = new Map()
2086 1896
         return arr.filter((arr) => !res.has(arr.id_card_no) && res.set(arr.id_card_no, 1))
@@ -2111,9 +1921,7 @@
2111 1921
           'patient_id': id,
2112 1922
           'number': batch_number,
2113 1923
           'start_time': this.other_start_time,
2114
-          'end_time': this.other_end_time,
2115
-          'type': this.radio,
2116
-
1924
+          'end_time': this.other_end_time
2117 1925
         }
2118 1926
         this.loading = true
2119 1927
 

+ 9 - 5
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Vedi File

@@ -421,7 +421,7 @@
421 421
         this.isVisibility = true
422 422
       }, 
423 423
       comfirm: function(val) {
424
-
424
+        console.log("Val2222222",val)
425 425
         this.$refs.dialog.hide()
426 426
         if (val.selectedGoodInfo.length > 0) {
427 427
           for (let i = val.selectedGoodInfo.length - 1; i >= 0; i--) {
@@ -429,7 +429,7 @@
429 429
               this.recordInfo.recordData[this.currentIndex].drug_id = val.selectedGoodInfo[i].id
430 430
               this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].last_price.toString()
431 431
               this.recordInfo.recordData[this.currentIndex].retail_price = val.selectedGoodInfo[i].retail_price.toString()
432
-              // this.recordInfo.recordData[this.currentIndex].min_unit = val.selectedGoodInfo[i].min_unit
432
+              this.recordInfo.recordData[this.currentIndex].min_unit = val.selectedGoodInfo[i].min_unit
433 433
             } else {
434 434
               const tempForm = {}
435 435
               tempForm["id"] = 0;
@@ -443,7 +443,7 @@
443 443
               tempForm['remark'] = ''
444 444
               tempForm['dealer'] = ''
445 445
               tempForm['manufacturer'] = ''
446
-              tempForm['min_unit']=''
446
+              tempForm['min_unit']= val.selectedGoodInfo[i].min_unit
447 447
               this.recordInfo.recordData.splice(this.currentIndex + 1, 0, tempForm)
448 448
             }
449 449
           }
@@ -487,7 +487,9 @@
487 487
           loading.close()
488 488
 
489 489
         })
490
-      }, typeName: function(drug_id) {
490
+      },
491
+       typeName: function(drug_id) {
492
+        
491 493
         let name = "";
492 494
         for (let i = 0; i < this.goodInfo.length; i++) {
493 495
           if (this.goodInfo[i].id == drug_id) {
@@ -504,7 +506,8 @@
504 506
           }
505 507
         }
506 508
         return name;
507
-      }, handleEdit: function(index, row) {
509
+      },
510
+       handleEdit: function(index, row) {
508 511
         const tempObj = {}
509 512
         tempObj['drug_id'] = 0
510 513
         tempObj['number'] = ''
@@ -516,6 +519,7 @@
516 519
         tempObj['remark'] = ''
517 520
         tempObj['dealer'] = ''
518 521
         tempObj['manufacturer'] = ''
522
+        tempObj['min_unit'] = ''
519 523
         this.recordInfo.recordData.push(tempObj)
520 524
       }, handleDelete: function(index, row) {
521 525
         if (this.recordInfo.recordData.length <= 1) {

+ 7 - 3
src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue Vedi File

@@ -341,6 +341,7 @@ export default {
341 341
             tempForm['price'] =  val.selectedGoodInfo[i].last_price.toString()
342 342
             tempForm['count'] = ''
343 343
             tempForm['remark'] = ''
344
+            tempForm['min_unit'] = val.selectedGoodInfo[i].min_unit
344 345
             this.recordInfo.recordData.splice(this.currentIndex + 1, 0, tempForm)
345 346
           }
346 347
         }
@@ -417,6 +418,7 @@ export default {
417 418
       });
418 419
     },
419 420
     typeName: function(drug_id) {
421
+    
420 422
       let name = "";
421 423
       for (let i = 0; i < this.goodInfo.length; i++) {
422 424
         if (this.goodInfo[i].id == drug_id) {
@@ -425,7 +427,8 @@ export default {
425 427
         }
426 428
       }
427 429
       return name;
428
-    }, specificationName: function(drug_id) {
430
+    },
431
+     specificationName: function(drug_id) {
429 432
       let name = "";
430 433
       for (let i = 0; i < this.goodInfo.length; i++) {
431 434
         if (this.goodInfo[i].id == drug_id) {
@@ -441,7 +444,7 @@ export default {
441 444
       tempObj["price"] = "";
442 445
       tempObj["retail_price"] = "";
443 446
       tempObj["remark"] = "";
444
-
447
+      tempObj["min_unit"] = "";
445 448
       this.recordInfo.recordData.push(tempObj);
446 449
     },
447 450
     handleDelete: function(index, row) {
@@ -469,6 +472,7 @@ export default {
469 472
       }
470 473
     },
471 474
     showDialog(index, row) {
475
+      
472 476
       const loading = this.$loading({
473 477
         lock: true,
474 478
         text: 'Loading',
@@ -594,7 +598,7 @@ export default {
594 598
     tempObj["return_count"] = 0;
595 599
     tempObj["price"] = "";
596 600
     tempObj["remark"] = "";
597
-
601
+    tempObj["min_unit"] = "";
598 602
 
599 603
     this.recordInfo.recordData.push(tempObj);
600 604
     this.GetConfigInfo();

+ 4 - 1
src/xt_pages/stock/drugs/drugsStockDialog/index.vue Vedi File

@@ -151,6 +151,7 @@
151 151
 
152 152
       },
153 153
       comfirm: function(formName) {
154
+       
154 155
         this.goodInfoTableData = []
155 156
         this.$emit('dialog-comfirm', this.getValue())
156 157
         this.$refs.multipleTable.clearSelection()
@@ -158,6 +159,7 @@
158 159
       },
159 160
       getValue: function() {
160 161
         this.multipleSelection = []
162
+        console.log("库存22222",this.propForm.goods)
161 163
         for (let i = 0; i < this.propForm.goods.length; i++) {
162 164
           for (let a = 0; a < this.propForm.goods[i].drug_specs.length; a++) {
163 165
                 if (this.propForm.goods[i].drug_specs[a].isSelected) {
@@ -170,7 +172,8 @@
170 172
         }
171 173
         console.log(obj)
172 174
         return obj
173
-      }, goodTypeSelect: function(id) {
175
+      },
176
+       goodTypeSelect: function(id) {
174 177
         this.tempGoodInfo = []
175 178
         this.goodInfo = []
176 179
         for (let i = 0; i < this.propForm.goodInfo.length; i++) {

+ 2 - 1
src/xt_pages/stock/stockInOrderAdd.vue Vedi File

@@ -475,6 +475,7 @@
475 475
         tempObj['remark'] = ''
476 476
         tempObj['dealer'] = ''
477 477
         tempObj['manufacturer'] = ''
478
+        tempObj['good_unit'] = ''
478 479
         this.recordInfo.recordData.push(tempObj)
479 480
       }, handleDelete: function(index, row) {
480 481
         if (this.recordInfo.recordData.length <= 1) {
@@ -496,7 +497,7 @@
496 497
         this.recordInfo.recordData = []
497 498
         getWarehouseInfoByOrdeNumber(params).then(response => {
498 499
           if (response.data.state != 0) {
499
-             console.log("8888888888mma",response.data.data.info)
500
+            
500 501
             for (let i = 0; i < response.data.data.info.length; i++) {
501 502
               this.recordInfo.recordData.push(response.data.data.info[i])
502 503
             }

+ 1 - 1
src/xt_pages/stock/stockOutOrderAdd.vue Vedi File

@@ -463,7 +463,7 @@ export default {
463 463
       tempObj["count"] = "";
464 464
       tempObj["price"] = "";
465 465
       tempObj["remark"] = "";
466
-
466
+      tempObj["good_unit"] = "";
467 467
       this.recordInfo.recordData.push(tempObj);
468 468
     },
469 469
     handleDelete: function(index, row) {