mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:49:20 +08:00
fix(ecom): 移除刷单记录的platform_order_no字段及前端相关代码
- ec_design.sql 移除 platform_order_no 列和索引 - BrushOrderPO/DTO/VO 移除 platformOrderNo 字段(保留原有注释) - BrushOrderServiceImpl 移除相关 setter 和查询过滤逻辑 - 前端类型定义和组件同步清理
This commit is contained in:
@@ -15,8 +15,6 @@ export namespace BrushOrderDTO {
|
||||
brushAmount: number;
|
||||
/** 刷单时间 */
|
||||
brushTime: string;
|
||||
/** 平台订单号(可选) */
|
||||
platformOrderNo?: string;
|
||||
/** 刷单数量 */
|
||||
quantity?: number;
|
||||
/** 备注 */
|
||||
@@ -35,8 +33,6 @@ export namespace BrushOrderDTO {
|
||||
brushAmount: number;
|
||||
/** 刷单时间 */
|
||||
brushTime: string;
|
||||
/** 平台订单号(可选) */
|
||||
platformOrderNo?: string;
|
||||
/** 刷单数量 */
|
||||
quantity?: number;
|
||||
/** 备注 */
|
||||
|
||||
@@ -25,8 +25,6 @@ export namespace BrushOrderVO {
|
||||
brushAmount: number;
|
||||
/** 刷单时间 */
|
||||
brushTime: string;
|
||||
/** 平台订单号 */
|
||||
platformOrderNo?: string;
|
||||
/** 刷单数量 */
|
||||
quantity?: number;
|
||||
/** 备注 */
|
||||
|
||||
+1
-9
@@ -80,7 +80,6 @@ const formData = ref<BrushOrderDTO.Create>({
|
||||
productSpecId: undefined,
|
||||
brushAmount: undefined as any,
|
||||
brushTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
||||
platformOrderNo: undefined,
|
||||
quantity: 1,
|
||||
remark: undefined,
|
||||
});
|
||||
@@ -146,7 +145,6 @@ watch(
|
||||
brushTime: props.brushOrderData.brushTime
|
||||
? dayjs(props.brushOrderData.brushTime).format('YYYY-MM-DD HH:mm:ss')
|
||||
: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
||||
platformOrderNo: props.brushOrderData.platformOrderNo,
|
||||
quantity: props.brushOrderData.quantity || 1,
|
||||
remark: props.brushOrderData.remark,
|
||||
};
|
||||
@@ -285,7 +283,7 @@ const resetFormData = () => {
|
||||
productSpecId: undefined,
|
||||
brushAmount: undefined as any,
|
||||
brushTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
||||
platformOrderNo: undefined,
|
||||
|
||||
quantity: 1,
|
||||
remark: undefined,
|
||||
};
|
||||
@@ -439,12 +437,6 @@ onMounted(() => {
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item label="平台订单号" name="platformOrderNo">
|
||||
<Input
|
||||
v-model:value="formData.platformOrderNo"
|
||||
placeholder="请输入平台订单号(可选)"
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item label="刷单数量" name="quantity">
|
||||
<InputNumber
|
||||
|
||||
@@ -32,7 +32,6 @@ const currentBrushOrderData = ref<BrushOrderVO.Info | null>(null);
|
||||
|
||||
// 搜索表单
|
||||
const searchForm = ref({
|
||||
platformOrderNo: '',
|
||||
shopId: undefined as number | undefined,
|
||||
productId: undefined as number | undefined,
|
||||
minBrushAmount: undefined as number | undefined,
|
||||
@@ -52,12 +51,6 @@ const gridOptions: VxeGridProps<any> = {
|
||||
minWidth: 'auto',
|
||||
title: '序号',
|
||||
},
|
||||
{
|
||||
field: 'platformOrderNo',
|
||||
title: '平台订单号',
|
||||
minWidth: 'auto',
|
||||
showOverflow: 'tooltip' as const,
|
||||
},
|
||||
{
|
||||
field: 'shopName',
|
||||
title: '店铺名称',
|
||||
@@ -141,7 +134,6 @@ const gridOptions: VxeGridProps<any> = {
|
||||
page: page.currentPage,
|
||||
pageSize: page.pageSize,
|
||||
filters: {
|
||||
platformOrderNo: searchForm.value.platformOrderNo || undefined,
|
||||
shopId: searchForm.value.shopId,
|
||||
productId: searchForm.value.productId,
|
||||
minBrushAmount: searchForm.value.minBrushAmount,
|
||||
@@ -174,15 +166,6 @@ const gridOptions: VxeGridProps<any> = {
|
||||
const gridReloadRef = ref<(() => void) | null>(null);
|
||||
const formOptions = computed(() => ({
|
||||
schema: [
|
||||
{
|
||||
component: 'Input',
|
||||
componentProps: {
|
||||
placeholder: '请输入平台订单号(回车搜索)',
|
||||
onPressEnter: () => gridReloadRef.value?.(),
|
||||
},
|
||||
fieldName: 'platformOrderNo',
|
||||
label: '平台订单号',
|
||||
},
|
||||
{
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
@@ -194,6 +177,18 @@ const formOptions = computed(() => ({
|
||||
fieldName: 'shopId',
|
||||
label: '店铺',
|
||||
},
|
||||
{
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
placeholder: '商品ID(可选)',
|
||||
min: 1,
|
||||
precision: 0,
|
||||
style: { width: '100%' },
|
||||
onPressEnter: () => gridReloadRef.value?.(),
|
||||
},
|
||||
fieldName: 'productId',
|
||||
label: '商品',
|
||||
},
|
||||
{
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
|
||||
Reference in New Issue
Block a user