任务台

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

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

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

Loading…
Cancel
Save