Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
115a5eaa
Commit
115a5eaa
authored
Jan 30, 2026
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能提交
parent
7fd9aee0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
7 deletions
+62
-7
src/types/api/warehouse.ts
+1
-0
src/views/warehouse/issueDoc.vue
+16
-0
src/views/warehouse/receiptDoc.vue
+8
-4
src/views/warehouse/warning.vue
+37
-3
No files found.
src/types/api/warehouse.ts
View file @
115a5eaa
...
@@ -102,6 +102,7 @@ export interface InterskuList {
...
@@ -102,6 +102,7 @@ export interface InterskuList {
id
?:
number
id
?:
number
productId
?:
number
productId
?:
number
sku
?:
string
sku
?:
string
userMark
?:
string
skuName
?:
string
skuName
?:
string
productName
?:
string
productName
?:
string
skuImage
?:
string
skuImage
?:
string
...
...
src/views/warehouse/issueDoc.vue
View file @
115a5eaa
...
@@ -272,6 +272,7 @@
...
@@ -272,6 +272,7 @@
header
-
align
=
"center"
header
-
align
=
"center"
align
=
"center"
align
=
"center"
><
/ElTableColumn
>
><
/ElTableColumn
>
<
ElTableColumn
<
ElTableColumn
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
v
-
if
=
"nodeCode === 'PENDING_SUBMIT'"
width
=
"100"
width
=
"100"
...
@@ -386,6 +387,13 @@
...
@@ -386,6 +387,13 @@
prop
=
"remark"
prop
=
"remark"
/>
/>
<
ElTableColumn
<
ElTableColumn
label
=
"所属客户"
show
-
overflow
-
tooltip
prop
=
"userMark"
header
-
align
=
"center"
align
=
"center"
><
/ElTableColumn
>
<
ElTableColumn
show
-
overflow
-
tooltip
show
-
overflow
-
tooltip
align
=
"center"
align
=
"center"
label
=
"创建时间"
label
=
"创建时间"
...
@@ -687,6 +695,12 @@
...
@@ -687,6 +695,12 @@
prop
=
"locationCode"
prop
=
"locationCode"
/>
/>
<
ElTableColumn
<
ElTableColumn
show
-
overflow
-
tooltip
align
=
"center"
label
=
"所属客户"
prop
=
"userMark"
/>
<
ElTableColumn
width
=
"80"
width
=
"80"
align
=
"center"
align
=
"center"
header
-
align
=
"center"
header
-
align
=
"center"
...
@@ -1390,6 +1404,7 @@ const skudblclick = (val: InterskuList) => {
...
@@ -1390,6 +1404,7 @@ const skudblclick = (val: InterskuList) => {
locationCode
=
''
,
locationCode
=
''
,
price
=
null
,
price
=
null
,
productNo
=
''
,
productNo
=
''
,
userMark
=
''
,
warehouseSku
=
''
,
warehouseSku
=
''
,
skuName
=
''
,
skuName
=
''
,
image
=
''
,
image
=
''
,
...
@@ -1417,6 +1432,7 @@ const skudblclick = (val: InterskuList) => {
...
@@ -1417,6 +1432,7 @@ const skudblclick = (val: InterskuList) => {
warehouseSku
,
warehouseSku
,
skuName
,
skuName
,
productNo
,
productNo
,
userMark
,
locationCode
:
locationCode
??
''
,
// 确保空值处理
locationCode
:
locationCode
??
''
,
// 确保空值处理
locationId
:
locationId
??
null
,
// 确保空值处理
locationId
:
locationId
??
null
,
// 确保空值处理
costPrice
:
price
,
costPrice
:
price
,
...
...
src/views/warehouse/receiptDoc.vue
View file @
115a5eaa
...
@@ -331,7 +331,9 @@
...
@@ -331,7 +331,9 @@
label
=
"库存SKU"
label
=
"库存SKU"
width
=
"180"
width
=
"180"
prop
=
"warehouseSku"
prop
=
"warehouseSku"
/>
>
<
/ElTableColumn
>
<
ElTableColumn
<
ElTableColumn
show
-
overflow
-
tooltip
show
-
overflow
-
tooltip
...
@@ -553,7 +555,8 @@
...
@@ -553,7 +555,8 @@
width
=
"140"
width
=
"140"
label
=
"库存SKU"
label
=
"库存SKU"
prop
=
"warehouseSku"
prop
=
"warehouseSku"
/>
>
<
/ElTableColumn
>
<
ElTableColumn
<
ElTableColumn
show
-
overflow
-
tooltip
show
-
overflow
-
tooltip
...
@@ -875,7 +878,7 @@
...
@@ -875,7 +878,7 @@
show
-
word
-
limit
show
-
word
-
limit
/>
/>
<
div
style
=
"margin-top: 12px; color: #777"
>
<
div
style
=
"margin-top: 12px; color: #777"
>
{{
'多个字段使用_##_,_##_隔开'
}}
多个字段使用
,
隔开
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
template
#
footer
>
<
template
#
footer
>
...
@@ -1481,6 +1484,7 @@ const getUserMark = async () => {
...
@@ -1481,6 +1484,7 @@ const getUserMark = async () => {
}
}
const
addDialog
=
async
(
i
:
number
,
v
:
InterWarehousePage
|
null
)
=>
{
const
addDialog
=
async
(
i
:
number
,
v
:
InterWarehousePage
|
null
)
=>
{
await
getUserMark
()
if
(
i
===
2
)
{
if
(
i
===
2
)
{
if
(
v
)
formId
.
value
=
v
.
id
if
(
v
)
formId
.
value
=
v
.
id
if
(
v
)
getProduct
(
v
.
id
)
if
(
v
)
getProduct
(
v
.
id
)
...
@@ -1488,7 +1492,7 @@ const addDialog = async (i: number, v: InterWarehousePage | null) => {
...
@@ -1488,7 +1492,7 @@ const addDialog = async (i: number, v: InterWarehousePage | null) => {
// editForm.value = JSON.parse(JSON.stringify(v))
// editForm.value = JSON.parse(JSON.stringify(v))
}
else
{
}
else
{
await
nextTick
()
await
nextTick
()
await
getUserMark
()
editForm
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
editForm2
.
value
))
editForm
.
value
=
JSON
.
parse
(
JSON
.
stringify
(
editForm2
.
value
))
resetEditForm
()
resetEditForm
()
const
userJson
=
localStorage
.
getItem
(
'user'
)
const
userJson
=
localStorage
.
getItem
(
'user'
)
...
...
src/views/warehouse/warning.vue
View file @
115a5eaa
...
@@ -13,7 +13,7 @@ import {
...
@@ -13,7 +13,7 @@ import {
WarehouseWarning
,
WarehouseWarning
,
factoryWarehouseInventoryPrint
,
factoryWarehouseInventoryPrint
,
exportWarehouseInfo
,
exportWarehouseInfo
,
loactionData
,
loactionData
,
getLocalFactoryList
,
}
from
'@/api/warehouse.ts'
}
from
'@/api/warehouse.ts'
import
{
AnyObject
}
from
'@/types/api/warehouse'
import
{
AnyObject
}
from
'@/types/api/warehouse'
import
{
ref
,
computed
}
from
'vue'
import
{
ref
,
computed
}
from
'vue'
...
@@ -21,11 +21,16 @@ import SplitDiv from '@/components/splitDiv/splitDiv.vue'
...
@@ -21,11 +21,16 @@ import SplitDiv from '@/components/splitDiv/splitDiv.vue'
import
{
filePath
}
from
'@/api/axios.ts'
import
{
filePath
}
from
'@/api/axios.ts'
import
{
useEnterKeyTrigger
}
from
'@/utils/hooks/useEnterKeyTrigger.ts'
import
{
useEnterKeyTrigger
}
from
'@/utils/hooks/useEnterKeyTrigger.ts'
import
{
getInventoryLowerLimitApi
}
from
'@/api/externalAuth'
import
{
getInventoryLowerLimitApi
}
from
'@/api/externalAuth'
interface
UserMark
{
userId
:
number
|
string
userMark
:
string
userName
:
string
}
const
searchForm
=
ref
({
const
searchForm
=
ref
({
warehouseId
:
''
,
warehouseId
:
''
,
inventoryStart
:
''
,
inventoryStart
:
''
,
inventoryEnd
:
''
,
inventoryEnd
:
''
,
userMark
:
''
,
productNo
:
''
,
productNo
:
''
,
skuName
:
''
,
skuName
:
''
,
warehouseSku
:
''
,
warehouseSku
:
''
,
...
@@ -38,6 +43,7 @@ const searchForm = ref({
...
@@ -38,6 +43,7 @@ const searchForm = ref({
occupyInventoryStart
:
''
,
occupyInventoryStart
:
''
,
})
})
const
warehouseList
=
ref
<
warehouseInfo
[]
>
([])
const
warehouseList
=
ref
<
warehouseInfo
[]
>
([])
const
userMarkList
=
ref
<
UserMark
[]
>
([])
const
logList
=
ref
<
LogListData
[]
>
([])
const
logList
=
ref
<
LogListData
[]
>
([])
const
selections
=
ref
<
WarehouseWarning
[]
>
([])
const
selections
=
ref
<
WarehouseWarning
[]
>
([])
const
leftData
=
ref
<
WarehouseWarning
[]
>
([])
const
leftData
=
ref
<
WarehouseWarning
[]
>
([])
...
@@ -56,6 +62,13 @@ const isSameWarehouse = computed(() => {
...
@@ -56,6 +62,13 @@ const isSameWarehouse = computed(() => {
const
modifyLocationDialog
=
ref
(
false
)
const
modifyLocationDialog
=
ref
(
false
)
const
modifyProductNoDialog
=
ref
(
false
)
const
modifyProductNoDialog
=
ref
(
false
)
const
modifyCustomSkuDialog
=
ref
(
false
)
const
modifyCustomSkuDialog
=
ref
(
false
)
const
getUserMark
=
async
()
=>
{
const
{
data
}
=
await
getLocalFactoryList
()
userMarkList
.
value
=
[
...[{
userMark
:
'九猫商品'
,
userId
:
'JMP'
,
userName
:
''
}],
...
data
]
}
/** 修改库位 */
/** 修改库位 */
const
locationForm
=
ref
({
const
locationForm
=
ref
({
...
@@ -351,6 +364,7 @@ const getInventoryLowerLimit = async () => {
...
@@ -351,6 +364,7 @@ const getInventoryLowerLimit = async () => {
}
}
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
getData
()
getData
()
getUserMark
()
getWarehouse
()
getWarehouse
()
getInventoryLowerLimit
()
getInventoryLowerLimit
()
})
})
...
@@ -387,6 +401,7 @@ onMounted(async () => {
...
@@ -387,6 +401,7 @@ onMounted(async () => {
prop=
"productNo"
prop=
"productNo"
label=
"款号 "
label=
"款号 "
></el-table-column>
></el-table-column>
<el-table-column
align=
"center"
prop=
"number"
label=
"打印数量"
>
<el-table-column
align=
"center"
prop=
"number"
label=
"打印数量"
>
<template
#
default=
"
{ row }">
<template
#
default=
"
{ row }">
<el-input
<el-input
...
@@ -409,6 +424,7 @@ onMounted(async () => {
...
@@ -409,6 +424,7 @@ onMounted(async () => {
<el-form
<el-form
class=
"search-form"
class=
"search-form"
inline
inline
label-width=
"80px"
:model=
"searchForm"
:model=
"searchForm"
ref=
"searchFormRef"
ref=
"searchFormRef"
>
>
...
@@ -418,7 +434,7 @@ onMounted(async () => {
...
@@ -418,7 +434,7 @@ onMounted(async () => {
clearable
clearable
filterable
filterable
placeholder=
"请输入仓库"
placeholder=
"请输入仓库"
style=
"width: 1
40
px"
style=
"width: 1
75
px"
>
>
<el-option
<el-option
v-for=
"item in warehouseList"
v-for=
"item in warehouseList"
...
@@ -497,6 +513,19 @@ onMounted(async () => {
...
@@ -497,6 +513,19 @@ onMounted(async () => {
clearable
clearable
></el-input>
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"所属客户"
>
<el-select
v-model=
"searchForm.userMark"
clearable
filterable
placeholder=
"请输入所属客户"
style=
"width: 140px"
>
<el-option
v-for=
"user in userMarkList"
:key=
"user.userMark"
:label=
"user.userMark"
:value=
"user.userMark"
></el-option>
</el-select>
</el-form-item>
<el-form-item
style=
"margin-top: 5px"
>
<el-form-item
style=
"margin-top: 5px"
>
<el-button
type=
"primary"
@
click=
"getData"
ref=
"searchBtnRef"
<el-button
type=
"primary"
@
click=
"getData"
ref=
"searchBtnRef"
>
查询
</el-button
>
查询
</el-button
...
@@ -618,6 +647,11 @@ onMounted(async () => {
...
@@ -618,6 +647,11 @@ onMounted(async () => {
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
prop=
"userMark"
label=
"所属客户"
></el-table-column>
<el-table-column
align=
"center"
prop=
"unit"
prop=
"unit"
label=
"单位"
label=
"单位"
width=
"60"
width=
"60"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment