Commit af2a6ed5 by zhangquan

定向礼包bug修复

1 parent 35f9d537
......@@ -5,7 +5,7 @@
<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">
<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}}
</div>
</div>
......@@ -515,6 +515,7 @@ export default {
},
methods: {
changeMerchantType(val){
if(this.routeInfo.receivedStock) return;
this.merchantType = val
if(val==1){
this.orderShow.forEach(item => {
......
......@@ -14,7 +14,7 @@
<script>
import giftList from './giftList.vue'
import receivedGiftList from './receivedGiftList.vue'
import receivedGiftList from './receivedGiftList'
export default {
name: 'gitfBag',
data() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!