生产数据汇总
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
<!--
 | 
			
		||||
 * @Author: zhp
 | 
			
		||||
 * @Date: 2023-12-12 13:45:25
 | 
			
		||||
 * @LastEditTime: 2024-04-23 17:21:04
 | 
			
		||||
 * @LastEditTime: 2024-04-24 15:28:10
 | 
			
		||||
 * @LastEditors: DY
 | 
			
		||||
 * @Description:
 | 
			
		||||
-->
 | 
			
		||||
@@ -30,7 +30,7 @@
 | 
			
		||||
        <el-button size="small" v-if="isSave" @click="saveDataList()">保存</el-button>
 | 
			
		||||
      </el-row>
 | 
			
		||||
    </div>
 | 
			
		||||
    <el-table id="exportTable" :data="list" style="width: 100%" :header-cell-style="{
 | 
			
		||||
    <el-table id="exportproductionTable" :data="list" style="width: 100%" :header-cell-style="{
 | 
			
		||||
      background: '#F2F4F9',
 | 
			
		||||
      color: '#606266'
 | 
			
		||||
    }">
 | 
			
		||||
@@ -452,7 +452,7 @@ export default {
 | 
			
		||||
      /* 从表生成工作簿对象 */
 | 
			
		||||
      import('xlsx').then(excel => {
 | 
			
		||||
        var wb = excel.utils.table_to_book(
 | 
			
		||||
          document.querySelector("#exportTable"),
 | 
			
		||||
          document.querySelector("#exportproductionTable"),
 | 
			
		||||
          xlsxParam
 | 
			
		||||
        );
 | 
			
		||||
        /* 获取二进制字符串作为输出 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user