任务台

szh-new
lijingjia 4 months ago
parent 99d3d85316
commit a18eab08fd

@ -45,7 +45,7 @@
<img
v-show="!list.length"
class="hot-tb-no-data"
src="../../../../../assets/images/nodata.png"
src="../../../assets/images/nodata.png"
alt=""
/>
</hot-table>

@ -43,8 +43,8 @@
<!-- 主题单号 -->
<template v-if="column.dataIndex == 'mblno'">
<div class="mblno">
<span v-if="record.mblno" @click="FnCopy(record.mblno)" class="iconfont icon-fuzhi3"></span>
<span @click="editColumns(record.mblno)">{{ record.mblno }}</span>
<Icon icon="ant-design:copy-outlined" @click="FnCopy(record.mblno)" />
</div>
</template>
<!-- 应收开票 -->
@ -237,7 +237,7 @@
import { formatParams } from '/@/hooks/web/common'
const appStore = useAppStore()
const router = useRouter()
const { notification } = useMessage()
const { createMessage } = useMessage()
const go = useGo()
//
const calcColumns = [
@ -424,9 +424,9 @@
})
function editColumns(row) {
if (row.mblno) {
go(`/BookingDetail?id=${row.id}`)
go(`/BookingDetail?id=${row.id}&source=edit`)
} else {
go(`/BookingDetail?id=${row.id}&customerNo=${row.customerNo}`)
go(`/BookingDetail?id=${row.id}&customerNo=${row.customerNo}&source=edit`)
}
}
function FnCopy(data) {
@ -436,7 +436,7 @@
el.select()
document.execCommand('copy')
document.body.removeChild(el)
notification.success({ message: '复制成功!', duration: 3 })
createMessage.success('复制成功!')
}
const moreNumVal = ref('') //
const moreNumVisible = ref(false) //
@ -467,18 +467,18 @@
const TaskShippingOrderCompareVisible = ref(false)
const formatSheetVisible = ref(false)
//
function batchEditing() {
const select = getSelectRows()
if (select.length === 0) {
notification.error({ message: '请选择操作订单', duration: 3 })
return false
}
const removeArr = select.map((item) => {
return item.id
})
openModal(true, { removeArr })
}
// //
// function batchEditing() {
// const select = getSelectRows()
// if (select.length === 0) {
// createMessage.warning('')
// return false
// }
// const removeArr = select.map((item) => {
// return item.id
// })
// openModal(true, { removeArr })
// }
function TaskShippingOrderCompareHandleCancel() {
TaskShippingOrderCompareVisible.value = false
}
@ -550,6 +550,11 @@
.static-box {
position: fixed;
bottom: 0;
height: 66.5px;
}
.icon-fuzhi3 {
color: #257afa;
cursor: pointer;
}
}
</style>

Loading…
Cancel
Save