|
|
@@ -57,8 +57,8 @@
|
|
|
|
|
|
<tui-list-cell class="line-cell" :arrow="true" v-if="payMode == 1">
|
|
|
<div class="tui-title">更多方式</div>
|
|
|
- <picker mode="selector" :value="form.payWay" :range="payWayList" range-key="name" @change="payWayChange" class="tui-input" >
|
|
|
- <input v-model="form.payWay" name="payWay" type="text" hidden />
|
|
|
+ <picker mode="selector" :value="payWay" :range="payWayList" range-key="name" @change="payWayChange" class="tui-input" >
|
|
|
+ <input v-model="payWay" name="payWay" type="text" hidden />
|
|
|
<div style="padding:6upx 0 6upx 0;">{{payWayList[payWayindex].name}}</div>
|
|
|
</picker>
|
|
|
</tui-list-cell>
|
|
|
@@ -137,6 +137,11 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(["initMerchantInfo"]),
|
|
|
+ payWayChange(e){
|
|
|
+ let index = e.detail.value
|
|
|
+ this.payWayindex = index
|
|
|
+ this.payWay = this.payWayList[index].id
|
|
|
+ },
|
|
|
affirmFormSubmit(){
|
|
|
if(this.$util.isEmpty(this.selectList)){
|
|
|
this.$msg('请选择花材')
|
|
|
@@ -151,7 +156,7 @@ export default {
|
|
|
itemId:item.itemId,property:item.property,unitType:unitType,unitPrice:unitPrice,userPrice:unitPrice,bigUnit:item.bigUnit,smallUnit:item.smallUnit}
|
|
|
product.push(current)
|
|
|
})
|
|
|
- let options = {sendCost:this.sendCost, ghsId:this.ghsId, modifyPrice: this.modifyPrice, product:JSON.stringify(product), payMode:this.payMode}
|
|
|
+ let options = {sendCost:this.sendCost, ghsId:this.ghsId, modifyPrice: this.modifyPrice, product:JSON.stringify(product), payMode:this.payMode,payWay:this.payWay}
|
|
|
let that = this;
|
|
|
uni.showModal({
|
|
|
title: '提示',
|