Commit 5f5cc43b0e9d44a9bb27cce5d52fef5e7c8d7680
1 parent
059cc9b9
门店以及停用,不允许销售
Showing
2 changed files
with
17 additions
and
0 deletions
pages/user/order_detail/order_detail.js
... | ... | @@ -972,6 +972,14 @@ Page({ |
972 | 972 | this.data.moring=0; |
973 | 973 | return false; |
974 | 974 | } |
975 | + | |
976 | + if(pickup.isstop){ | |
977 | + wx.hideLoading(); | |
978 | + getApp().confirmBox("门店已停用"); | |
979 | + this.data.moring=0; | |
980 | + return false; | |
981 | + } | |
982 | + | |
975 | 983 | if(!pickup.is_pos){ |
976 | 984 | wx.hideLoading(); |
977 | 985 | getApp().confirmBox("门店不允许销售"); | ... | ... |
pages/user/order_list/order_list.js
... | ... | @@ -1141,6 +1141,15 @@ Page({ |
1141 | 1141 | this.data.moring=0; |
1142 | 1142 | return false; |
1143 | 1143 | } |
1144 | + | |
1145 | + if(pickup.isstop){ | |
1146 | + wx.hideLoading(); | |
1147 | + getApp().confirmBox("门店已停用"); | |
1148 | + this.data.moring=0; | |
1149 | + return false; | |
1150 | + } | |
1151 | + | |
1152 | + | |
1144 | 1153 | if(!pickup.is_pos){ |
1145 | 1154 | wx.hideLoading(); |
1146 | 1155 | getApp().confirmBox("门店不允许销售"); | ... | ... |