This commit is contained in:
qsh
2025-08-29 10:55:50 +08:00
parent ca95f6dcf3
commit 4b0fa9fd7f
3 changed files with 48 additions and 61 deletions

View File

@@ -133,16 +133,6 @@
</el-table-column>
<el-table-column label="操作" width="120px" fixed="right">
<template #default="scope">
<el-button
type="primary"
class="mr-10px"
link
style="padding: 0; margin-left: 0"
v-hasPermi="['clue:order:detail']"
@click="handleDetail(scope.row)"
>
详情
</el-button>
<el-button
type="primary"
class="mr-10px"
@@ -158,11 +148,9 @@
</SSTable>
<!-- 详情 -->
<DialogOrder ref="orderDetailDialog" />
<DialogFeeback ref="feedbackDialog" />
<DialogAfterSale ref="afterSaleDialog" />
<DialogExtraFee ref="extraFeeDialog" />
<DialogDelivery ref="deliveryDialog" @success="getTableList" />
<DialogAddProduct ref="addProductDialog" @success="getTableList" />
<DialogOrderProduct ref="orderProductDialog" />
</div>
@@ -173,11 +161,9 @@ import { getSimpleFieldList } from '@/api/clue/orderField'
import * as SignApi from '@/api/clue/sign'
import { getSimpleUserList as getUserOption, getAllUserList } from '@/api/system/user'
import DialogOrder from './DialogOrder.vue'
import DialogFeeback from './DialogFeeback.vue'
import DialogAfterSale from './DialogAfterSale.vue'
import DialogExtraFee from './DialogExtraPay.vue'
import DialogDelivery from './DialogDelivery.vue'
import DialogAddProduct from './DialogAddProduct.vue'
import DialogOrderProduct from './DialogOrderProduct.vue'
@@ -197,7 +183,6 @@ const message = useMessage() // 消息弹窗
const allSchemas = ref({})
const orderDetailDialog = ref()
const searchRef = ref()
const searchForm = ref({
@@ -270,11 +255,6 @@ function getCheckedColumns(list) {
list && list.length ? list : allSchemas.value.tableColumns.filter((it) => it.paramLevel == 1)
}
// 详情
function handleDetail(row) {
orderDetailDialog.value.open(row.clueId, row.signId)
}
const feedbackDialog = ref()
const afterSaleDialog = ref()
// 售后
@@ -312,10 +292,6 @@ async function getOptions() {
allUserOptions.value = await getAllUserList()
getCurdSchemas()
}
const deliveryDialog = ref()
// function handleDelivery(row) {
// deliveryDialog.value.open(row)
// }
const batchIds = ref([])
function handleSelectionChange(val) {
@@ -375,7 +351,7 @@ function handleBatchUpdateInstall() {
const orderProductDialog = ref()
function openProduct(row) {
orderProductDialog.value.open(row.orderId)
orderProductDialog.value.open(row.signId)
}
// async function handleRemoveProduct(row) {