Commit e198262a by 王志慧

fixed

1 parent 08943eca
......@@ -639,7 +639,7 @@ export default {
return worksheet
},
getHeaderRow(sheet) {
console.log(sheet)
// console.log(sheet)
const headers = []
/* sheet['!ref']表示所有单元格的范围,例如从A1到F8则记录为 A1:F8*/
const range = XLSX.utils.decode_range(sheet['!ref'])
......@@ -670,7 +670,6 @@ export default {
handleImport() {
this.isImport = true
this.clearFile()
},
clearFile() {
this.importForm = {
......@@ -730,7 +729,6 @@ export default {
cancelImport() {
this.isImport = false
this.clearFile()
},
//获取复选table数据
selectionTable(val) {
......@@ -738,10 +736,10 @@ export default {
},
//批量审核
handleCheck(row, isRefuse = 0) {
// console.log(row)
// isRefuse: 0:审批,2:驳回
if (row) {
this.ids = isRefuse == 0 ? [row.id] : row.id
this.$refs.withdrawRef.clearMutiSelect()
} else {
if (!this.ids || this.ids.length == 0) {
this.$message({
......@@ -760,7 +758,6 @@ export default {
if (row) {
this.ids = [row.id]
this.payForm.payMoney = (row.payAmount / 100).toFixed(2)
this.$refs.withdrawRef.clearMutiSelect()
} else {
if (!this.ids || this.ids.length == 0) {
this.$message({
......@@ -786,6 +783,7 @@ export default {
})
},
comfirmCheck() {
// console.log(this.ids)
if (this.isRefuse == 2 && this.form.remark == '') {
this.$message({
message: '请输入驳回原因',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!