Commit 28113d4b by liuchenxi

update: 定时上架校验

parent ca6c0f27
......@@ -1255,7 +1255,7 @@ export default {
differentialPricingJson: JSON.stringify(this.submitLadderList)
};
// 校验定时上架时间
if (!this.vaidataDataPicker()) return this.$message.error('定时上架结束时间必须大于当前时间和开始时间');
if (this.couponForm.releaseType == 2 && !this.vaidataDataPicker()) return this.$message.error('定时上架结束时间必须大于当前时间和开始时间');
// 门店分类
if (this.useNewStoreWidget === 0) {
if (this.sendChildData.storeType === 1) {
......
......@@ -2161,7 +2161,7 @@ export default {
params.pickUpPoint = this.pickUpPointStr;
}
// 校验定时上架时间
if(!this.vaidataDataPicker()) return this.$message.error('定时上架结束时间必须大于当前时间和开始时间');
if(this.giftForm.releaseType == 2 && !this.vaidataDataPicker()) return this.$message.error('定时上架结束时间必须大于当前时间和开始时间');
// 门店分类
if (this.useNewStoreWidget === 0) {
if (this.sendChildData.storeType === 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment