Commit 3474cff6 by 前端

Merge branch 'zq_dev_v3.2.0' into 'v3.2.0'

定向礼包bug修复

See merge request !373
2 parents bb00a25f af2a6ed5
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<glsx-combi-form v-loading="loading" class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="defaultLabelWidth" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule"> <glsx-combi-form v-loading="loading" class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="defaultLabelWidth" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<div slot="giftTypeSlot"> <div slot="giftTypeSlot">
<div :class="['gift-type',{'active-gift': merchantType==item.value}]" v-for="item in giftTypeList" :key="item.value" @click="changeMerchantType(item.value)"> <div :style="{cursor : routeInfo.receivedStock ? 'not-allowed':'pointer'}" :class="['gift-type',{'active-gift': merchantType==item.value}]" v-for="item in giftTypeList" :key="item.value" @click="changeMerchantType(item.value)">
{{item.name}} {{item.name}}
</div> </div>
</div> </div>
...@@ -515,6 +515,7 @@ export default { ...@@ -515,6 +515,7 @@ export default {
}, },
methods: { methods: {
changeMerchantType(val){ changeMerchantType(val){
if(this.routeInfo.receivedStock) return;
this.merchantType = val this.merchantType = val
if(val==1){ if(val==1){
this.orderShow.forEach(item => { this.orderShow.forEach(item => {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<script> <script>
import giftList from './giftList.vue' import giftList from './giftList.vue'
import receivedGiftList from './receivedGiftList.vue' import receivedGiftList from './receivedGiftList'
export default { export default {
name: 'gitfBag', name: 'gitfBag',
data() { data() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!