Authored by 邱骏

update

... ... @@ -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/';
}
... ...
... ... @@ -107,6 +107,7 @@ export default {
data() {
return {
readonly: false,
allreadonly: false,
visiable: false,
loading: false,
posting: true,
... ... @@ -252,9 +253,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(() => {
... ... @@ -274,7 +273,7 @@ export default {
this.formData.skupForbidType = arr.join(',');
},
async saveData(params) {
if (this.readonly) {
if (this.allreadonly) {
this.visiable = false;
return;
}
... ...