Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
XDJK
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
0
Merge Requests
0
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
wechatminiprogram
XDJK
Commits
f08398ef
Commit
f08398ef
authored
May 14, 2021
by
liuquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5c05b793
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
22 deletions
+19
-22
packageA/drugOrderInfo/drugOrderInfo.wxml
+0
-8
pages/prescription/order/order.js
+11
-6
pages/prescription/order/order.wxml
+8
-8
No files found.
packageA/drugOrderInfo/drugOrderInfo.wxml
View file @
f08398ef
...
...
@@ -111,19 +111,11 @@
</view>
<view class="order-num">
<text>开具发票</text>
<!-- <radio-group class="radio-group" bindchange="radioChange">
<label class="radio" wx:for="{{items}}" wx:key="key">
<radio value="{{item.value}}" checked="{{item.value==0?true : false}}" color='#1384ff' />{{item.name}}
</label>
</radio-group> -->
<checkbox-group class="checkbox-group" bindchange="checkboxChange">
<label class="checkbox" wx:for="{{items}}" wx:key="key">
<checkbox value="{{item.value}}" checked="{{item.value==0?true : false}}" color='#1384ff' />{{item.name}}
</label>
</checkbox-group>
<!-- <label class="checkbox">
<checkbox value="{{item.value}}" checked="{{item.value==0?true : false}}" color='#1384ff'/>{{item.name}}
</label> -->
</view>
<view class="tys" bindtap="agree">
<view wx:if='{{!agree}}' class="unselected">
...
...
pages/prescription/order/order.js
View file @
f08398ef
...
...
@@ -27,6 +27,10 @@ Page({
},
],
isInvoice
:
0
,
//是否开具发票
isBtnAsh
:
true
,
//支付按钮置灰
items
:
[{
name
:
''
,
value
:
'1'
}]
},
/**
* 生命周期函数--监听页面加载
...
...
@@ -224,15 +228,15 @@ Page({
})
}
},
/**
/**
* 是否需要开具纸质发票
* @param {*} e
*/
radio
Change
:
function
(
e
)
{
this
.
setData
({
isInvoice
:
e
.
detail
.
value
,
})
},
checkbox
Change
:
function
(
e
)
{
this
.
setData
({
isInvoice
:
e
.
detail
.
value
[
0
]
==
1
?
1
:
0
,
})
},
/**
* 拨打电话
*/
...
...
@@ -363,6 +367,7 @@ Page({
money
:
that
.
data
.
list
.
money
,
hstr
:
hstr
.
toString
(),
isgd
:
1
,
isInvoice
:
that
.
data
.
isInvoice
,
// rise_need:that.data.isInvoice
}
Service
.
prescriptionPay
(
data
).
then
((
res
)
=>
{
...
...
pages/prescription/order/order.wxml
View file @
f08398ef
...
...
@@ -107,14 +107,14 @@
<text class="fonw-400" style="font-size: 28rpx;">{{list.freight}}</text>
</view>
</view>
<
!-- <
view class="order-num">
<text>
纸质
发票</text>
<
radio-group class="radio-group" bindchange="radio
Change">
<label class="
radio
" wx:for="{{items}}" wx:key="key">
<
radio
value="{{item.value}}" checked="{{item.value==0?true : false}}" color='#1384ff' />{{item.name}}
<view class="order-num">
<text>
开具
发票</text>
<
checkbox-group class="checkbox-group" bindchange="checkbox
Change">
<label class="
checkbox
" wx:for="{{items}}" wx:key="key">
<
checkbox
value="{{item.value}}" checked="{{item.value==0?true : false}}" color='#1384ff' />{{item.name}}
</label>
</
radio
-group>
</view>
-->
</
checkbox
-group>
</view>
<view class="tys" bindtap="agree">
<view wx:if='{{!agree}}' class="unselected">
</view>
...
...
@@ -124,7 +124,7 @@
<text class="tys-text">我已阅读并接受</text>
<text class="zqtys" catchtap="goConsent">《知情同意书》</text>
</view>
<view class="tsy">根据
药品实际仓储位置,您的订单可能分开发货
</view>
<view class="tsy">根据
您的收货地址,若顺丰无法送达,则采用邮政发货。
</view>
<view class="tsy">遇到任何问题请拨打客服电话:<text bindtap='dial' data-tel='4001199218' style="color:#2684ff;">4001199218</text></view>
<view class="user-logo">
<image src="/images/xdjklogo.png"></image>
...
...
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