|
|
@@ -66,8 +66,8 @@
|
|
|
</view>
|
|
|
<view v-if="ifpeon" class="sel">
|
|
|
<view>
|
|
|
- <u-checkbox-group size='35rpx' active-color="green" @change="checkboxChange(tarp)">
|
|
|
- <u-checkbox v-model="tarpty" shape="circle" :checked="isChecked"></u-checkbox>
|
|
|
+ <u-checkbox-group size='35rpx' active-color="green" @change="checkboxChange">
|
|
|
+ <u-checkbox name='tgxy' shape="circle" :checked="isChecked"></u-checkbox>
|
|
|
</u-checkbox-group>
|
|
|
</view>
|
|
|
<text class="text" @click="goContract(partyinfo.id, 2)">
|
|
|
@@ -246,7 +246,7 @@
|
|
|
parttext: '',
|
|
|
isChecked: false,
|
|
|
tarptyshow: false,
|
|
|
- tarpty: false,
|
|
|
+ tarpty: '',
|
|
|
partyinfo: {},
|
|
|
ifpeon: false,
|
|
|
primary: this.$theme.primary,
|
|
|
@@ -305,14 +305,7 @@
|
|
|
},
|
|
|
methods: {
|
|
|
checkboxChange(e) {
|
|
|
-
|
|
|
- if (this.tarp == 1) {
|
|
|
- this.tarp = 2
|
|
|
- this.tarpty = true
|
|
|
- } else {
|
|
|
- this.tarpty = false
|
|
|
- this.tarp = 1
|
|
|
- }
|
|
|
+ this.tarpty = e
|
|
|
},
|
|
|
goContract(id, type) {
|
|
|
console.log(id,type,'kkkkkk')
|
|
|
@@ -511,7 +504,7 @@
|
|
|
buy(e) {
|
|
|
let that = this;
|
|
|
if(that.ifpeon) {
|
|
|
- if (!this.tarpty) {
|
|
|
+ if (this.tarpty[0]!='tgxy') {
|
|
|
this.$api.msg(`请同意${that.partyinfo.name}`);
|
|
|
return;
|
|
|
}
|