Commit a94629be authored by tao's avatar tao

解决冲突

parents 7570ca95 2cfb4e4a
File deleted
......@@ -42,14 +42,14 @@
<span>岗位名称</span>
<input type="text" v-model="rolename" />
</div>
<div class="rolediscrle">
<span>岗位描述</span>
<input type="text" v-model="rolesomething" />
</div>
<div class="rolediscrle">
<span>岗位编号</span>
<input type="text" v-model="SCMSRoleNO" />
</div>
<div class="rolediscrle">
<span>岗位描述</span>
<input type="text" v-model="rolesomething" />
</div>
</div>
<div class="setdataright">
<div class="endtree">
......
......@@ -232,6 +232,18 @@ export default {
this.deleteShow = true
this.deletetext = '物料编号需为字母加数字组合'
return
}
if (data.Name.trim() === '') {
this.typeV = '5'
this.deleteShow = true
this.deletetext = '物料名称不能为空'
return
}
if (data.Company.trim() === '') {
this.typeV = '5'
this.deleteShow = true
this.deletetext = '物料单位不能为空'
return
}
this.$axios({
method:"post",
......
......@@ -213,7 +213,7 @@ export default {
if (!reg.test(value.CellNuber)) {
this.typeV = '5'
this.deleteShow = true
this.deletetext = '物料编号需为字母加数字组合'
this.deletetext = '工序编号需为字母加数字组合'
return
}
this.$axios({
......
......@@ -21,26 +21,27 @@ module.exports = {
devServer: {
open: true, //项目运行自动打开浏览器
proxy: {
'/api': {
//这里最好有一个 /
target: 'http://192.168.1.180:8802', // 后台接口域名
ws: true, //如果要代理 websockets,配置这个参数
secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, //是否跨域
pathRewrite: {
'^/api': '/api',
}
}
// '/api': {
// //这里最好有一个 /
// target: 'http://192.168.1.237:8802', // 后台接口域名
// target: 'http://192.168.1.180:8802', // 后台接口域名
// ws: true, //如果要代理 websockets,配置这个参数
// secure: false, // 如果是https接口,需要配置这个参数
// changeOrigin: true, //是否跨域
// pathRewrite: {
// '^/api': '/api'
// '^/api': '/api',
// }
// }
'/api': {
//这里最好有一个 /
// 192.168.1.237 192.168.1.125
target: 'http://192.168.1.125:8802', // 后台接口域名
ws: true, //如果要代理 websockets,配置这个参数
secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, //是否跨域
pathRewrite: {
'^/api': '/api'
}
}
}
},
css: {
......
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