Commit 27ed9a84 by crushh

Merge branch 'feature/hl-2月迭代' into dev

parents 5ecfe4c1 688d448e
......@@ -457,6 +457,7 @@ export default {
// let currentTime1 = new Date(new Date(new Date().getTime() + 1000 * 60).valueOf());
// this.form.timeRangeList[0].timeRange = [currentTime, currentTime1];
// }
this.getErpGoodsFlag();
},
methods: {
// 添加时间段
......@@ -829,6 +830,18 @@ export default {
name: 'deliverSet',
});
},
// 检测是否开启 erp商品兑换接口
getErpGoodsFlag () {
request.get('/api-integral-mall/get-config').then(res => {
if (res.data.errorCode === 0) {
const result = res.data.result || {};
this.$store.commit('mutations_erpGoodsFlag', result.goodsStockSync || 0);
} else {
this.$message.error(res.data.message);
}
});
},
},
};
</script>
......
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