Commit cb104e59 authored by 黄媛媛's avatar 黄媛媛

修改提交订单禁用

parent d2b59d07
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</view> </view>
<view class="right"> <view class="right">
<u-button <u-button
:disabled="mchs[0].address_enable" :disabled="!address_enable"
size="80" size="80"
:ripple="true" :ripple="true"
shape="circle" shape="circle"
...@@ -174,6 +174,7 @@ export default { ...@@ -174,6 +174,7 @@ export default {
}, },
data() { data() {
return { return {
address_enable:'',
payExit: false, payExit: false,
payBtn: false, payBtn: false,
formData: { formData: {
...@@ -499,6 +500,7 @@ export default { ...@@ -499,6 +500,7 @@ export default {
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.address = res.data.address; this.address = res.data.address;
this.address_enable=res.data.address_enable;
this.mchs = res.data.mch_list; this.mchs = res.data.mch_list;
this.payInfo.GoodsName = this.mchs[0].goods_list[0].name; this.payInfo.GoodsName = this.mchs[0].goods_list[0].name;
this.ds = res.data; this.ds = res.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment