feat: 仓库管理

This commit is contained in:
砂糖
2025-09-17 15:59:03 +08:00
parent 0346e09dd3
commit 2bd09e2cf4
43 changed files with 5473 additions and 33 deletions

View File

@@ -174,7 +174,7 @@
</template>
<script>
import { listCustomer, getCustomer, delCustomer, addCustomer, updateCustomer } from "@/api/wms/customer";
import { listCustomer, getCustomer, delCustomer, addCustomer, updateCustomer } from "@/api/oms/customer";
export default {
name: "Customer",
@@ -239,8 +239,8 @@ export default {
// fixed: 'right',
// render: (h, row) => {
// const actions = [];
// actions.push(<el-button type="text" size="small" icon="el-icon-edit" onClick={() => this.handleUpdate(row)}>修改</el-button>)
// actions.push(<el-button type="text" size="small" icon="el-icon-delete" onClick={() => this.handleDelete(row)}>删除</el-button>)
// actions.push(<el-button type="text" size="small" icon="Edit" onClick={() => this.handleUpdate(row)}>修改</el-button>)
// actions.push(<el-button type="text" size="small" icon="Delete" onClick={() => this.handleDelete(row)}>删除</el-button>)
// return actions;
// }
// }

View File

@@ -157,10 +157,10 @@ import * as echarts from 'echarts'
import {
UserFilled, ShoppingCart, Money, RefreshRight
} from '@element-plus/icons-vue'
import { listOrder } from '@/api/wms/order'
import { listOrderDetail } from '@/api/wms/orderDetail'
import { listOrder } from '@/api/oms/order'
import { listOrderDetail } from '@/api/oms/orderDetail'
import { listReturnExchange } from '@/api/oa/returnExchange'
import { listCustomer } from '@/api/wms/customer'
import { listCustomer } from '@/api/oms/customer'
const { proxy } = getCurrentInstance()
const { order_status } = proxy.useDict("order_status")

View File

@@ -81,13 +81,12 @@
</template>
<script>
import { listOrderDetail, getOrderDetail, delOrderDetail, addOrderDetail, updateOrderDetail } from "@/api/wms/orderDetail";
import { getOrder } from "@/api/wms/order";
import { listOrderDetail, getOrderDetail, delOrderDetail, addOrderDetail, updateOrderDetail } from "@/api/oms/orderDetail";
import { getOrder } from "@/api/oms/order";
import ProductSelect from '@/components/ProductSelect';
import { EOrderStatus } from "@/utils/enums";
import ProductInfo from '@/components/Renderer/ProductInfo.vue';
import BomInfoMini from '@/components/Renderer/BomInfoMini.vue';
import KLPTable from '@/components/GearTable/index.vue';
export default {
name: "OrderDetailPanel",
@@ -102,7 +101,6 @@ export default {
ProductSelect,
ProductInfo,
BomInfoMini,
KLPTable
},
data() {
return {

View File

@@ -23,7 +23,7 @@
<!-- 自定义操作按钮 -->
<template #actions="{ item }">
<!-- 删除按钮 -->
<el-button size="small" type="text" style="color: red" icon="el-icon-delete"
<el-button size="small" type="text" style="color: red" icon="Delete"
@click.stop="handleDelete(item)"></el-button>
</template>
</klp-list>
@@ -50,7 +50,7 @@
<el-form ref="detailForm" :model="form" :rules="rules" label-width="80px" size="small" class="mt-4">
<el-form-item label="订单ID" prop="orderId">
<el-input style="width: 60%;" v-model="form.orderId" placeholder="无" disabled>
<el-button style="padding: -1;" slot="append" size="small" type="text" icon="el-icon-document-copy"
<el-button style="padding: -1;" slot="append" size="small" type="text" icon="Document-copy"
@click.stop="copyOrderId(form.orderId)"></el-button>
</el-input>
</el-form-item>
@@ -162,7 +162,7 @@
</template>
<script>
import { getOrder, delOrder, addOrder, updateOrder, listOrder } from "@/api/wms/order";
import { getOrder, delOrder, addOrder, updateOrder, listOrder } from "@/api/oms/order";
import OrderDetailPanel from './detail.vue';
import { EOrderStatus } from "@/utils/enums";
import CustomerSelect from '@/components/CustomerSelect/index.vue';