Commit dd0a852e by caoyanzhi

update: 奥莱抵金券

parent 8252ccd9
......@@ -1093,7 +1093,15 @@ export default {
if (this.form.cardType == 3) {
if (this.form.costValueProportionFlag == 1) {
if (!(this.isEdit && this.storeMode == 0) && (!Array.isArray(this.originStoreList) || this.originStoreList.length == 0)) {
// 编辑、复制
// 固定成本 有门店选择器id,没有costStoreList
// 门店成本 有门店选择器id,有costStoreList
// 新增、复制
// 导入时,无门店选择器id,有costStoreList
// 新增、复制时,有costStoreList即可保存
// 编辑时,有门店选择器id,即可保存
if (!(this.isEdit && this.storeUuid) && !((this.isAdd || this.isCopy) && Array.isArray(this.originStoreList) && this.originStoreList.length > 0)) {
this.$tips({ type: 'warning', message: '请选择卡券适用门店' });
const body = document.getElementsByClassName('dm-layout-page')[0];
toTop(body, this.$refs.useStore.$el.offsetTop - body.offsetTop);
......
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