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
6020ec22
Commit
6020ec22
authored
Jan 26, 2024
by
何远江
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-ui
into dev
parents
bd9ae56c
fa35c266
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
35 additions
and
87 deletions
+35
-87
ClientContact.vue
src/views/mes/md/client/components/ClientContact.vue
+11
-27
ClientItem.vue
src/views/mes/md/client/components/ClientItem.vue
+1
-6
PaymentRelation.vue
src/views/mes/md/client/components/PaymentRelation.vue
+14
-28
UrgeEmail.vue
src/views/mes/md/client/components/UrgeEmail.vue
+5
-22
index.vue
src/views/mes/md/client/index.vue
+1
-1
index.vue
src/views/mes/order/sales/index.vue
+2
-2
index.vue
src/views/mes/order/salesdetail/index.vue
+1
-1
No files found.
src/views/mes/md/client/components/ClientContact.vue
View file @
6020ec22
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
icon=
"el-icon-plus"
icon=
"el-icon-plus"
size=
"mini"
size=
"mini"
@
click=
"handleAdd"
@
click=
"handleAdd"
v-hasPermi=
"['md:contact:add']"
>
新增
>
新增
</el-button>
</el-button>
</el-col>
</el-col>
...
@@ -20,7 +19,6 @@
...
@@ -20,7 +19,6 @@
size=
"mini"
size=
"mini"
:disabled=
"single"
:disabled=
"single"
@
click=
"handleUpdate"
@
click=
"handleUpdate"
v-hasPermi=
"['md:contact:edit']"
>
修改
>
修改
</el-button>
</el-button>
</el-col>
</el-col>
...
@@ -32,43 +30,30 @@
...
@@ -32,43 +30,30 @@
size=
"mini"
size=
"mini"
:disabled=
"multiple"
:disabled=
"multiple"
@
click=
"handleDelete"
@
click=
"handleDelete"
v-hasPermi=
"['md:contact:remove']"
>
删除
>
删除
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['md:contact:export']"
>
导出
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
<el-table
v-loading=
"loading"
:data=
"contactList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"contactList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
label=
"品牌名称"
align=
"center"
prop=
"brandName"
width=
"150"
/>
<el-table-column
label=
"品牌名称"
prop=
"brandName"
width=
"150"
/>
<el-table-column
label=
"部门"
align=
"center"
prop=
"department"
width=
"100"
/>
<el-table-column
label=
"部门"
prop=
"department"
width=
"100"
/>
<el-table-column
label=
"职位"
align=
"center"
prop=
"position"
width=
"100"
/>
<el-table-column
label=
"职位"
prop=
"position"
width=
"100"
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"contact"
width=
"100"
/>
<el-table-column
label=
"联系人"
prop=
"contact"
width=
"100"
/>
<el-table-column
label=
"电话号码"
align=
"center"
prop=
"tel"
width=
"150"
/>
<el-table-column
label=
"电话号码"
prop=
"tel"
width=
"150"
/>
<el-table-column
label=
"email"
align=
"center"
prop=
"email"
width=
"200"
/>
<el-table-column
label=
"email"
prop=
"email"
width=
"200"
/>
<el-table-column
label=
"经营类型"
align=
"center"
prop=
"businessType"
width=
"100"
/>
<el-table-column
label=
"经营类型"
prop=
"businessType"
width=
"100"
/>
<el-table-column
label=
"工厂代号"
align=
"center"
prop=
"factoryCode"
width=
"100"
/>
<el-table-column
label=
"工厂代号"
prop=
"factoryCode"
width=
"100"
/>
<el-table-column
label=
"跟单员"
align=
"center"
prop=
"merchandiser"
width=
"100"
/>
<el-table-column
label=
"跟单员"
prop=
"merchandiser"
width=
"100"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
width=
"200px
"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
fixed=
"right"
width=
"120
"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['md:contact:edit']"
>
修改
>
修改
</el-button>
</el-button>
<el-button
<el-button
...
@@ -76,7 +61,6 @@
...
@@ -76,7 +61,6 @@
type=
"text"
type=
"text"
icon=
"el-icon-delete"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['md:contact:remove']"
>
删除
>
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
...
src/views/mes/md/client/components/ClientItem.vue
View file @
6020ec22
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
size=
"mini"
size=
"mini"
@
click=
"handleAdd"
@
click=
"handleAdd"
:disabled=
"!queryParams.clientId"
:disabled=
"!queryParams.clientId"
v-hasPermi=
"['md:clientItem:add']"
>
新增
</el-button>
>
新增
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
...
@@ -20,7 +19,6 @@
...
@@ -20,7 +19,6 @@
size=
"mini"
size=
"mini"
:disabled=
"single"
:disabled=
"single"
@
click=
"handleUpdate"
@
click=
"handleUpdate"
v-hasPermi=
"['md:clientItem:edit']"
>
修改
</el-button>
>
修改
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
...
@@ -31,7 +29,6 @@
...
@@ -31,7 +29,6 @@
size=
"mini"
size=
"mini"
:disabled=
"multiple"
:disabled=
"multiple"
@
click=
"handleDelete"
@
click=
"handleDelete"
v-hasPermi=
"['md:clientItem:remove']"
>
删除
</el-button>
>
删除
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
@@ -42,21 +39,19 @@
...
@@ -42,21 +39,19 @@
<el-table-column
label=
"产品"
prop=
"itemName"
/>
<el-table-column
label=
"产品"
prop=
"itemName"
/>
<el-table-column
label=
"客户产品名称"
prop=
"clientItemName"
/>
<el-table-column
label=
"客户产品名称"
prop=
"clientItemName"
/>
<el-table-column
label=
"客户产品编码"
prop=
"clientItemCode"
/>
<el-table-column
label=
"客户产品编码"
prop=
"clientItemCode"
/>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width
"
>
<el-table-column
label=
"操作"
width=
"120
"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['md:clientItem:edit']"
>
修改
</el-button>
>
修改
</el-button>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-delete"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['md:clientItem:remove']"
>
删除
</el-button>
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/views/mes/md/client/components/PaymentRelation.vue
View file @
6020ec22
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
icon=
"el-icon-plus"
icon=
"el-icon-plus"
size=
"mini"
size=
"mini"
@
click=
"handleAdd"
@
click=
"handleAdd"
v-hasPermi=
"['md:relation:add']"
>
新增
>
新增
</el-button>
</el-button>
</el-col>
</el-col>
...
@@ -20,7 +19,6 @@
...
@@ -20,7 +19,6 @@
size=
"mini"
size=
"mini"
:disabled=
"single"
:disabled=
"single"
@
click=
"handleUpdate"
@
click=
"handleUpdate"
v-hasPermi=
"['md:relation:edit']"
>
修改
>
修改
</el-button>
</el-button>
</el-col>
</el-col>
...
@@ -32,39 +30,23 @@
...
@@ -32,39 +30,23 @@
size=
"mini"
size=
"mini"
:disabled=
"multiple"
:disabled=
"multiple"
@
click=
"handleDelete"
@
click=
"handleDelete"
v-hasPermi=
"['md:relation:remove']"
>
删除
>
删除
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['md:relation:export']"
>
导出
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
<el-table
v-loading=
"loading"
:data=
"relationList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"relationList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
label=
"客户id"
align=
"center"
prop=
"clientId"
/>
<el-table-column
label=
"支付方客户编码"
prop=
"relatedCode"
/>
<el-table-column
label=
"支付方客户ID"
align=
"center"
prop=
"relatedClientId"
/>
<el-table-column
label=
"支付方客户名称"
prop=
"relatedName"
/>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
/>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"120"
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"修改时间"
align=
"center"
prop=
"updateTime"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['md:relation:edit']"
>
修改
>
修改
</el-button>
</el-button>
<el-button
<el-button
...
@@ -72,7 +54,6 @@
...
@@ -72,7 +54,6 @@
type=
"text"
type=
"text"
icon=
"el-icon-delete"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['md:relation:remove']"
>
删除
>
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -90,8 +71,10 @@
...
@@ -90,8 +71,10 @@
<!-- 添加或修改客户付款信息关联对话框 -->
<!-- 添加或修改客户付款信息关联对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"支付方客户ID"
prop=
"relatedClientId"
label-width=
"8em"
>
<el-form-item
label=
"支付方客户"
prop=
"relatedClientId"
label-width=
"8em"
>
<el-input
v-model=
"form.relatedClientId"
placeholder=
"请输入支付方客户ID"
/>
<el-select
v-model=
"form.relatedClientId"
placeholder=
"请选择支付方客户"
@
focus=
"getClientList()"
clearable
filterable
remote
:remote-method=
"getClientList"
>
<el-option
v-for=
"item in clientList"
:key=
"item.clientId"
:value=
"item.clientId"
:label=
"item.clientName"
/>
</el-select>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -104,6 +87,7 @@
...
@@ -104,6 +87,7 @@
<
script
>
<
script
>
import
{
listRelation
,
getRelation
,
delRelation
,
addRelation
,
updateRelation
}
from
"@/api/mes/md/clientPaymentRelation"
;
import
{
listRelation
,
getRelation
,
delRelation
,
addRelation
,
updateRelation
}
from
"@/api/mes/md/clientPaymentRelation"
;
import
{
listClient
}
from
'@/api/mes/md/client'
export
default
{
export
default
{
name
:
"Relation"
,
name
:
"Relation"
,
...
@@ -139,6 +123,7 @@ export default {
...
@@ -139,6 +123,7 @@ export default {
},
},
// 表单参数
// 表单参数
form
:
{},
form
:
{},
clientList
:
[],
// 表单校验
// 表单校验
rules
:
{
rules
:
{
relatedClientId
:
[{
relatedClientId
:
[{
...
@@ -147,9 +132,6 @@ export default {
...
@@ -147,9 +132,6 @@ export default {
}
}
};
};
},
},
created
()
{
this
.
getList
();
},
methods
:
{
methods
:
{
/** 查询客户付款信息关联列表 */
/** 查询客户付款信息关联列表 */
getList
()
{
getList
()
{
...
@@ -249,6 +231,10 @@ export default {
...
@@ -249,6 +231,10 @@ export default {
...
this
.
queryParams
...
this
.
queryParams
},
`relation_
${
new
Date
().
getTime
()}
.xlsx`
)
},
`relation_
${
new
Date
().
getTime
()}
.xlsx`
)
},
},
getClientList
(
key
)
{
listClient
({
clientName
:
key
,
pageNum
:
1
,
pageSize
:
100
}).
then
(
res
=>
this
.
clientList
=
res
.
rows
)
},
init
(
form
)
{
init
(
form
)
{
if
(
!
form
.
clientId
)
return
if
(
!
form
.
clientId
)
return
this
.
queryParams
.
clientId
=
form
.
clientId
this
.
queryParams
.
clientId
=
form
.
clientId
...
...
src/views/mes/md/client/components/UrgeEmail.vue
View file @
6020ec22
...
@@ -9,7 +9,6 @@
...
@@ -9,7 +9,6 @@
icon=
"el-icon-plus"
icon=
"el-icon-plus"
size=
"mini"
size=
"mini"
@
click=
"handleAdd"
@
click=
"handleAdd"
v-hasPermi=
"['md:email:add']"
>
新增
>
新增
</el-button>
</el-button>
</el-col>
</el-col>
...
@@ -21,7 +20,6 @@
...
@@ -21,7 +20,6 @@
size=
"mini"
size=
"mini"
:disabled=
"single"
:disabled=
"single"
@
click=
"handleUpdate"
@
click=
"handleUpdate"
v-hasPermi=
"['md:email:edit']"
>
修改
>
修改
</el-button>
</el-button>
</el-col>
</el-col>
...
@@ -33,42 +31,28 @@
...
@@ -33,42 +31,28 @@
size=
"mini"
size=
"mini"
:disabled=
"multiple"
:disabled=
"multiple"
@
click=
"handleDelete"
@
click=
"handleDelete"
v-hasPermi=
"['md:email:remove']"
>
删除
>
删除
</el-button>
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['md:email:export']"
>
导出
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
<el-table
v-loading=
"loading"
:data=
"emailList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"emailList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
label=
"客户id"
align=
"center"
prop=
"clientId"
/>
<el-table-column
label=
"邮箱"
prop=
"email"
/>
<el-table-column
label=
"邮箱"
align=
"center"
prop=
"email"
/>
<el-table-column
label=
"联系人"
prop=
"contact"
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"contact"
/>
<el-table-column
label=
"是否启用"
prop=
"enableFlag"
>
<el-table-column
label=
"是否启用"
align=
"center"
prop=
"enableFlag"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_yes_no"
:value=
"scope.row.enableFlag"
/>
<dict-tag
:options=
"dict.type.sys_yes_no"
:value=
"scope.row.enableFlag"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width
"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"120
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['md:email:edit']"
>
修改
>
修改
</el-button>
</el-button>
<el-button
<el-button
...
@@ -76,7 +60,6 @@
...
@@ -76,7 +60,6 @@
type=
"text"
type=
"text"
icon=
"el-icon-delete"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['md:email:remove']"
>
删除
>
删除
</el-button>
</el-button>
</
template
>
</
template
>
...
...
src/views/mes/md/client/index.vue
View file @
6020ec22
...
@@ -533,10 +533,10 @@ export default {
...
@@ -533,10 +533,10 @@ export default {
},
},
//自动生成编码
//自动生成编码
handleAutoGenChange
(
autoGenFlag
){
handleAutoGenChange
(
autoGenFlag
){
debugger
;
if
(
autoGenFlag
){
if
(
autoGenFlag
){
genCode
(
'CLIENT_CODE'
).
then
(
response
=>
{
genCode
(
'CLIENT_CODE'
).
then
(
response
=>
{
this
.
form
.
clientCode
=
response
;
this
.
form
.
clientCode
=
response
;
this
.
$forceUpdate
()
});
});
}
else
{
}
else
{
this
.
form
.
clientCode
=
null
;
this
.
form
.
clientCode
=
null
;
...
...
src/views/mes/order/sales/index.vue
View file @
6020ec22
...
@@ -125,14 +125,14 @@
...
@@ -125,14 +125,14 @@
v-hasPermi=
"['od:salesOrder:remove']"
v-hasPermi=
"['od:salesOrder:remove']"
>
删除
>
删除
</el-button>
</el-button>
<el-button
<!--
<el-button
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-refresh"
icon=
"el-icon-refresh"
@
click=
"onSync(scope.row)"
@
click=
"onSync(scope.row)"
v-hasPermi=
"['od:salesOrder:edit']"
v-hasPermi=
"['od:salesOrder:edit']"
>
同步
>
同步
</el-button>
</el-button>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/mes/order/salesdetail/index.vue
View file @
6020ec22
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
<el-dialog
:visible=
"showEditDetail"
title=
"订单详情"
width=
"1200px"
>
<el-dialog
:visible
.
sync
=
"showEditDetail"
title=
"订单详情"
width=
"1200px"
>
<el-form
:model=
"itemForm"
ref=
"itemForm"
:rules=
"itemRules"
label-width=
"100px"
>
<el-form
:model=
"itemForm"
ref=
"itemForm"
:rules=
"itemRules"
label-width=
"100px"
>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
...
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