Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-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
mes
mes-ui
Commits
08454e86
Commit
08454e86
authored
Jan 27, 2024
by
hiyonx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
83a6bb39
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
279 additions
and
87 deletions
+279
-87
salesOrder.js
src/api/mes/od/salesOrder.js
+17
-0
index.vue
src/components/ElInputAll/index.vue
+10
-8
index.vue
src/components/SapPropertyData/index.vue
+1
-1
AddrInfo.vue
src/views/mes/md/client/components/AddrInfo.vue
+0
-12
index.vue
src/views/mes/md/client/index.vue
+2
-2
index.vue
src/views/mes/order/purchase/index.vue
+2
-1
index.vue
src/views/mes/order/salesdetail/index.vue
+247
-63
No files found.
src/api/mes/od/salesOrder.js
View file @
08454e86
...
...
@@ -17,6 +17,23 @@ export function getOrder(id) {
})
}
// 查询销售订单详细
export
function
getSapInfo
(
id
)
{
return
request
({
url
:
'/od/salesOrder/getSapInfo/'
+
id
,
method
:
'get'
})
}
// 查询销售订单详细
export
function
syncSapData
(
sapData
)
{
return
request
({
url
:
'/od/salesOrder/syncSapInfo/'
,
method
:
'post'
,
data
:
sapData
})
}
// 查询销售订单详细
export
function
getOrderDetail
(
params
)
{
return
request
({
...
...
src/components/ElInputAll/index.vue
View file @
08454e86
<
template
>
<div
class=
"el-input-all"
>
<el-input
v-if=
"item.dataType === 1"
v-model=
"value"
:placeholder=
"'请输入' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-input-number
v-if=
"item.dataType === 2"
v-model=
"value"
:placeholder=
"'请输入' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-input-money
v-if=
"item.dataType === 3"
v-model=
"value"
:placeholder=
"'请输入' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-date-picker
v-if=
"item.dataType === 4"
v-model=
"value"
:placeholder=
"'请选择' + item.name"
clearable
:disabled=
"!!item.relationField"
type=
"date"
/>
<el-time-picker
v-if=
"item.dataType === 5"
v-model=
"value"
:placeholder=
"'请选择' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-date-picker
v-if=
"item.dataType === 6"
v-model=
"value"
:placeholder=
"'请选择' + item.name"
clearable
:disabled=
"!!item.relationField"
type=
"datetime"
/>
<el-select
v-if=
"item.dataType === 7"
v-model=
"value"
:placeholder=
"'请选择' + item.name"
clearable
filterable
:disabled=
"!!item.relationField"
>
<el-input
v-if=
"item.dataType === 1"
v-model=
"value"
class=
"input-item"
:placeholder=
"'请输入' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-input-number
v-if=
"item.dataType === 2"
v-model=
"value"
class=
"input-item"
:placeholder=
"'请输入' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-input-money
v-if=
"item.dataType === 3"
v-model=
"value"
class=
"input-item"
:placeholder=
"'请输入' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-date-picker
v-if=
"item.dataType === 4"
v-model=
"value"
class=
"input-item"
:placeholder=
"'请选择' + item.name"
clearable
:disabled=
"!!item.relationField"
type=
"date"
/>
<el-time-picker
v-if=
"item.dataType === 5"
v-model=
"value"
class=
"input-item"
:placeholder=
"'请选择' + item.name"
clearable
:disabled=
"!!item.relationField"
/>
<el-date-picker
v-if=
"item.dataType === 6"
v-model=
"value"
class=
"input-item"
:placeholder=
"'请选择' + item.name"
clearable
:disabled=
"!!item.relationField"
type=
"datetime"
/>
<el-select
v-if=
"item.dataType === 7"
v-model=
"value"
class=
"input-item"
:placeholder=
"'请选择' + item.name"
clearable
filterable
:disabled=
"!!item.relationField"
>
<el-option
v-for=
"option in item.dictDataList"
:key=
"option.id"
:value=
"option.value"
:label=
"option.name"
/>
</el-select>
</div>
...
...
@@ -45,5 +45,7 @@ export default {
</
script
>
<
style
scoped
>
.input-item
{
width
:
100%
;
}
</
style
>
src/components/SapPropertyData/index.vue
View file @
08454e86
<
template
>
<div
class=
"base-info"
>
<el-form
:model=
"sapData"
ref=
"form"
label-width=
"1
2
0px"
size=
"mini"
>
<el-form
:model=
"sapData"
ref=
"form"
label-width=
"1
3
0px"
size=
"mini"
>
<el-row
class=
"form-wrap"
:gutter=
"gutter"
>
<div>
<template
v-for=
"(sapProperties, key) in sapPropertyMap"
>
...
...
src/views/mes/md/client/components/AddrInfo.vue
View file @
08454e86
...
...
@@ -23,18 +23,6 @@
show-word-limit
v-model=
"form.address"
placeholder=
"请输入客户送货地址"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"客户工作时间"
prop=
"clientWorkTime"
:label-width=
"labelWidth"
>
<el-input
v-model=
"form.clientWorkTime"
placeholder=
"请输入客户工作时间"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"城市"
prop=
"city"
:label-width=
"labelWidth"
>
<el-input
v-model=
"form.city"
placeholder=
"请输入城市"
/>
...
...
src/views/mes/md/client/index.vue
View file @
08454e86
...
...
@@ -171,7 +171,7 @@
/>
<!-- 添加或修改客户对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"
96
0px"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"
120
0px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"120px"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
...
...
@@ -251,7 +251,7 @@
<el-tab-pane
label=
"催货款通知邮箱"
name=
"UrgeEmail"
>
<UrgeEmail
ref=
"UrgeEmail"
:clientId=
"form.clientId"
/>
</el-tab-pane>
<el-tab-pane
label=
"客户
付款信息
"
name=
"PaymentRelation"
>
<el-tab-pane
label=
"客户
关联关系
"
name=
"PaymentRelation"
>
<PaymentRelation
ref=
"PaymentRelation"
:clientId=
"form.clientId"
/>
</el-tab-pane>
<el-tab-pane
label=
"SAP特性"
name=
"SapProperty"
>
...
...
src/views/mes/order/purchase/index.vue
View file @
08454e86
...
...
@@ -139,7 +139,7 @@
<
/div
>
<
/el-dialog
>
<
el
-
dialog
:
visible
=
"showSpec"
title
=
"采购详情产品特性值"
width
=
"650px"
>
<
el
-
dialog
:
visible
.
sync
=
"showSpec"
title
=
"采购详情产品特性值"
width
=
"650px"
>
<
el
-
form
label
-
width
=
"100px"
>
<
el
-
row
:
gutter
=
"10"
>
<
el
-
col
:
span
=
"12"
v
-
for
=
"spec in specList"
:
key
=
"spec.specKey"
>
...
...
@@ -229,6 +229,7 @@ export default {
this
.
multiple
=
!
selection
.
length
}
,
toSalesEdit
(
row
)
{
if
(
row
.
state
!=
0
)
return
this
.
$message
.
error
(
"该采购单单已生成销售订单"
)
let
id
=
row
?
row
.
id
:
this
.
ids
[
0
]
this
.
$router
.
push
(
'/order/sales/detail?purchaseId='
+
id
)
}
,
...
...
src/views/mes/order/salesdetail/index.vue
View file @
08454e86
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