XMLWAN 3 anni fa
parent
commit
c5049b89d6

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

@@ -641,7 +641,7 @@ export default {
641 641
       const tHeader = ['耗材名称',  '规格&单位','退库数量','退库单价','批次','品名/注册证号(备案凭证号)','生产厂家','生产日期','有效期','退库原因']
642 642
       const filterVal = ['good_name', 'unit','count','price','number','register_account','manufacturer','product_date','expiry_date','remark']
643 643
       console.log("table",this.exportList)
644
-      
644
+     
645 645
       const data = this.formatJson(filterVal, this.exportList)
646 646
       excel.export_json_to_excel({
647 647
         header: tHeader,

+ 7 - 1
src/xt_pages/stock/drugs/drugStockInOrder.vue Vedi File

@@ -833,12 +833,18 @@ export default {
833 833
            if(this.exportList[i].manufacturer == this.manufacturerList[j].id){
834 834
              this.exportList[i].manufacturer = this.manufacturerList[j].manufacturer_name
835 835
            }
836
+           if(this.exportList[i].manufacturer == 0){
837
+              this.exportList[i].manufacturer = ""
838
+           } 
836 839
          }
837 840
 
838 841
          for(let z=0;z<this.dealerList.length;z++){
839 842
            if(this.exportList[i].dealer == this.dealerList[z].id){
840 843
               this.exportList[i].dealer = this.dealerList[z].dealer_name
841 844
            }
845
+           if(this.exportList[i].dealer == 0){
846
+             this.exportList[i].dealer = ""
847
+           }
842 848
          }
843 849
       }
844 850
       
@@ -858,7 +864,7 @@ export default {
858 864
          
859 865
      
860 866
         console.log("table",this.exportList)
861
-       
867
+        
862 868
         const data = this.formatJson(filterVal, this.exportList)
863 869
         excel.export_json_to_excel({
864 870
           header: tHeader,

+ 2 - 2
src/xt_pages/stock/drugs/query.vue Vedi File

@@ -121,11 +121,11 @@
121 121
              {{getCount(scope.row.drug_id,scope.row.min_number,scope.row.max_unit,scope.row.min_unit)}}
122 122
            </template>
123 123
         </el-table-column>
124
-        <el-table-column prop="drug_name" label="退库数量" align="center">
124
+        <!-- <el-table-column prop="drug_name" label="退库数量" align="center">
125 125
            <template slot-scope="scope">
126 126
              {{getCancelCount(scope.row.drug_id)}}{{scope.row.max_unit}}
127 127
            </template>
128
-        </el-table-column>
128
+        </el-table-column> -->
129 129
         <el-table-column prop="drug_name" label="剩余库存量" align="center">
130 130
            <template slot-scope="scope">
131 131
              <span v-if="getCountTwo(scope.row.drug_id,scope.row.min_number,scope.row.max_unit,scope.row.min_unit)!=''">{{getCountTwo(scope.row.drug_id,scope.row.min_number,scope.row.max_unit,scope.row.min_unit)}}</span>