Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
scmMiniprogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
41566efc
authored
Nov 12, 2021
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
4b80da3f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
119 additions
and
25 deletions
assets/css/order/index.scss
assets/css/payable/index.scss
assets/css/waitpayment/index.scss
pages/order/index.vue
pages/payable/index.vue
pages/payment/index.vue
pages/waitpayment/index.vue
assets/css/order/index.scss
View file @
41566efc
...
...
@@ -79,6 +79,8 @@
position
:
relative
;
margin-left
:
67rpx
;
height
:
100rpx
;
border-bottom
:
1rpx
solid
#cad9e0
;
.iconfont
{
position
:
absolute
;
right
:
24rpx
;
...
...
@@ -94,13 +96,33 @@
}
}
.btn
{
width
:
702
rpx
;
width
:
400
rpx
;
height
:
88rpx
;
background
:
#197adb
;
border-radius
:
4rpx
;
font-size
:
28rpx
;
color
:
#ffffff
;
margin
:
0
auto
;
}
.canel
{
width
:
200rpx
;
height
:
88rpx
;
border
:
1px
solid
#197adb
;
border-radius
:
4rpx
;
font-size
:
28rpx
;
color
:
#197adb
;
}
.bottom
{
margin-left
:
67rpx
;
margin-right
:
24rpx
;
margin-top
:
24rpx
;
}
.bar
{
width
:
100%
;
height
:
100rpx
;
.uni-input
{
width
:
675rpx
;
height
:
100rpx
;
}
}
}
}
...
...
assets/css/payable/index.scss
View file @
41566efc
...
...
@@ -80,6 +80,7 @@
margin-left
:
67rpx
;
height
:
100rpx
;
border-top
:
1rpx
solid
#cad9e0
;
border-bottom
:
1rpx
solid
#cad9e0
;
.iconfont
{
position
:
absolute
;
right
:
24rpx
;
...
...
@@ -95,13 +96,33 @@
}
}
.btn
{
width
:
702
rpx
;
width
:
400
rpx
;
height
:
88rpx
;
background
:
#197adb
;
border-radius
:
4rpx
;
font-size
:
28rpx
;
color
:
#ffffff
;
margin
:
0
auto
;
}
.canel
{
width
:
200rpx
;
height
:
88rpx
;
border
:
1px
solid
#197adb
;
border-radius
:
4rpx
;
font-size
:
28rpx
;
color
:
#197adb
;
}
.bottom
{
margin-left
:
67rpx
;
margin-right
:
24rpx
;
margin-top
:
24rpx
;
}
.bar
{
width
:
100%
;
height
:
100rpx
;
.uni-input
{
width
:
675rpx
;
height
:
100rpx
;
}
}
}
}
...
...
assets/css/waitpayment/index.scss
View file @
41566efc
...
...
@@ -79,7 +79,7 @@
position
:
relative
;
margin-left
:
67rpx
;
height
:
100rpx
;
border-bottom
:
1rpx
solid
#cad9e0
;
border-bottom
:
1rpx
solid
#cad9e0
;
.iconfont
{
position
:
absolute
;
right
:
24rpx
;
...
...
@@ -110,11 +110,19 @@
font-size
:
28rpx
;
color
:
#197adb
;
}
.bottom
{
.bottom
{
margin-left
:
67rpx
;
margin-right
:
24rpx
;
margin-top
:
24rpx
;
}
.bar
{
width
:
100%
;
height
:
100rpx
;
.uni-input
{
width
:
675rpx
;
height
:
100rpx
;
}
}
}
}
.list
{
...
...
@@ -143,7 +151,7 @@
color
:
#f39d18
;
}
&
.color2
{
color
:
#399
CD
7
;
color
:
#399
cd
7
;
}
}
.orderNo
{
...
...
pages/order/index.vue
View file @
41566efc
...
...
@@ -13,10 +13,15 @@
</view>
<view
class=
"show-box"
v-if=
"shade_flag"
>
<view
class=
"input-box row verCenter"
>
<input
type=
"text"
placeholder=
"请输入供应商"
class=
"uni-input"
disabled=
"disabled"
:value=
"suppliers[index].supplier_name"
/>
<picker
class=
"row verCenter bar"
:value=
"index"
:range=
"suppliers"
range-key=
"supplier_name"
@
change=
"bindPickerChange"
>
<input
type=
"text"
placeholder=
"请选择供应商"
class=
"uni-input"
disabled=
"true"
:value=
"suppliers[index].supplier_name"
/>
</picker>
</view>
<view
class=
"input-time row verCenter"
><uni-datetime-picker
v-model=
"datetimerange"
type=
"daterange"
rangeSeparator=
"至"
/></view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"submit()"
>
查 询
</view>
<view
class=
"row bottom bothSide"
>
<view
class=
"btn row rowCenter verCenter"
@
click=
"submit()"
>
查 询
</view>
<view
class=
"canel row rowCenter verCenter"
@
click=
"canel()"
>
重 置
</view>
</view>
</view>
</view>
</view>
...
...
@@ -182,6 +187,16 @@ export default {
this
.
shade_flag
=
!
this
.
shade_flag
;
this
.
getData
();
},
canel
()
{
this
.
list
=
[];
this
.
page
=
1
;
this
.
shade_flag
=
!
this
.
shade_flag
;
this
.
param
.
erp_order_sn
=
''
;
this
.
param
.
supplier_id
=
''
;
this
.
param
.
status
=
0
;
this
.
index
=
-
1
;
this
.
getData
();
},
inputChange
()
{
if
(
this
.
param
.
erp_order_sn
)
{
this
.
input_status
=
true
;
...
...
@@ -228,7 +243,7 @@ export default {
this
.
flag
=
true
;
}
else
if
(
res
.
err_code
===
20046
)
{
this
.
total
=
0
;
this
.
order_num
=
''
;
this
.
order_num
=
''
;
this
.
flag
=
true
;
this
.
status
=
'noMore'
;
}
else
{
...
...
pages/payable/index.vue
View file @
41566efc
...
...
@@ -12,11 +12,11 @@
</view>
</view>
<view
class=
"show-box"
v-if=
"shade_flag"
>
<view
class=
"input-time row verCenter"
>
<picker
mode=
"date"
:value=
"date"
@
change=
"bindDateChange"
><input
type=
"text"
placeholder=
"请选择下单时间"
class=
"uni-input"
:value=
"date"
/></picker>
<text
class=
"iconfont icon-Chevron"
></text>
<view
class=
"input-time row verCenter"
><uni-datetime-picker
@
change=
"change"
v-model=
"datetimerange"
type=
"daterange"
rangeSeparator=
"至"
/></view>
<view
class=
"row bottom bothSide"
>
<view
class=
"btn row rowCenter verCenter"
@
click=
"submit()"
>
查 询
</view>
<view
class=
"canel row rowCenter verCenter"
@
click=
"canel()"
>
重 置
</view>
</view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"submit()"
>
查 询
</view>
</view>
</view>
</view>
...
...
@@ -93,6 +93,7 @@ export default {
limit
:
1000
,
status
:
'more'
,
date
:
''
,
datetimerange
:
[
''
,
''
],
contentText
:
{
contentdown
:
'下拉加载更多'
,
contentrefresh
:
'加载数据中...'
,
...
...
@@ -124,6 +125,14 @@ export default {
this
.
shade_flag
=
!
this
.
shade_flag
;
this
.
getData
();
},
canel
()
{
this
.
list
=
[];
this
.
page
=
1
;
this
.
shade_flag
=
!
this
.
shade_flag
;
this
.
param
.
orderNo
=
''
;
this
.
datetimerange
=
[
''
,
''
];
this
.
getData
();
},
inputChange
()
{
if
(
this
.
param
.
erp_order_sn
)
{
this
.
input_status
=
true
;
...
...
@@ -148,7 +157,8 @@ export default {
limit
:
this
.
limit
,
page
:
this
.
page
,
orderNo
:
this
.
param
.
orderNo
,
end_time
:
this
.
param
.
end_time
orderDateFrom
:
this
.
datetimerange
[
0
]
||
''
,
orderDateTo
:
this
.
datetimerange
[
1
]
||
''
},
this
.
loading
).
then
(
res
=>
{
...
...
@@ -172,6 +182,13 @@ export default {
}
});
},
change
(
e
)
{
console
.
log
(
e
);
this
.
list
=
[];
this
.
page
=
1
;
this
.
datetimerange
=
e
;
this
.
getData
();
},
bindDateChange
(
e
)
{
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
target
.
value
);
this
.
date
=
e
.
target
.
value
;
...
...
pages/payment/index.vue
View file @
41566efc
...
...
@@ -3,7 +3,9 @@
<view
class=
"search-box row bothSide verCenter"
>
<view
class=
"box row verCenter w1"
><uni-datetime-picker
@
change=
"change"
v-model=
"datetimerange"
type=
"daterange"
rangeSeparator=
"至"
/></view>
<view
class=
"box row verCenter w2"
>
<picker
:value=
"index"
:range=
"currency"
@
change=
"bindPickerChange"
><input
type=
"text"
placeholder=
"付汇币别"
class=
"uni-input"
:value=
"currency[index]"
/></picker>
<picker
:value=
"index"
:range=
"currency"
@
change=
"bindPickerChange"
>
<input
type=
"text"
disabled=
"true"
placeholder=
"付汇币别"
class=
"uni-input"
:value=
"currency[index]"
/>
</picker>
<text
class=
"iconfont icon-Chevron"
></text>
</view>
</view>
...
...
pages/waitpayment/index.vue
View file @
41566efc
...
...
@@ -13,13 +13,13 @@
</view>
<view
class=
"show-box"
v-if=
"shade_flag"
>
<view
class=
"input-box row verCenter"
>
<picker
:value=
"index"
:range=
"suppliers"
range-key=
"supplier_name"
@
change=
"bindPickerChange"
>
<input
type=
"text"
placeholder=
"请
输入供应商"
class=
"uni-input"
disabled=
"disabled
"
:value=
"suppliers[index].supplier_name"
/>
<picker
class=
"row verCenter bar"
:value=
"index"
:range=
"suppliers"
range-key=
"supplier_name"
@
change=
"bindPickerChange"
>
<input
type=
"text"
placeholder=
"请
选择供应商"
class=
"uni-input"
disabled=
"true
"
:value=
"suppliers[index].supplier_name"
/>
</picker>
</view>
<view
class=
"input-time row verCenter"
>
<picker
:value=
"index"
:range=
"currency"
@
change=
"bindPickerChange
"
>
<input
type=
"text"
placeholder=
"付汇币别"
class=
"uni-input"
:value=
"currency[i
ndex]"
/>
<picker
class=
"row verCenter bar"
:value=
"currentyIndex"
:range=
"currency"
@
change=
"bindPickerChangeCurrenty
"
>
<input
disabled=
"true"
type=
"text"
placeholder=
"请选择付汇币别"
class=
"uni-input"
:value=
"currency[currentyI
ndex]"
/>
</picker>
<text
class=
"iconfont icon-Chevron"
></text>
</view>
...
...
@@ -85,10 +85,8 @@
<
script
>
import
{
API
}
from
'@/util/api.js'
;
import
uniLoadMore
from
'@/components/uni-load-more/uni-load-more.vue'
;
export
default
{
components
:
{
uniLoadMore
},
data
()
{
return
{
flage
:
false
,
...
...
@@ -98,9 +96,9 @@ export default {
list
:
[],
loading
:
true
,
index
:
-
1
,
currentyIndex
:
-
1
,
suppliers
:
[],
status
:
'more'
,
index
:
-
1
,
currency
:
[],
contentText
:
{
contentdown
:
'下拉加载更多'
,
...
...
@@ -153,6 +151,17 @@ export default {
this
.
input_status
=
false
;
this
.
param
.
entrustNumber
=
''
;
},
canel
()
{
this
.
list
=
[];
this
.
page
=
1
;
this
.
index
=
-
1
;
this
.
currentyIndex
=
-
1
;
this
.
param
.
entrustNumber
=
''
;
this
.
param
.
supplierName
=
''
;
this
.
param
.
settleMentCurrency
=
''
;
this
.
shade_flag
=
!
this
.
shade_flag
;
this
.
getData
();
},
submit
()
{
this
.
list
=
[];
this
.
page
=
1
;
...
...
@@ -183,7 +192,7 @@ export default {
page
:
this
.
page
,
entrustNumber
:
this
.
param
.
entrustNumber
,
supplierName
:
this
.
param
.
supplierName
,
settleMentCurrency
:
this
.
settleMentCurrency
settleMentCurrency
:
this
.
param
.
settleMentCurrency
},
this
.
loading
).
then
(
res
=>
{
...
...
@@ -212,7 +221,7 @@ export default {
},
bindPickerChangeCurrenty
(
e
)
{
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
target
.
value
);
this
.
i
ndex
=
e
.
target
.
value
;
this
.
currentyI
ndex
=
e
.
target
.
value
;
this
.
param
.
settleMentCurrency
=
this
.
currency
[
e
.
target
.
value
];
this
.
reset
();
this
.
getData
();
...
...
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