Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
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
pda
pda-ui
Commits
c88706df
Commit
c88706df
authored
Jan 24, 2024
by
hiyonx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工厂报价模块
parent
e9846913
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
402 additions
and
1 deletion
+402
-1
factoryQuote.js
src/api/mes/qt/factoryQuote.js
+44
-0
index.vue
src/components/SapPropertyData/index.vue
+1
-1
index.vue
src/views/mes/qt/factoryQuote/index.vue
+357
-0
No files found.
src/api/mes/qt/factoryQuote.js
0 → 100644
View file @
c88706df
import
request
from
'@/utils/request'
// 查询工厂报价列表
export
function
listFactoryQuote
(
query
)
{
return
request
({
url
:
'/qt/factoryQuote/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询工厂报价详细
export
function
getFactoryQuote
(
id
)
{
return
request
({
url
:
'/qt/factoryQuote/'
+
id
,
method
:
'get'
})
}
// 新增工厂报价
export
function
addFactoryQuote
(
data
)
{
return
request
({
url
:
'/qt/factoryQuote'
,
method
:
'post'
,
data
:
data
})
}
// 修改工厂报价
export
function
updateFactoryQuote
(
data
)
{
return
request
({
url
:
'/qt/factoryQuote'
,
method
:
'put'
,
data
:
data
})
}
// 删除工厂报价
export
function
delFactoryQuote
(
id
)
{
return
request
({
url
:
'/qt/factoryQuote/'
+
id
,
method
:
'delete'
})
}
src/components/SapPropertyData/index.vue
View file @
c88706df
...
...
@@ -8,7 +8,7 @@
<template
v-for=
"item in sapProperties"
>
<el-col
:span=
"span"
:key=
"item.id"
>
<el-form-item
:label=
"item.name"
:prop=
"key + '.' + item.sapField"
:rules=
"
{required: item.required, validator: (rule, value, callback) => onValidate(rule, value, callback, item), trigger: ['change']}
">
:rules=
"
item.required ?
{required: item.required, validator: (rule, value, callback) => onValidate(rule, value, callback, item), trigger: ['change']} : null
">
<el-input-all
v-model=
"sapData[key][item.sapField]"
:item=
"item"
/>
</el-form-item>
</el-col>
...
...
src/views/mes/qt/factoryQuote/index.vue
0 → 100644
View file @
c88706df
This diff is collapsed.
Click to expand it.
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