|
@@ -40,7 +40,7 @@
|
|
|
<view>
|
|
<view>
|
|
|
<button class="button-com pay-wx" :class="[remainPayTime >0 ? 'green':'default']" :disabled="remainPayTime >0 ? false : true" @click="appWxPayFn">微信支付</button>
|
|
<button class="button-com pay-wx" :class="[remainPayTime >0 ? 'green':'default']" :disabled="remainPayTime >0 ? false : true" @click="appWxPayFn">微信支付</button>
|
|
|
</view>
|
|
</view>
|
|
|
- <button class="button-com pay-wx green" @click="debtPay">赊账</button>
|
|
|
|
|
|
|
+ <button class="button-com pay-wx" :class="[remainPayTime >0 ? 'green':'default']" :disabled="remainPayTime >0 ? false : true" @click="debtPay" v-if="hasDebtPay === '1'">赊账</button>
|
|
|
</div>
|
|
</div>
|
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
|
|
|
|
|
@@ -165,7 +165,7 @@ export default {
|
|
|
type: 0
|
|
type: 0
|
|
|
});
|
|
});
|
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
|
- that.$util.confirmModal({content:'确认已付款?'},() => {
|
|
|
|
|
|
|
+ that.$util.confirmModal({content:'已付款成功?',okText:'是的',cancelText:'没有'},() => {
|
|
|
that.pageTo({ url: '/pagesPurchase/particulars?id=' + id, type: 2 })
|
|
that.pageTo({ url: '/pagesPurchase/particulars?id=' + id, type: 2 })
|
|
|
})
|
|
})
|
|
|
},3000)
|
|
},3000)
|