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