Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
Details
Activity
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
ximai
mes-pda-scan
Commits
ce7d487d
Commit
ce7d487d
authored
Mar 18, 2024
by
xiangzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码格式化
parent
8f8312e1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
498 additions
and
513 deletions
+498
-513
confirComplete.vue
pages/confirComplete/confirComplete.vue
+8
-8
index.vue
pages/index/index.vue
+84
-87
inventoryForm.vue
pages/inventoryCounting/inventoryForm.vue
+99
-104
inventoryList.vue
pages/inventoryCounting/inventoryList.vue
+7
-7
waitInventoried.vue
pages/inventoryCounting/waitInventoried.vue
+118
-124
positionTansfer.vue
pages/positionTansfer/positionTansfer.vue
+182
-183
No files found.
pages/confirComplete/confirComplete.vue
View file @
ce7d487d
...
...
@@ -122,28 +122,28 @@ export default {
style
:
''
,
type
:
'warning'
,
text
:
'返回'
,
way
:
'goBack'
,
way
:
'goBack'
},
{
style
:
''
,
type
:
'primary'
,
text
:
'提交'
,
way
:
'goSubmit'
,
way
:
'goSubmit'
}
]
,
]
};
},
methods
:
{
getBtnHandle
(
row
){
this
[
row
.
way
]()
getBtnHandle
(
row
)
{
this
[
row
.
way
]()
;
},
goBack
(){
goBack
()
{
uni
.
navigateBack
();
},
goSubmit
(){},
goSubmit
()
{},
handleInput
(
e
)
{
console
.
log
(
e
,
'eee'
);
}
,
}
}
};
</
script
>
...
...
pages/index/index.vue
View file @
ce7d487d
...
...
@@ -4,20 +4,17 @@
<view
class=
"lines"
></view>
<view
class=
"boxs"
>
<uni-section
v-for=
"(item, index) in tableData"
:key=
"index"
:title=
"item.title"
type=
"line"
>
<u-row
gutter=
"10"
>
<u-col
v-for=
"(v,i) in item.list"
:key=
"i"
span=
"3"
>
<u-row
gutter=
"10"
>
<u-col
v-for=
"(v, i) in item.list"
:key=
"i"
span=
"3"
>
<navigator
:url=
"v.url"
open-type=
"navigate"
>
<view
class=
"demo-layout"
>
<u-image
:src=
"v.src"
width=
"100rpx"
height=
"100rpx"
></u-image>
<u-image
:src=
"v.src"
width=
"100rpx"
height=
"100rpx"
></u-image>
<text>
{{
v
.
text
}}
</text>
</view>
</navigator>
</u-col>
</u-row>
</uni-section>
</view>
</view>
</
template
>
...
...
@@ -51,18 +48,18 @@ export default {
src
:
require
(
'@/static/images/qtck.png'
),
text
:
'库存盘点'
,
url
:
'/pages/inventoryCounting/inventoryCounting'
},
}
]
}
]
};
},
created
()
{
this
.
screenHeight
=
uni
.
getSystemInfoSync
().
screenHeight
created
()
{
this
.
screenHeight
=
uni
.
getSystemInfoSync
().
screenHeight
;
},
methods
:
{
handleClick
(
v
)
{
uni
.
nav
uni
.
nav
;
}
}
};
...
...
@@ -73,30 +70,30 @@ export default {
background
:
#fff
;
.title
{
background
:
#fff
;
padding-top
:
20rpx
;
padding-top
:
20rpx
;
height
:
60rpx
;
font-size
:
28rpx
;
line-height
:
40rpx
;
padding-left
:
32rpx
;
padding-left
:
32rpx
;
font-weight
:
600
;
}
.lines
{
height
:
32rpx
;
background
:
#f8f8f8
;
.lines
{
height
:
32rpx
;
background
:
#f8f8f8
;
}
}
.demo-layout
{
height
:
164rpx
;
border-radius
:
4px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
text
{
margin-top
:
24rpx
;
font-size
:
24rpx
;
color
:
#000
;
text
{
margin-top
:
24rpx
;
font-size
:
24rpx
;
color
:
#000
;
}
}
</
style
>
pages/inventoryCounting/inventoryForm.vue
View file @
ce7d487d
...
...
@@ -38,20 +38,16 @@
</view>
</
template
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
show
:
true
,
show
:
true
};
},
computed
:
{
},
methods
:
{
}
}
computed
:
{},
methods
:
{}
};
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -104,7 +100,7 @@
}
.bottomBox
{
padding
:
20rpx
;
.boxAll
{
.boxAll
{
display
:
flex
;
justify-content
:
space-between
;
background
:
#f8f8f8
;
...
...
@@ -122,5 +118,4 @@
}
}
}
</
style
>
pages/inventoryCounting/inventoryList.vue
View file @
ce7d487d
...
...
@@ -52,7 +52,7 @@
<view
class=
"boxRight"
>
<view
class=
"items"
>
891/1000pcs
</view>
<view
class=
"itemsBtn"
>
<u-button
size=
"mini"
class=
""
type=
"primary"
@
click=
"checkShowModel
=
true"
>
盘点
</u-button>
<u-button
size=
"mini"
class=
""
type=
"primary"
@
click=
"checkShowModel
=
true"
>
盘点
</u-button>
</view>
</view>
</view>
...
...
@@ -109,7 +109,7 @@ export default {
},
checkForm
:
{
name
:
''
}
,
}
};
},
computed
:
{},
...
...
@@ -127,9 +127,9 @@ export default {
ontabtap
(
e
,
type
)
{
console
.
log
(
'切换tab'
,
e
,
type
);
},
addConfirm
(){
this
.
addShowModel
=
false
}
,
addConfirm
()
{
this
.
addShowModel
=
false
;
}
}
};
</
script
>
...
...
@@ -232,9 +232,9 @@ export default {
justify-content
:
space-between
;
border-bottom
:
1px
solid
#333
;
}
.slot-content
{
.slot-content
{
padding
:
20rpx
;
.u-form-item
{
.u-form-item
{
padding
:
0
;
}
}
...
...
pages/inventoryCounting/waitInventoried.vue
View file @
ce7d487d
...
...
@@ -24,9 +24,7 @@
</view>
</view>
<view
class=
"workBtn"
>
<u-button
size=
"mini"
class=
""
type=
"primary"
@
click=
'handleClickWork()'
>
盘点作业
</u-button>
<u-button
size=
"mini"
class=
""
type=
"primary"
@
click=
"handleClickWork()"
>
盘点作业
</u-button>
</view>
</view>
<view
v-if=
"!show"
class=
"bottomBox"
>
...
...
@@ -47,25 +45,22 @@
</view>
</
template
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
show
:
true
,
show
:
true
};
},
computed
:
{
},
computed
:
{},
methods
:
{
handleClickWork
()
{
handleClickWork
()
{
uni
.
navigateTo
({
url
:
`/pages/inventoryCounting/inventoryList`
})
},
});
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -114,13 +109,13 @@
transform
:
translate
(
-50%
,
-50%
);
color
:
#aaa
;
}
.workBtn
{
margin-right
:
20rpx
;
.workBtn
{
margin-right
:
20rpx
;
}
}
.bottomBox
{
padding
:
20rpx
;
.boxAll
{
.boxAll
{
display
:
flex
;
justify-content
:
space-between
;
background
:
#f8f8f8
;
...
...
@@ -136,9 +131,9 @@
line-height
:
40rpx
;
}
}
.boxRight
{
.boxRight
{
padding
:
20rpx
;
.items
{
.items
{
color
:
#333
;
font-size
:
24rpx
;
height
:
40rpx
;
...
...
@@ -147,5 +142,4 @@
}
}
}
</
style
>
pages/positionTansfer/positionTansfer.vue
View file @
ce7d487d
<
template
>
<view
class=
"lists"
>
<StickyNavBar
class=
'stickyBox'
>
<StickyNavBar
class=
"stickyBox"
>
<NavBar
title=
"仓位转移"
></NavBar>
<view
class=
"selectSheet"
>
<u-row
gutter=
"16"
>
<u-col
span=
"6"
>
<u-input
v-model=
"value"
placeholder=
'请选择工厂'
:type=
"type"
:border=
"border"
@
click=
"show = true"
/>
<u-input
v-model=
"value"
placeholder=
"请选择工厂"
:type=
"type"
:border=
"border"
@
click=
"show = true"
/>
<u-action-sheet
:list=
"actionSheetList"
v-model=
"show"
@
click=
"actionSheetCallback"
></u-action-sheet>
</u-col>
<u-col
span=
"6"
>
<u-input
v-model=
"value"
placeholder=
'请选择仓库别'
:type=
"type"
:border=
"border"
@
click=
"show = true"
/>
<u-input
v-model=
"value"
placeholder=
"请选择仓库别"
:type=
"type"
:border=
"border"
@
click=
"show = true"
/>
<u-action-sheet
:list=
"actionSheetList"
v-model=
"show"
@
click=
"actionSheetCallback"
></u-action-sheet>
</u-col>
</u-row>
...
...
@@ -19,7 +19,7 @@
<uni-easyinput
prefixIcon=
"search"
v-model=
"value"
focus
placeholder=
"请扫描产品包装条码/外箱码"
@
input=
"handleInput"
></uni-easyinput>
</view>
</StickyNavBar>
<ContentLoadingMore
class=
'cardbox'
>
<ContentLoadingMore
class=
"cardbox"
>
<view
class=
"cardContent"
>
<view
class=
"cardTitle"
>
<text
class=
"cardItemLabel"
>
物料批号:
</text>
...
...
@@ -129,16 +129,15 @@
<text
class=
"btn-text"
>
提交
</text>
</u-button>
</view>
-->
<BottomBtn
:btnArr=
'btnArr'
@
getBtnHandle=
'getBtnHandle'
>
</BottomBtn>
<BottomBtn
:btnArr=
"btnArr"
@
getBtnHandle=
"getBtnHandle"
></BottomBtn>
</view>
</
template
>
<
script
>
import
StickyNavBar
from
'@/components/StickyNavBar/index.vue'
;
import
ContentLoadingMore
from
'@/components/ContentLoadingMore/index.vue'
;
import
BottomBtn
from
'@/components/BottomBtn/index.vue'
;
export
default
{
import
StickyNavBar
from
'@/components/StickyNavBar/index.vue'
;
import
ContentLoadingMore
from
'@/components/ContentLoadingMore/index.vue'
;
import
BottomBtn
from
'@/components/BottomBtn/index.vue'
;
export
default
{
components
:
{
StickyNavBar
,
ContentLoadingMore
,
...
...
@@ -167,38 +166,38 @@
style
:
''
,
type
:
'warning'
,
text
:
'取消'
,
way
:
'goBack'
,
way
:
'goBack'
},
{
style
:
''
,
type
:
'primary'
,
text
:
'提交'
,
way
:
'goSubmit'
,
way
:
'goSubmit'
}
],
]
};
},
methods
:
{
getBtnHandle
(
row
){
this
[
row
.
way
]()
getBtnHandle
(
row
)
{
this
[
row
.
way
]()
;
},
goBack
(){
goBack
()
{
uni
.
navigateBack
();
},
goSubmit
(){},
goSubmit
()
{},
// 点击actionSheet回调
actionSheetCallback
(
index
)
{
this
.
value
=
this
.
actionSheetList
[
index
].
text
;
},
handleInput
(
e
)
{
console
.
log
(
e
,
'eee'
)
console
.
log
(
e
,
'eee'
)
;
},
deleteItem
(){
console
.
log
(
'删除'
)
deleteItem
()
{
console
.
log
(
'删除'
)
;
},
// 加载更多
onReachBottom
()
{
console
.
log
(
'加载更多'
)
console
.
log
(
'加载更多'
)
;
// if(this.page >= 3) return ;
// this.status = 'loading';
// this.page = ++ this.page;
...
...
@@ -209,7 +208,7 @@
// }, 2000)
}
}
}
};
</
script
>
<
style
lang=
"scss"
>
...
...
@@ -223,11 +222,11 @@ page {
.scanningBtn
{
padding
:
20rpx
;
background
:
#fff
;
.topSearch
{
.topSearch
{
margin-bottom
:
20rpx
;
}
}
.selectSheet
{
.selectSheet
{
padding
:
20rpx
;
padding-bottom
:
0
;
background
:
#fff
;
...
...
@@ -237,14 +236,14 @@ page {
padding
:
0rpx
20rpx
;
margin-top
:
20rpx
;
}
.cardContent
{
.cardContent
{
display
:
flex
;
flex-direction
:
column
;
background
:
#fff
;
border-radius
:
20rpx
;
margin-bottom
:
20rpx
;
}
.cardTitle
{
.cardTitle
{
font-size
:
32rpx
;
color
:
#000
;
display
:
flex
;
...
...
@@ -252,17 +251,17 @@ page {
padding-bottom
:
20rpx
;
border-bottom
:
2px
solid
#f8f8f8
;
}
.cardItem
{
.cardItem
{
padding
:
20rpx
20rpx
0
20rpx
;
}
.cardItemDetail
{
.cardItemDetail
{
display
:
flex
;
padding-bottom
:
20rpx
;
}
.cardItemLabel
{
.cardItemLabel
{
width
:
200rpx
;
}
.cardItemValue
{
.cardItemValue
{
width
:
500rpx
;
}
.bottom
{
...
...
@@ -280,13 +279,13 @@ page {
width
:
300rpx
;
}
}
.bottomArea
{
.bottomArea
{
padding-bottom
:
160rpx
;
}
.itemValueWidth
{
.itemValueWidth
{
width
:
450rpx
;
}
/
deep
/
.u-sticky
{
top
:
0
!
important
;
/
deep
/
.u-sticky
{
top
:
0
!
important
;
}
</
style
>
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