刘帅
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
<el-table-column label="操作" align="center" width="350px" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="primary" size="mini" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
|
||||
<el-button type="warning" size="mini" icon="el-icon-download" @click="exportTable('QG')">导出</el-button>
|
||||
<el-button type="warning" size="mini" icon="el-icon-download" @click="exportTable('QG', scope.row)">导出</el-button>
|
||||
<el-button type="danger" size="mini" icon="el-icon-delete" style="margin-left: 15px" @click="handleDelete(scope.row)">作废</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -249,7 +249,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { searchInventoryNum, searchOfflineContract, addData, editData, deleteData, searchMateriel, update,
|
||||
import { searchInventoryNum, searchOfflineContract, addData, editData, deleteData, searchMateriel, update, updateStatus,
|
||||
addMateriel, deleteMateriel, setSafeValue } from '@/api/WorkshopProcurement/OfflineContract1'
|
||||
import { mapGetters } from 'vuex'
|
||||
import { getExplorer, method5, Cleanup } from '@/vendor/exportExcel'
|
||||
@@ -375,7 +375,10 @@ export default {
|
||||
this.pageCurrent2 = val
|
||||
this.searchTable2()
|
||||
},
|
||||
exportTable(tableid) {
|
||||
exportTable(tableid, row) {
|
||||
updateStatus(row.请购单流水号).then(response => {
|
||||
this.searchTable2()
|
||||
})
|
||||
if (this.tableData3.length === 0) {
|
||||
this.$message.warning('暂无数据')
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user