diff --git a/src/api/inventory/inventoryInboundApi.js b/src/api/inventory/inventoryInboundApi.js
index 0a842f0..f9bf484 100644
--- a/src/api/inventory/inventoryInboundApi.js
+++ b/src/api/inventory/inventoryInboundApi.js
@@ -1,7 +1,6 @@
import { baseRequest } from '@/utils/request'
const request = (url, ...arg) => baseRequest(`/inventory/inbound/` + url, ...arg)
-const produceRequest = (url, ...arg) => baseRequest(`/produce/inbound/` + url, ...arg)
/**
* 入库单Api接口管理器
*
@@ -19,7 +18,7 @@ export default {
},
// 获取入库单 条码列表
inventoryInboundBarcodeTree(data) {
- return produceRequest('barcode/tree/list', data, 'get')
+ return request('barcode/tree/list', data, 'get')
},
// 获取入库单 条码(子级)列表
inventoryInboundBarcodeTreeChildren(data) {
diff --git a/src/api/inventory/inventoryOutboundApi.js b/src/api/inventory/inventoryOutboundApi.js
new file mode 100644
index 0000000..cb6e186
--- /dev/null
+++ b/src/api/inventory/inventoryOutboundApi.js
@@ -0,0 +1,36 @@
+import { baseRequest } from '@/utils/request'
+
+const request = (url, ...arg) => baseRequest(`/inventory/outbound/` + url, ...arg)
+
+/**
+ * 出库单Api接口管理器
+ *
+ * @author Luck
+ * @date 2024/10/18 22:35
+ **/
+export default {
+ // 获取出库单分页
+ inventoryOutboundPage(data) {
+ return request('page', data, 'get')
+ },
+ // 获取出库单明细信息列表
+ inventoryOutboundDetailList(data) {
+ return request('detail/list', data, 'get')
+ },
+ // 获取出库单 条码列表
+ inventoryOutboundBarcodeTree(data) {
+ return request('barcode/tree/list', data, 'get')
+ },
+ // 获取出库单 条码(子级)列表
+ inventoryOutboundBarcodeTreeChildren(data) {
+ return request('barcode/tree/childrenList', data, 'get')
+ },
+ // 删除出库单
+ inventoryOutboundDelete(data) {
+ return request('delete', data)
+ },
+ // 获取出库单详情
+ inventoryOutboundDetail(data) {
+ return request('detail', data, 'get')
+ }
+}
diff --git a/src/views/productionBusiness/inventory/outbound/columns/tableColumn.js b/src/views/productionBusiness/inventory/outbound/columns/tableColumn.js
new file mode 100644
index 0000000..febbca7
--- /dev/null
+++ b/src/views/productionBusiness/inventory/outbound/columns/tableColumn.js
@@ -0,0 +1,95 @@
+export const tableColumns = [
+ {
+ title: '单号',
+ dataIndex: 'billNumber',
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+ {
+ title: '业务日期',
+ dataIndex: 'businessDate',
+ align: 'center',
+ sorter: true,
+ sortDirections: ['descend', 'ascend'],
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+ {
+ title: '类型',
+ dataIndex: 'type',
+ align: 'center',
+ resizable: true,
+ width: 100,
+ ellipsis: true
+ },
+ {
+ title: '客户名称',
+ dataIndex: 'customerName',
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+ {
+ title: '客户编码',
+ dataIndex: 'customerNumber',
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+ {
+ title: '仓库',
+ dataIndex: 'storeName',
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+ {
+ title: '仓库编码',
+ dataIndex: 'storeNumber',
+ align: 'center',
+ resizable: true,
+ width: 250,
+ ellipsis: true
+ },
+ {
+ title: '车牌号',
+ dataIndex: 'carNumber',
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+ {
+ title: '备注',
+ dataIndex: 'remarks',
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+
+ {
+ title: '创建人',
+ dataIndex: 'createUserName',
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ },
+ {
+ title: '创建时间',
+ dataIndex: 'createTime',
+ sorter: true,
+ sortDirections: ['descend', 'ascend'],
+ align: 'center',
+ resizable: true,
+ width: 200,
+ ellipsis: true
+ }
+]
diff --git a/src/views/productionBusiness/inventory/outbound/detail/detail.vue b/src/views/productionBusiness/inventory/outbound/detail/detail.vue
new file mode 100644
index 0000000..34f8192
--- /dev/null
+++ b/src/views/productionBusiness/inventory/outbound/detail/detail.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看条码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/productionBusiness/inventory/outbound/formFields/detailFields.js b/src/views/productionBusiness/inventory/outbound/formFields/detailFields.js
new file mode 100644
index 0000000..7022ad2
--- /dev/null
+++ b/src/views/productionBusiness/inventory/outbound/formFields/detailFields.js
@@ -0,0 +1,69 @@
+import { required } from '@/utils/formRules'
+import tool from '@/utils/tool'
+
+export const unitFormItems = reactive([
+ {
+ label: '单号:',
+ name: 'billNumber',
+ type: 'a-input-number',
+ span: 6,
+ attrs: {
+ placeholder: '请输入编码',
+ allowClear: true
+ }
+ },
+ {
+ label: '业务日期:',
+ name: 'businessDate',
+ type: 'a-date-picker',
+ span: 6,
+ attrs: {
+ placeholder: '请输入业务日期',
+ allowClear: true,
+ valueFormat: 'YYYY-MM-DD HH:mm:ss'
+ }
+ },
+ {
+ label: '状态:',
+ name: 'state',
+ type: 'a-select',
+ span: 6,
+ attrs: {
+ placeholder: '请选择可用状态',
+ options: tool.dictList('PRODUCE_REPORT_STATE')
+ },
+ defaultValue: ''
+ },
+ {
+ label: '类型:',
+ name: 'produceType',
+ type: 'a-select',
+ span: 6,
+ attrs: {
+ options: tool.dictList('PRODUCE_TYPE')
+ }
+ },
+ {
+ label: '生产线:',
+ name: 'productionLineName',
+ type: 'a-select',
+ span: 6,
+ attrs: {
+ placeholder: '请选择是否基本单位',
+ options: tool.dictList('YES_NO')
+ },
+ defaultValue: 'NO'
+ },
+ {
+ label: '备注:',
+ name: 'remarks',
+ type: 'a-textarea',
+ span: 24,
+ attrs: {
+ placeholder: '请输入备注',
+ allowClear: true
+ }
+ }
+])
+
+export const formRules = {}
diff --git a/src/views/productionBusiness/inventory/outbound/formFields/searchFields.js b/src/views/productionBusiness/inventory/outbound/formFields/searchFields.js
new file mode 100644
index 0000000..8dee48d
--- /dev/null
+++ b/src/views/productionBusiness/inventory/outbound/formFields/searchFields.js
@@ -0,0 +1,31 @@
+import tool from '@/utils/tool'
+
+export const searchFields = [
+ { name: 'billNumber', label: '单号', component: 'a-input', props: { placeholder: '请输入单号' } },
+ {
+ label: '类型:',
+ name: 'type',
+ component: 'a-select',
+ props: {
+ placeholder: '请选择类型',
+ allowClear: true,
+ options: tool.dictList('OUTBOUND_TYPE')
+ }
+ },
+ {
+ label: '仓库:',
+ name: 'storeId',
+ component: 'a-tree-select',
+ props: {
+ placeholder: '请选择仓库',
+ treeData: [],
+ fieldNames: {
+ children: 'children',
+ label: 'name',
+ value: 'id'
+ }
+ }
+ },
+ { name: 'customerName', label: '客户名称', component: 'a-input', props: { placeholder: '请输入客户名称' } },
+ { name: 'customerNumber', label: '客户编码', component: 'a-input', props: { placeholder: '请输入客户编码' } }
+]
diff --git a/src/views/productionBusiness/inventory/outbound/index.vue b/src/views/productionBusiness/inventory/outbound/index.vue
new file mode 100644
index 0000000..cacc532
--- /dev/null
+++ b/src/views/productionBusiness/inventory/outbound/index.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+ {{ record.billNumber }}
+
+
+ {{
+ $TOOL.dictTypeData('OUTBOUND_TYPE', record.type || '')
+ }}
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+