Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡宝山
template_pda_Web
Commits
aee01501
Commit
aee01501
authored
Aug 18, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
942407cf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
287 additions
and
195 deletions
+287
-195
materialInventory.js
src/api/materialInventory.js
+6
-0
inventory.vue
src/views/setup/inventory.vue
+278
-188
materialInventory.vue
src/views/setup/materialInventory.vue
+3
-7
No files found.
src/api/materialInventory.js
View file @
aee01501
...
...
@@ -47,3 +47,9 @@ export function delPd(data) {
params
:
data
})
}
export
function
getDicts
(
dictType
)
{
return
request
({
url
:
'/system/dict/data/type/'
+
dictType
,
method
:
'get'
})
}
src/views/setup/inventory.vue
View file @
aee01501
...
...
@@ -12,7 +12,7 @@
<el-form-item
label=
"orderSn"
prop=
"orderSn"
>
<template>
<span>
{{
queryForm
.
order
Sn
||
'-'
}}
</span>
<span>
{{
move
Sn
||
'-'
}}
</span>
</
template
>
</el-form-item>
<el-form-item
label=
"盘点总数"
prop=
"totalCount"
>
...
...
@@ -30,17 +30,13 @@
<span
v-if=
"values"
:class=
"valuePd"
>
{{
values
}}
</span>
</
template
>
</el-form-item>
<el-form-item
label=
"pallet"
prop=
"pallet"
>
<el-input
ref=
"pallet"
v-model=
"queryForm.pallet"
clearable
placeholder=
"请输入pallet"
style=
"width: 200px"
@
keyup
.
enter
.
native=
"move"
/>
<el-form-item
label=
"pallet:"
>
{{ palletLable }}
<el-button
size=
"small"
style=
"position: relative;right: -50px"
@
click=
"dialogVisible = true"
>
选择
</el-button>
</el-form-item>
<el-form-item
label=
"value"
prop=
"value"
>
<el-form-item
label=
"value
:
"
prop=
"value"
>
<el-input
ref=
"input1"
v-model=
"queryForm.value"
...
...
@@ -56,7 +52,7 @@
</div>
</el-form>
</div>
<el-dialog
class=
"pd"
:title=
"title"
:visible
.
sync=
"open"
width=
"
8
0%"
append-to-body
>
<el-dialog
class=
"pd"
:title=
"title"
:visible
.
sync=
"open"
width=
"
10
0%"
append-to-body
>
<el-table
v-loading=
"loading"
border
:data=
"queryPd.PdList"
:row-class-name=
"rowClassName"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
v-if=
"false"
label=
"orderId"
prop=
"orderId"
:show-overflow-tooltip=
"true"
>
...
...
@@ -83,6 +79,8 @@
<pagination
v-show=
"Pdtotal>0"
class=
"pagination"
:pager-count=
"1"
layout=
"total, sizes, prev, next"
:total=
"Pdtotal"
:page
.
sync=
"queryPd.page"
:limit
.
sync=
"queryPd.rows"
...
...
@@ -95,34 +93,74 @@
<el-button
id=
"primary_del"
ref=
"buttonAAAA"
:class=
"selectedButton === 'A
AAA
' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('A
AAA
')"
:class=
"selectedButton === 'A' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('A')"
>
<div
class=
"buttionText"
>
<span>
A
AAA
</span>
<span>
A
</span>
<span
v-if=
"totalA"
style=
"color: red"
>
({{ totalA }})
</span>
</div>
</el-button>
<el-button
id=
"primary_del"
:class=
"selectedButton === 'B
BBB
' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('B
BBB
')"
:class=
"selectedButton === 'B' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('B')"
>
<div
class=
"buttionText"
>
<span>
B
BBB
</span>
<span>
B
</span>
<span
v-if=
"totalB"
style=
"color: red"
>
({{ totalB }})
</span>
</div>
</el-button>
<el-button
id=
"primary_del"
:class=
"selectedButton === 'C
CCC
' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('C
CCC
')"
:class=
"selectedButton === 'C' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('C')"
>
<div
class=
"buttionText"
>
<span>
C
CCC
</span>
<span>
C
</span>
<span
v-if=
"totalC"
style=
"color: red"
>
({{ totalC }})
</span>
</div>
</el-button>
<el-button
id=
"primary_del"
:class=
"selectedButton === 'D' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('D')"
>
<div
class=
"buttionText"
>
<span>
D
</span>
<span
v-if=
"totalD"
style=
"color: red"
>
({{ totalD }})
</span>
</div>
</el-button>
<el-button
id=
"primary_del"
:class=
"selectedButton === 'E' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('E')"
>
<div
class=
"buttionText"
>
<span>
E
</span>
<span
v-if=
"totalE"
style=
"color: red"
>
({{ totalE }})
</span>
</div>
</el-button>
<el-button
id=
"primary_del"
:class=
"selectedButton === 'F' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('F')"
>
<div
class=
"buttionText"
>
<span>
F
</span>
<span
v-if=
"totalF"
style=
"color: red"
>
({{ totalF }})
</span>
</div>
</el-button>
<el-button
id=
"primary_del"
:class=
"selectedButton === '0' ? 'button_rowBtn_action' : ''"
@
click=
"handleButton('0')"
>
<div
class=
"buttionText"
>
<span>
无
</span>
<span
v-if=
"total0"
style=
"color: red"
>
({{ total0 }})
</span>
</div>
</el-button>
</div>
</div>
<br>
...
...
@@ -131,99 +169,28 @@
<el-button
class=
"button_rowBtn_del"
type=
"primary"
@
click=
"deletePd"
>
删除
</el-button>
</div>
<br>
<el-table
v-loading=
"loading"
class=
"queryTable"
border
:data=
"queryPdDel.PdDelList"
:row-class-name=
"rowClassName"
>
<el-table
v-loading=
"loading"
class=
"queryTable"
border
:data=
"queryPdDel.PdDelList"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
v-if=
"false"
label=
"orderId"
prop=
"orderId"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
orderId
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"custCode"
prop=
"custCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
custCode
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"cusrAbbr"
prop=
"cusrAbbr"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
cusrAbbr
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"dueDate"
prop=
"dueDate"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
dueDate
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"packingList"
prop=
"packingList"
width=
"100"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"packingList"
prop=
"packingList"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
packingList
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"currency"
prop=
"currency"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
currency
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"dest"
prop=
"dest"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
dest
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"quantity"
prop=
"quantity"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
quantity
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"amount"
prop=
"amount"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
amount
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"newWeight"
prop=
"newWeight"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
newWeight
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"crossWeight"
prop=
"crossWeight"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
crossWeight
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"m3"
prop=
"m3"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
m3
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"pdCode"
prop=
"pdCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
pdCode
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"orderListId"
prop=
"orderListId"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderListId
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"payTerms"
prop=
"payTerms"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
payTerms
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"shipment"
prop=
"shipment"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
shipment
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"subCode"
prop=
"subCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
subCode
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"status"
prop=
"status"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
status
||
'-'
}}
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
...
...
@@ -234,15 +201,46 @@
@
pagination=
"handlePa"
/>
</el-dialog>
<el-dialog
title=
"选择人员"
:visible
.
sync=
"dialogVisible"
width=
"500px"
@
close=
"handleDialogClose"
>
<div
class=
"button-container"
>
<el-button
v-for=
"item in palletList"
:key=
"item.dictValue"
:type=
"pallet === item.dictLabel ? 'primary' : 'default'"
style=
"width: 130px;margin-bottom: 10px;margin-left: 10px"
@
click=
"handleSelect(item.dictValue)"
>
{{ item.dictLabel }}
</el-button>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
{
getInfo
}
from
'@/api/login'
import
{
delPd
,
getDelList
,
getPdList
,
getViewList
,
updatePd
}
from
'@/api/materialInventory'
import
{
delPd
,
getDelList
,
getDicts
,
getPdList
,
getViewList
,
updatePd
}
from
'@/api/materialInventory'
export
default
{
name
:
'Inventory'
,
data
()
{
return
{
dialogVisible
:
false
,
pallet
:
''
,
palletList
:
[],
listA
:
[],
listB
:
[],
listC
:
[],
listD
:
[],
listE
:
[],
listF
:
[],
listZero
:
[],
moveId
:
''
,
moveSn
:
''
,
valuePd
:
'bacc-red'
,
selectedButton
:
''
,
loading
:
false
,
...
...
@@ -261,6 +259,10 @@ export default {
totalA
:
undefined
,
totalB
:
undefined
,
totalC
:
undefined
,
totalD
:
undefined
,
totalE
:
undefined
,
totalF
:
undefined
,
total0
:
undefined
,
open
:
false
,
openDel
:
false
,
title
:
''
,
...
...
@@ -273,22 +275,39 @@ export default {
},
values
:
''
,
userIdNew
:
''
,
userNew
:
''
,
// 表单校验
rules
:
{
}
}
},
computed
:
{
palletLable
()
{
const
lable
=
this
.
palletList
.
find
(
item
=>
String
(
item
.
dictValue
)
===
String
(
this
.
pallet
))
return
lable
?
lable
.
dictLabel
:
''
}
},
created
()
{
this
.
moveId
=
this
.
$route
.
query
.
businessId
this
.
moveSn
=
this
.
$route
.
query
.
orderSn
this
.
getList
()
this
.
getPallet
()
this
.
getInfo
()
},
mounted
()
{
},
methods
:
{
getPallet
()
{
getDicts
(
'WCP_ORDER_PALLET'
).
then
(
res
=>
{
console
.
log
(
'dict'
,
res
)
this
.
palletList
=
res
.
data
})
},
handleView
()
{
this
.
queryPd
.
PdList
=
[]
getInfo
().
then
(
response
=>
{
const
queryParams
=
{
businessId
:
response
.
data
.
user
.
businessId
,
orderSn
:
this
.
$route
.
query
.
orderSn
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
}
...
...
@@ -304,28 +323,98 @@ export default {
this
.
Pdtotal
=
''
}
},
handleDel
()
{
this
.
selectedButton
=
'AAAA'
getInfo
()
{
getInfo
().
then
(
response
=>
{
this
.
userNew
=
response
.
data
.
user
.
businessId
})
},
buttonLable
(
data
)
{
const
lable
=
this
.
palletList
.
find
(
item
=>
String
(
item
.
dictValue
)
===
String
(
data
))
return
lable
?
lable
.
dictLabel
:
''
},
buttonValue
(
data
)
{
const
item
=
this
.
palletList
.
find
(
item
=>
item
.
dictLabel
===
data
)
return
item
?
item
.
dictValue
:
''
},
async
handleDel
()
{
const
queryParams
=
{
businessId
:
response
.
data
.
user
.
businessId
,
businessId
:
this
.
userNew
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
,
pallet
:
'AAAA
'
pallet
:
'
'
}
getDelList
(
queryParams
).
then
(
response
=>
{
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
this
.
total
=
response
.
data
.
total
this
.
totalA
=
response
.
data
.
total
this
.
title
=
'删除'
this
.
openDel
=
true
if
(
this
.
openDel
===
false
)
{
this
.
selectedButton
=
''
const
count
=
[
0
,
1
,
2
,
3
,
4
,
5
,
6
]
for
(
let
i
=
0
;
i
<
count
.
length
;
i
++
)
{
const
item
=
count
[
i
]
queryParams
.
pallet
=
item
await
getDelList
(
queryParams
).
then
(
response
=>
{
switch
(
item
)
{
case
0
:
this
.
listZero
.
push
(
response
.
data
.
records
)
this
.
total0
=
Number
(
response
.
data
.
total
)
break
case
1
:
this
.
listA
.
push
(
response
.
data
.
records
)
this
.
totalA
=
Number
(
response
.
data
.
total
)
break
case
2
:
this
.
listB
.
push
(
response
.
data
.
records
)
this
.
totalB
=
Number
(
response
.
data
.
total
)
break
case
3
:
this
.
listC
.
push
(
response
.
data
.
records
)
this
.
totalC
=
Number
(
response
.
data
.
total
)
break
case
4
:
this
.
listD
.
push
(
response
.
data
.
records
)
this
.
totalD
=
Number
(
response
.
data
.
total
)
break
case
5
:
this
.
listE
.
push
(
response
.
data
.
records
)
this
.
totalE
=
Number
(
response
.
data
.
total
)
break
case
6
:
this
.
listF
.
push
(
response
.
data
.
records
)
this
.
totalF
=
Number
(
response
.
data
.
total
)
break
}
if
(
Number
(
response
.
data
.
total
)
>
0
)
{
this
.
selectedButton
=
String
(
this
.
buttonLable
(
item
))
console
.
log
(
'this.this.buttonLable'
,
this
.
selectedButton
)
console
.
log
(
'this.listA'
,
this
.
listA
)
}
})
})
this
.
getList
()
}
switch
(
this
.
selectedButton
)
{
case
'无'
:
this
.
queryPdDel
.
PdDelList
=
this
.
listZero
[
0
]
break
case
'A'
:
this
.
queryPdDel
.
PdDelList
=
this
.
listA
[
0
]
break
case
'B'
:
this
.
queryPdDel
.
PdDelList
=
this
.
listB
[
0
]
break
case
'C'
:
this
.
queryPdDel
.
PdDelList
=
this
.
listC
[
0
]
break
case
'D'
:
this
.
queryPdDel
.
PdDelList
=
this
.
listD
[
0
]
break
case
'E'
:
this
.
queryPdDel
.
PdDelList
=
this
.
listE
[
0
]
break
case
'F'
:
this
.
queryPdDel
.
PdDelList
=
this
.
listF
[
0
]
break
default
:
this
.
queryPdDel
.
PdDelList
=
[]
break
}
this
.
title
=
'删除'
this
.
openDel
=
true
},
handlePa
()
{
getInfo
().
then
(
response
=>
{
const
queryParams
=
{
...
...
@@ -339,50 +428,53 @@ export default {
this
.
total
=
response
.
data
.
total
})
})
this
.
queryPdDel
.
PdDelList
=
[]
},
handleButton
(
buttonName
)
{
console
.
log
(
'buttonName'
,
buttonName
)
this
.
selectedButton
=
buttonName
getInfo
().
then
(
response
=>
{
const
queryParams
=
{
businessId
:
response
.
data
.
user
.
businessId
,
businessId
:
this
.
userNew
,
page
:
this
.
queryPdDel
.
page
,
rows
:
this
.
queryPdDel
.
rows
,
pallet
:
''
}
switch
(
this
.
selectedButton
)
{
case
'AAAA'
:
queryParams
.
pallet
=
'AAAA'
break
case
'BBBB'
:
queryParams
.
pallet
=
'BBBB'
break
case
'CCCC'
:
queryParams
.
pallet
=
'CCCC'
break
}
queryParams
.
pallet
=
this
.
buttonValue
(
buttonName
)
getDelList
(
queryParams
).
then
(
response
=>
{
this
.
queryPdDel
.
PdDelList
=
response
.
data
.
records
this
.
total
=
response
.
data
.
total
if
(
queryParams
.
pallet
===
'AAAA'
)
{
if
(
queryParams
.
pallet
===
'0'
)
{
this
.
total0
=
response
.
data
.
total
}
else
if
(
queryParams
.
pallet
===
'1'
)
{
this
.
totalA
=
response
.
data
.
total
}
else
if
(
queryParams
.
pallet
===
'BBBB
'
)
{
}
else
if
(
queryParams
.
pallet
===
'2
'
)
{
this
.
totalB
=
response
.
data
.
total
}
else
if
(
queryParams
.
pallet
===
'CCCC
'
)
{
}
else
if
(
queryParams
.
pallet
===
'3
'
)
{
this
.
totalC
=
response
.
data
.
total
}
else
if
(
queryParams
.
pallet
===
'4'
)
{
this
.
totalD
=
response
.
data
.
total
}
else
if
(
queryParams
.
pallet
===
'5'
)
{
this
.
totalE
=
response
.
data
.
total
}
else
if
(
queryParams
.
pallet
===
'6'
)
{
this
.
totalF
=
response
.
data
.
total
}
})
}
)
this
.
getList
()
this
.
queryPdDel
.
PdDelList
=
[]
this
.
resetTotal
(
)
},
resetTotal
()
{
this
.
totalA
=
''
this
.
totalB
=
''
this
.
totalC
=
''
this
.
totalD
=
''
this
.
totalE
=
''
this
.
totalF
=
''
this
.
total0
=
''
},
getList
()
{
getInfo
().
then
(
response
=>
{
const
data
=
{
businessId
:
response
.
data
.
user
.
businessId
businessId
:
this
.
$route
.
query
.
businessId
,
orderSn
:
this
.
$route
.
query
.
orderSn
,
userId
:
response
.
data
.
user
.
businessId
}
this
.
userIdNew
=
response
.
data
.
user
.
businessId
getPdList
(
data
).
then
(
res
=>
{
...
...
@@ -397,11 +489,6 @@ export default {
this
.
$refs
.
input1
.
focus
()
})
},
movePallet
()
{
this
.
$nextTick
().
then
(()
=>
{
this
.
$refs
.
pallet
.
focus
()
})
},
handleEnd
()
{
this
.
values
=
this
.
queryForm
.
value
const
values
=
this
.
queryForm
.
value
.
split
(
'-'
)
...
...
@@ -409,9 +496,11 @@ export default {
packingList
:
values
[
0
],
subCode
:
values
[
1
],
userId
:
this
.
userIdNew
,
pdCode
:
this
.
queryForm
.
orderSn
,
pallet
:
this
.
queryForm
.
pallet
pdCode
:
this
.
queryForm
.
value
,
pallet
:
this
.
pallet
,
orderSn
:
this
.
moveSn
}
console
.
log
(
'obj'
,
obj
)
updatePd
(
obj
).
then
(
res
=>
{
this
.
valuePd
=
res
.
code
===
200
?
'bacc-green'
:
''
})
...
...
@@ -419,24 +508,13 @@ export default {
this
.
getList
()
},
deletePd
()
{
getInfo
().
then
(
response
=>
{
const
queryParams
=
{
businessId
:
response
.
data
.
user
.
businessId
,
businessId
:
this
.
userNew
,
page
:
this
.
queryPd
.
page
,
rows
:
this
.
queryPd
.
rows
,
pallet
:
''
}
switch
(
this
.
selectedButton
)
{
case
'AAAA'
:
queryParams
.
pallet
=
'AAAA'
break
case
'BBBB'
:
queryParams
.
pallet
=
'BBBB'
break
case
'CCCC'
:
queryParams
.
pallet
=
'CCCC'
break
}
queryParams
.
pallet
=
String
(
this
.
buttonValue
(
this
.
selectedButton
))
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -449,13 +527,17 @@ export default {
message
:
'删除成功'
,
type
:
'success'
})
}).
catch
(
function
()
{
})
})
this
.
handleDel
()
},
rowClassName
({
row
})
{
return
row
.
status
===
'2'
?
'orange-row'
:
''
},
handleSelect
(
value
)
{
this
.
pallet
=
value
this
.
dialogVisible
=
false
},
handleDialogClose
()
{
}
}
}
...
...
@@ -485,7 +567,9 @@ export default {
bottom
:
initial
;
}
.oneButtion
{
width
:
300px
;
width
:
200px
;
position
:
relative
;
right
:
-40px
;
}
.buttonRegion
{
margin-top
:
20px
;
...
...
@@ -498,17 +582,23 @@ export default {
.button_rowBtn_del
{
font-size
:
17px
;
width
:
80px
;
background-color
:
#f6c761
;
border-color
:
#f6c761
;
}
.button_rowBtn_action
{
background-color
:
#46bcf3
!important
;
border-color
:
#46bcf3
;
color
:
white
;
}
#primary_del
{
color
:
black
;
background-color
:
#ecf9fe
;
border-color
:
#46bcf3
;
background-color
:
#808080
;
border-color
:
#808080
;
margin-left
:
10px
;
margin-bottom
:
10px
;
}
::v-deep
.el-table
.orange-row
{
background-color
:
#
abfaff
!important
;
background-color
:
#
e8d8a2
!important
;
}
.bacc-green
{
color
:
green
;
...
...
src/views/setup/materialInventory.vue
View file @
aee01501
...
...
@@ -5,12 +5,7 @@
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
label=
"orderSn"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderSn
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"人员"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
name
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
orderSn
||
'-'
}}
(
{{
scope
.
row
.
name
||
'-'
}}
)
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
...
...
@@ -54,7 +49,8 @@ export default {
this
.
$router
.
push
({
path
:
'/setup/inventory'
,
query
:
{
businessId
:
item
.
businessId
businessId
:
item
.
businessId
,
orderSn
:
item
.
orderSn
}
})
},
...
...
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