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
7fd9aee0
Commit
7fd9aee0
authored
Jan 29, 2026
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能提交
parent
84da97ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
10 deletions
+32
-10
src/views/warehouse/receiptDoc.vue
+32
-10
No files found.
src/views/warehouse/receiptDoc.vue
View file @
7fd9aee0
...
...
@@ -380,6 +380,12 @@
<
ElTableColumn
show
-
overflow
-
tooltip
align
=
"center"
label
=
"所属用户"
prop
=
"userMark"
/>
<
ElTableColumn
show
-
overflow
-
tooltip
align
=
"center"
width
=
"240"
label
=
"备注"
prop
=
"remark"
...
...
@@ -448,6 +454,12 @@
:
close
-
on
-
click
-
modal
=
"false"
>
<
div
class
=
"import-dialog"
>
<
div
class
=
"label"
style
=
"margin-bottom: 10px"
>
<
span
style
=
"margin-right: 10px"
>
所属客户:
<
/span
>
<
el
-
select
v
-
model
=
"importUserMark"
size
=
"small"
style
=
"width: 100px;"
>
<
el
-
option
v
-
for
=
"user in userMarkList"
:
key
=
"user.userId"
:
label
=
"user.userMark"
:
value
=
"user.userId"
><
/el-option
>
<
/el-select
>
<
/div
>
<
div
class
=
"import-content"
>
<
UploadExcel
v
-
model
=
"importedFileUrl"
...
...
@@ -462,7 +474,7 @@
<
ElDialog
v
-
model
=
"newDialogVisible"
:
title
=
"formId ? '编辑' : '新增'"
width
=
"8
0
%"
width
=
"8
5
%"
:
close
-
on
-
click
-
modal
=
"false"
>
<
div
class
=
"dialog-form"
>
...
...
@@ -538,6 +550,7 @@
<
ElTableColumn
show
-
overflow
-
tooltip
align
=
"center"
width
=
"140"
label
=
"库存SKU"
prop
=
"warehouseSku"
/>
...
...
@@ -545,6 +558,7 @@
<
ElTableColumn
show
-
overflow
-
tooltip
align
=
"center"
width
=
"160"
label
=
"商品名称"
prop
=
"skuName"
/>
...
...
@@ -605,9 +619,15 @@
<
/template
>
<
/ElTableColumn
>
<
ElTableColumn
align
=
"center"
width
=
"100"
label
=
"所属客户"
prop
=
"userMark"
/>
<
ElTableColumn
show
-
overflow
-
tooltip
align
=
"center"
width
=
"
2
40"
width
=
"
1
40"
label
=
"备注"
prop
=
"remark"
>
...
...
@@ -1037,6 +1057,7 @@ function getStartTime() {
const
selectSku
=
ref
(
''
)
const
userMark
=
ref
(
0
)
const
batchUserMark
=
ref
(
0
)
const
importUserMark
=
ref
(
0
)
const
treeData
=
ref
<
InterWarehouseTree
[]
>
()
const
[
searchForm
,
resetSearchForm
]
=
useValue
<
warehouseSearchForm
>
({
}
)
...
...
@@ -1269,11 +1290,11 @@ const handleLocalImport = async ({
const
target
=
locationList
.
value
.
find
((
item
:
InterProductList
)
=>
{
return
item
.
locationCode
==
importedItem
?.
locationCode
}
)
const
item
=
userMarkList
.
value
.
find
(
e
=>
e
.
userId
===
u
serMark
.
value
)
const
item
=
userMarkList
.
value
.
find
(
e
=>
e
.
userId
===
importU
serMark
.
value
)
return
{
customerId
:
userMark
.
value
!==
0
?
u
serMark
.
value
:
null
,
customerName
:
u
serMark
.
value
!==
0
?
item
?.
userName
||
''
:
null
,
userMark
:
u
serMark
.
value
!==
0
?
item
?.
userMark
:
null
,
customerId
:
importUserMark
.
value
!==
0
?
importU
serMark
.
value
:
null
,
customerName
:
importU
serMark
.
value
!==
0
?
item
?.
userName
||
''
:
null
,
userMark
:
importU
serMark
.
value
!==
0
?
item
?.
userMark
:
null
,
skuImage
:
skuItem
.
skuImage
,
warehouseSku
:
skuItem
.
warehouseSku
,
skuName
:
skuItem
.
productName
,
...
...
@@ -1724,13 +1745,13 @@ const submitPurchase = async () => {
ElMessage
.
warning
(
'请输入库存 SKU'
)
return
}
const
item
=
userMarkList
.
value
.
find
(
e
=>
e
.
userId
===
u
serMark
.
value
)
const
item
=
userMarkList
.
value
.
find
(
e
=>
e
.
userId
===
batchU
serMark
.
value
)
const
filteredSkusList
=
await
batchAddCommodity
(
purchaseTextarea
.
value
)
const
mergedProductList
=
filteredSkusList
.
map
((
skuItem
)
=>
{
return
{
customerId
:
userMark
.
value
!==
0
?
u
serMark
.
value
:
null
,
customerName
:
u
serMark
.
value
!==
0
?
item
?.
userName
||
''
:
null
,
userMark
:
u
serMark
.
value
!==
0
?
item
?.
userMark
:
null
,
customerId
:
batchUserMark
.
value
!==
0
?
batchU
serMark
.
value
:
null
,
customerName
:
batchU
serMark
.
value
!==
0
?
item
?.
userName
||
''
:
null
,
userMark
:
batchU
serMark
.
value
!==
0
?
item
?.
userMark
:
null
,
skuImage
:
skuItem
.
skuImage
,
warehouseSku
:
skuItem
.
warehouseSku
,
skuName
:
skuItem
.
productName
,
...
...
@@ -1760,6 +1781,7 @@ const importedFileUrl = ref('')
const
importData
=
async
()
=>
{
importDialogVisible
.
value
=
true
importedFileUrl
.
value
=
''
importUserMark
.
value
=
0
}
const
handleBatchDelete
=
async
()
=>
{
if
(
!
selections
.
value
.
length
)
{
...
...
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