<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                > 使用blob流下載Excel文檔 ``` this.$api.exportData(this,'admin/u/p/order/grow/rate/export',{ createTime:this.createTime, content: this.content}).then(res =>{ const content = res let blob = new Blob([content],{ type: "application/ms-excel" }) let url = window.URL.createObjectURL(blob) if ('download' in document.createElement('a')) { let link = document.createElement('a') link.style.display ='none' link.href = url link.setAttribute('download','訂單增長率.xls') document.body.appendChild(link) link.click() }else{ navigator.msSaveBlob(blob, 'excel.xls') } }) }, ``` ***** ``` exportDownload() { //..導出訂單折扣明細表 this.loading = true this.timeData.push(this.formData.time\[0\]) //..開始時間 this.timeData.push(this.formData.time\[1\]+ 24\*60\*60\*1000) //..結束時間選擇當天加上一天 this.$api.exportData(this,'admin/u/p/order/orderDiscountDownLoad',{ type: this.formData.type, //..訂單類型 time: this.timeData, //..訂單時間 businessUnitId: this.formData.businessUnitId, //..事業部ID itemCode: this.formData.itemCode, //..貨品編碼 status: this.formData.status //..訂單狀態 }).then(res =>{ this.loading = false if(res.code == undefined) { <!-- 請求成功后的操作 --> this.timeData = [] //..成功下載Excel后初始化選中時間 this.formData.status = [] //..成功夏侯Excel后初始化訂單狀態 } const content = res let blob = new Blob(\[content\],{ type: "application/ms-excel" }) let url = window.URL.createObjectURL(blob) if ('download' in document.createElement('a')) { let link = document.createElement('a') link.style.display ='none' link.href = url link.setAttribute('download','訂單折扣明細表.xls') document.body.appendChild(link) link.click() }else{ navigator.msSaveBlob(blob, '訂單折扣明細表.xls') } }) }, ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看