Commit 0c378b28 by 李伟康

开发mock

1 parent 1371331a
......@@ -193,7 +193,6 @@ export default {
item.goodsStock = item.specificationDetailList[0].stock
} else {
item.retailPrice = (item.retailPrice / 100).toFixed(2)
console.log('item:',item.retailPrice)
item.minRatilPrice = item.retailPrice
}
})
......
......@@ -19,8 +19,8 @@ export const fetchConfig = function(isEnv = true) {
// return Promise.resolve(cfg)
// }
//return window.fetch('https://', {}).then(res => res.json())
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config')
return new Http().get('https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config')
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6345096902322627d6b83e83/battles/config')
// return new Http().get('https://oss-config.glsx.com.cn/mock/635fc7a254298ae78614407a/battles/config')
}
export const config = {
install(vue, cfg) {
......
......@@ -2425,7 +2425,6 @@ export default {
},
// 选择门店
handleRelateStoreClose () {
// console.log('handleRelateStoreClose')
// this.selectedList = this.$common.utils.deepClone(this.editForm.supplyMerchantList)
this.relateStoreVisible = !this.relateStoreVisible
},
......@@ -2461,7 +2460,6 @@ export default {
this.editForm.goodsList[index][target] = val < 0 ? 1 : val
},
handleSingleSelectConfirm (list) {
console.log(list)
let { editForm: { goodsList } } = this,
arr = []
this.handleSingleSelectClose()
......@@ -2576,7 +2574,6 @@ export default {
}
})
}
// console.log(this.nameToValSpecsList)
},
setLocaleCompare (params) {
let keys = []
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!