Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tianjin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐来柯
tianjin
Commits
e285123b
Commit
e285123b
authored
Feb 01, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2cfb4e4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
28 deletions
+39
-28
SchedulingPop.vue
src/views/education/component/SchedulingPop.vue
+38
-27
vue.config.js
vue.config.js
+1
-1
No files found.
src/views/education/component/SchedulingPop.vue
View file @
e285123b
...
...
@@ -16,7 +16,7 @@
<div
class=
"centen_row"
>
<span
class=
"centen_row_text"
>
生产计划编号:
</span>
<div
class=
"centen_row_select"
>
<el-select
@
change=
"orderFun()"
v-model=
"PlanID"
placeholder=
"请选择"
>
<el-select
@
change=
"orderFun(
PlanID
)"
v-model=
"PlanID"
placeholder=
"请选择"
>
<el-option
v-for=
"item in planArr"
:key=
"item.ID"
...
...
@@ -29,7 +29,7 @@
<div
class=
"centen_row"
style=
"margin-top: 10px"
>
<span
class=
"centen_row_text"
style=
"margin-left: 30px"
>
线体编号:
</span>
<div
class=
"centen_row_select"
>
<el-select
@
change=
"orderFun()"
v-model=
"LineID"
placeholder=
"请选择"
>
<el-select
v-model=
"LineID"
placeholder=
"请选择"
>
<el-option
v-for=
"item in lineList"
:key=
"item.Nuber"
...
...
@@ -173,33 +173,44 @@ export default {
this
.
$emit
(
'openRelate'
,
type
)
},
//订单选择
orderFun
(){
this
.
num
=
0
this
.
dataFun
()
if
(
this
.
typePop
==
'add'
){
this
.
dataFun
()
orderFun
(
PlanID
){
//
this.num = 0
//
this.dataFun()
//
if(this.typePop == 'add'){
//
this.dataFun()
}
else
{
//编辑
this
.
dataFun
()
this
.
valuedata
.
StartDt
=
this
.
editDataArr
.
StartDt
this
.
valuedata
.
EndDt
=
this
.
editDataArr
.
EndDt
this
.
valuedata
.
Status
=
this
.
editDataArr
.
Status
this
.
valuedata
.
SID
=
this
.
editDataArr
.
SID
this
.
valuedata
.
ID
=
this
.
editDataArr
.
ID
this
.
valuedata
.
NO
=
this
.
editDataArr
.
NO
}
// }else{
// //编辑
// this.dataFun()
// this.valuedata.StartDt = this.editDataArr.StartDt
// this.valuedata.EndDt = this.editDataArr.EndDt
// this.valuedata.Status =this.editDataArr.Status
// this.valuedata.SID = this.editDataArr.SID
// this.valuedata.ID = this.editDataArr.ID
// this.valuedata.NO = this.editDataArr.NO
// }
// this.$axios({
// method:"post",
// url:`/api/Schedule/Schedule_WindowGetScheduleQuantity`,
// data:this.valuedata
// }).then((res)=>{
// console.log('aa==>',res)
// this.num = res.data.data
// }).catch(function(err){
// console.log('err',err)
// })
// console.log('aaww==>',this.valuedata)
this
.
$axios
({
method
:
"post"
,
url
:
`/api/Schedule/Schedule_WindowGetScheduleQuantity`
,
data
:
this
.
valuedata
}).
then
((
res
)
=>
{
console
.
log
(
'aa==>'
,
res
)
this
.
num
=
res
.
data
.
data
}).
catch
(
function
(
err
)
{
console
.
log
(
'err'
,
err
)
})
console
.
log
(
'aaww==>'
,
this
.
valuedata
)
method
:
'post'
,
url
:
`/api/Schedule/Schedule_WindowGetScheduleQuantity`
,
data
:
{
PlanID
}
}).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
Quantity
=
res
.
data
.
data
}
else
{
this
.
Quantity
=
''
}
}
)
},
//线体
queryLine
(){
...
...
vue.config.js
View file @
e285123b
...
...
@@ -34,7 +34,7 @@ module.exports = {
'/api'
:
{
//这里最好有一个 /
// 192.168.1.237 192.168.1.125
target
:
'http://192.168.1.125:880
2
'
,
// 后台接口域名
target
:
'http://192.168.1.125:880
3
'
,
// 后台接口域名
ws
:
true
,
//如果要代理 websockets,配置这个参数
secure
:
false
,
// 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
//是否跨域
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment