Commit cd3d0f61 authored by tao's avatar tao

解决冲突

parents ff211720 532f47a0
File deleted
......@@ -305,6 +305,7 @@ export default {
},
//添加
addFun(value){
value.ID = ''
let data = value
if (value.LinVar.trim() === '') {
this.typeV = '5'
......@@ -335,6 +336,18 @@ export default {
var $this = this
let data = value
console.log('aa',JSON.stringify(data))
this.$axios({
method:"post",
url:`/api/Schedule/Schedule_CheckWindowSave`,//检验是否可添加
data:value
}).then((res)=>{
console.log('resadd==>',res)
if(res.data.code != 0){
this.typeV = '9'
this.deletetext = res.data.msg
this.pathE = data
this.deleteShow = true
}else{
this.$axios({
method:"post",
url:`/api/Schedule/Schedule_WindowEditSave`,
......@@ -353,6 +366,10 @@ export default {
}).catch(function(err){
console.log('err',err)
})
}
}).catch(function(err){
console.log('err',err)
})
},
resetData () {
......
......@@ -587,7 +587,7 @@ export default {
ProductID:this.ProductID,
PID:this.PID,
Quantity: this.Quantity,
DeliveryDt: this.DeliveryDt,
DeliveryDt: this.$moment(this.DeliveryDt).format('YYYY-MM-DD HH:mm:ss'),
VPID: this.VPID,
VStatus: this.VStatus,
VDeliveryDt: this.VDeliveryDt,
......
......@@ -34,7 +34,7 @@ module.exports = {
'/api': {
//这里最好有一个 /
// 192.168.1.237 192.168.1.125
target: 'http://192.168.1.180:8802', // 后台接口域名
target: 'http://192.168.1.125:8803', // 后台接口域名
ws: true, //如果要代理 websockets,配置这个参数
secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, //是否跨域
......
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