|
|
|
@ -235,7 +235,11 @@ import {
|
|
|
|
|
handleTranslationDataSeclect, |
|
|
|
|
getObjType, |
|
|
|
|
} from '@/utils/util'; |
|
|
|
|
import { columnList, confirmColumnList,columnListB } from '@/option/finance/ReconciliationDepositSlip'; |
|
|
|
|
import { |
|
|
|
|
columnList, |
|
|
|
|
confirmColumnList, |
|
|
|
|
columnListB, |
|
|
|
|
} from '@/option/finance/ReconciliationDepositSlip'; |
|
|
|
|
import { useRouter } from 'vue-router'; |
|
|
|
|
import { deepClone } from '@/utils/util'; |
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'; |
|
|
|
@ -460,9 +464,9 @@ const searchChange = () => {
|
|
|
|
|
/** 清空表单 */ |
|
|
|
|
const searchReset = () => { |
|
|
|
|
// details.query = {}; |
|
|
|
|
console.log(details,'details'); |
|
|
|
|
console.log(details, 'details'); |
|
|
|
|
|
|
|
|
|
details.pageStatus == 1 ? (details.pageInfo[0].query={}) : (details.pageInfo[1].query={}); |
|
|
|
|
details.pageStatus == 1 ? (details.pageInfo[0].query = {}) : (details.pageInfo[1].query = {}); |
|
|
|
|
details.page.pageNum = 1; |
|
|
|
|
handleClearTableQuery(details.pageStatus === 1 ? details.columnList1 : details.columnList2); |
|
|
|
|
initOnLoad(); |
|
|
|
@ -563,6 +567,7 @@ const handleFullScrean = (_type: 'open' | 'close', _name: string) => {
|
|
|
|
|
|
|
|
|
|
/** 生成对账单 */ |
|
|
|
|
const handleConfirm = async () => { |
|
|
|
|
await nextTick(); |
|
|
|
|
if (details.selectionList.length === 0) return ElMessage.warning('请选择需要确认的数据'); |
|
|
|
|
|
|
|
|
|
const _errorArr = []; |
|
|
|
@ -583,7 +588,8 @@ const handleConfirm = async () => {
|
|
|
|
|
return ElMessage.warning(`收货单位不一致,请移除不一致数据`); |
|
|
|
|
if (value.destinationWarehouseName !== _destinationWarehouseName) |
|
|
|
|
return ElMessage.warning(`目的仓不一致,请移除不一致数据`); |
|
|
|
|
if (Number(value.signStatus) !== 2) return ElMessage.warning(`存在未签收完成的数据`); |
|
|
|
|
if (details.pageStatus === 2 && Number(value.signStatus) !== 2) |
|
|
|
|
return ElMessage.warning(`存在未签收完成的数据`); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
details.popUpShow.confirmVisited = true; |
|
|
|
|