[转让权证加转让价格判断]

This commit is contained in:
2021-10-19 09:15:13 +08:00
parent 9156029027
commit 1b41b40de9
6 changed files with 217 additions and 196 deletions

View File

@@ -408,7 +408,7 @@
"path": "pages/store/deliver", "path": "pages/store/deliver",
"name": "Deliver", "name": "Deliver",
"style": { "style": {
"navigationBarTitleText": "货单处理", "navigationBarTitleText": "货单处理",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, { }, {

View File

@@ -33,6 +33,7 @@
</view> </view>
</view> </view>
<button class="buy-btn" type="default" @click="onCreate">确认转让</button> <button class="buy-btn" type="default" @click="onCreate">确认转让</button>
<u-toast ref="uToast" />
</view> </view>
</template> </template>
@@ -75,6 +76,13 @@
}, },
// 提交转让市场 // 提交转让市场
onCreate(){ onCreate(){
if(this.pirce === ''){
this.$refs.uToast.show({
title: '请校验转让价格',
type: 'error',icon:false,
duration: 3000
})
}else{
marketsCreate({ marketsCreate({
symbol : this.$Route.query.symbol, symbol : this.$Route.query.symbol,
qty : this.stock, qty : this.stock,
@@ -98,6 +106,7 @@
} }
} }
} }
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>

View File

@@ -23,8 +23,8 @@
</view> </view>
</view> </view>
<view class="total" v-if="total"> {{total.toFixed(2)}} </view> <view class="total" v-if="total"> {{total.toFixed(2)}} </view>
<view class="btn" @click="actions">提现至现金红包</view> <view class="btn" @click="actions">提现至现金零钱</view>
<view class="des">提现至红包可在红包中提现到银行卡 手续费: </view> <view class="des">提现至零钱可在零钱中提现到银行卡 手续费: </view>
</view> </view>
</template> </template>
@@ -127,7 +127,7 @@
} }
uni.showModal({ uni.showModal({
title: '温馨提示', title: '温馨提示',
content:'您是否确认提现到现金红包账户,交易将免手续费', content:'您是否确认提现到现金零钱账户,交易将免手续费',
confirmColor: '#7c52fc', confirmColor: '#7c52fc',
cancelColor: '#cacaca', cancelColor: '#cacaca',
cancelText: '我再想想', cancelText: '我再想想',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -48480,7 +48480,8 @@ try {
uniIcons: __webpack_require__(/*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 91) uniIcons: __webpack_require__(/*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 91)
.default, .default,
uniNumberBox: __webpack_require__(/*! @/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue */ 529) uniNumberBox: __webpack_require__(/*! @/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue */ 529)
.default .default,
uToast: __webpack_require__(/*! uview-ui/components/u-toast/u-toast.vue */ 124).default
} }
} catch (e) { } catch (e) {
if ( if (
@@ -48669,7 +48670,8 @@ var render = function() {
} }
}, },
[_vm._v("确认转让")] [_vm._v("确认转让")]
) ),
_c("u-toast", { ref: "uToast", attrs: { _i: 24 } })
], ],
1 1
) )
@@ -50228,10 +50230,10 @@ var render = function() {
} }
} }
}, },
[_vm._v("提现至现金红包")] [_vm._v("提现至现金零钱")]
), ),
_c("v-uni-view", { staticClass: _vm._$g(15, "sc"), attrs: { _i: 15 } }, [ _c("v-uni-view", { staticClass: _vm._$g(15, "sc"), attrs: { _i: 15 } }, [
_vm._v("提现至红包,可在红包中提现到银行卡 手续费: 无") _vm._v("提现至零钱,可在零钱中提现到银行卡 手续费: 无")
]) ])
], ],
1 1