优惠券建立bug修复

master
Sigo 3 years ago
parent 260388e68f
commit cb2ff9f3ab

@ -26,13 +26,15 @@ module.exports = {
assetsPublicPath: "/", assetsPublicPath: "/",
proxyTable: { proxyTable: {
"/api": { "/api": {
target: "http://192.168.31.209:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地 //target: "http://192.168.31.209:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地
// target: "http://192.168.31.201:8084/", //设置你调用的接口域名和端口号 别忘了加http 本地
// target: "http://139.9.185.131:8098/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式 // target: "http://139.9.185.131:8098/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式
// target: "http://139.9.58.205:8084/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式华为云 // target: "http://139.9.58.205:8084/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式华为云
// target: "http://139.9.185.131:9094/", //设置你调用的接口域名和端口号 别忘了加http 盛联 // target: "http://139.9.185.131:9094/", //设置你调用的接口域名和端口号 别忘了加http 盛联
// target: "http://139.9.185.131:8084/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式 // target: "http://139.9.185.131:8084/", //设置你调用的接口域名和端口号 别忘了加http 天懿达正式
// target: "http://192.168.31.201:8084/", //设置你调用的接口域名和端口号 别忘了加http 天懿达线上 // target: "http://192.168.31.209:8084/", //设置你调用的接口域名和端口号 别忘了加http 天懿达线上
target: "https://www.decaisoft.com/preferential", //设置你调用的接口域名和端口号 别忘了加http 天懿达线上
// target: 'http://124.71.99.140:8084/', //设置你调用的接口域名和端口号 别忘了加http 线上 // target: 'http://124.71.99.140:8084/', //设置你调用的接口域名和端口号 别忘了加http 线上
// target: 'http://124.71.99.140:8081/', //设置你调用的接口域名和端口号 别忘了加http 测试 // target: 'http://124.71.99.140:8081/', //设置你调用的接口域名和端口号 别忘了加http 测试
// target: 'https://www.decaisoft.com:8088/', //设置你调用的接口域名和端口号 别忘了加http 测试 // target: 'https://www.decaisoft.com:8088/', //设置你调用的接口域名和端口号 别忘了加http 测试
@ -44,7 +46,7 @@ module.exports = {
} }
}, },
// Various Dev Server settingsss // Various Dev Server settingsss
host: "192.168.31.194", // can be overwritten by process.env.HOST host: "192.168.31.35", // can be overwritten by process.env.HOST
port: 3000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined port: 3000, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false, autoOpenBrowser: false,
errorOverlay: true, errorOverlay: true,
@ -74,12 +76,10 @@ module.exports = {
events: { events: {
onEnd: { onEnd: {
delete: ["./dist.rar"], delete: ["./dist.rar"],
archive: [ archive: [{
{ source: path.join(__dirname, "./dist"),
source: path.join(__dirname, "./dist"), destination: path.join(__dirname, "./dist.rar")
destination: path.join(__dirname, "./dist.rar") }]
}
]
} }
} }
}) })

@ -0,0 +1,11 @@
{
"folders": [
{
"path": ".."
},
{
"path": "..\\..\\..\\平台管理\\platform"
}
],
"settings": {}
}

Binary file not shown.

@ -217,6 +217,13 @@ export default {
handleNext() { handleNext() {
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
if (valid) { if (valid) {
let form = Object.assign({}, this.form);
if (form.suitableStore < 1) {
form.useStoreList = Array.from([]);
}
if (form.suitableProject < 1) {
form.projectList = Array.from([]);
}
this.$emit('next', 2, this.form) this.$emit('next', 2, this.form)
} else { } else {
return false return false

Loading…
Cancel
Save