Authored by 邱骏

Merge branch 'feature/coupon-modify' into hotfix/change-skupAllowType

... ... @@ -102,7 +102,7 @@
this.url_ = 'https://m.yohobuy.com/?pagename=saleCalendar';
} else if (newVal === 'go.hotlist') {
this.url_ = 'https://m.yohobuy.com/?pagename=hotSale';
} else if (newVal === 'go.bargainlist') {
} else if (newVal === 'go.bargainlist') { // 砍价列表
this.url_ = 'https://m.yohobuy.com/';
}
... ...
... ... @@ -110,6 +110,7 @@ export default {
data() {
return {
readonly: false,
allreadonly: false,
visiable: false,
loading: false,
posting: true,
... ... @@ -255,9 +256,7 @@ export default {
this.formData = initData;
},
onOk() {
console.log('ok');
this.$refs.formCoupon.validate(valid => {
console.log(valid);
if (!valid) {
this.posting = false;
this.$nextTick(() => {
... ... @@ -277,7 +276,7 @@ export default {
this.formData.skupForbidType = arr.join(',');
},
async saveData(params) {
if (this.readonly) {
if (this.allreadonly) {
this.visiable = false;
return;
}
... ...