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
6b1a1117
Commit
6b1a1117
authored
Feb 12, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 1.生产工单size计算优化; 2.角色管理表格增加角色字段显示; 3.刀模版台账弹窗细节优化
parent
e717dffe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
157 additions
and
83 deletions
+157
-83
.env.development
.env.development
+2
-2
index.vue
src/views/mes/md/workunit/index.vue
+23
-6
proofingInfo.vue
src/views/mes/pro/workorder/proofingInfo.vue
+1
-2
index.vue
src/views/mes/tm/tool/index.vue
+2
-2
index.vue
src/views/system/user/index.vue
+127
-69
vue.config.js
vue.config.js
+2
-2
No files found.
.env.development
View file @
6b1a1117
...
@@ -5,8 +5,8 @@ VUE_APP_TITLE = 宝绅-生产执行系统
...
@@ -5,8 +5,8 @@ VUE_APP_TITLE = 宝绅-生产执行系统
ENV = 'development'
ENV = 'development'
# 若依管理系统/开发环境
# 若依管理系统/开发环境
#
VUE_APP_BASE_API = 'http://192.168.3.181:8100'
VUE_APP_BASE_API = 'http://192.168.3.181:8100'
VUE_APP_BASE_API = 'http://192.168.3.181:8101'
#
VUE_APP_BASE_API = 'http://192.168.3.181:8101'
# 路由懒加载
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/views/mes/md/workunit/index.vue
View file @
6b1a1117
...
@@ -159,6 +159,14 @@
...
@@ -159,6 +159,14 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="是否配送刀模版" align="center" prop="toolDelivery">
<template slot-scope="scope">
<dict-tag
:options="dict.type.sys_yes_no_number"
:value="scope.row.toolDelivery"
/>
</template>
</el-table-column> -->
<el-table-column
label=
"固化时间"
align=
"center"
prop=
"solidifyTime"
/>
<el-table-column
label=
"固化时间"
align=
"center"
prop=
"solidifyTime"
/>
<el-table-column
<el-table-column
label=
"加工处理最小厚度"
label=
"加工处理最小厚度"
...
@@ -489,12 +497,16 @@
...
@@ -489,12 +497,16 @@
:rules=
"rules"
:rules=
"rules"
label-width=
"120px"
label-width=
"120px"
>
>
<el-form-item
label=
"配送刀模版"
>
<!-- <el-form-item label="是否配送刀模版">
<el-radio-group
v-model=
"form.toolDelivery"
>
<el-radio-group v-model="form.toolDelivery" @input="handleToolDeliveryChange">
<el-radio
:label=
"1"
>
是
</el-radio>
<el-radio
<el-radio
:label=
"0"
>
否
</el-radio>
v-for="dict in dict.type.sys_yes_no_number"
:key="dict.value"
:label="Number(dict.value)"
>{{ dict.label }}</el-radio
>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
-->
</el-form>
</el-form>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -600,7 +612,7 @@ import { genCode } from "@/api/system/autocode/rule";
...
@@ -600,7 +612,7 @@ import { genCode } from "@/api/system/autocode/rule";
export
default
{
export
default
{
name
:
"Workunit"
,
name
:
"Workunit"
,
components
:
{
WorkstationSelect
},
components
:
{
WorkstationSelect
},
dicts
:
[
"sys_yes_no"
],
dicts
:
[
"sys_yes_no"
,
"sys_yes_no_number"
],
data
()
{
data
()
{
return
{
return
{
optType
:
undefined
,
optType
:
undefined
,
...
@@ -836,6 +848,11 @@ export default {
...
@@ -836,6 +848,11 @@ export default {
this
.
form
.
workunitCode
=
null
;
this
.
form
.
workunitCode
=
null
;
}
}
},
},
handleToolDeliveryChange
(
val
)
{
updateWorkunit
(
this
.
form
).
then
((
response
)
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
);
});
}
},
},
};
};
</
script
>
</
script
>
src/views/mes/pro/workorder/proofingInfo.vue
View file @
6b1a1117
...
@@ -321,7 +321,6 @@
...
@@ -321,7 +321,6 @@
</el-col> -->
</el-col> -->
</el-row>
</el-row>
</el-form>
</el-form>
<el-tabs
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tabs
type=
"border-card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"BOM"
>
<el-tab-pane
label=
"BOM"
>
<ProogingBom
ref=
"ProogingBomRef"
/>
<ProogingBom
ref=
"ProogingBomRef"
/>
...
@@ -554,10 +553,10 @@ export default {
...
@@ -554,10 +553,10 @@ export default {
console
.
log
(
'this.currentData'
,
this
.
currentData
)
console
.
log
(
'this.currentData'
,
this
.
currentData
)
this
.
currentData
.
saleDirectiveList
=
this
.
$refs
[
"WorkOrderSaleRef"
].
tableData
this
.
currentData
.
saleDirectiveList
=
this
.
$refs
[
"WorkOrderSaleRef"
].
tableData
this
.
form
.
quantity
=
quantity
this
.
form
.
quantity
=
quantity
this
.
handleChangeQuantity
()
}
}
},
},
handleChangeQuantity
()
{
handleChangeQuantity
()
{
// console.log(quantity);
// 计算补单的时候 数量变更修改
// 计算补单的时候 数量变更修改
if
(
this
.
mode
===
'make'
)
{
if
(
this
.
mode
===
'make'
)
{
// this.form.quantity
// this.form.quantity
...
...
src/views/mes/tm/tool/index.vue
View file @
6b1a1117
...
@@ -362,7 +362,7 @@
...
@@ -362,7 +362,7 @@
label
-
width
=
"120px"
label
-
width
=
"120px"
>
>
<
el
-
row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
!--
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"刀模版具类型"
prop
=
"toolTypeId"
>
<
el
-
form
-
item
label
=
"刀模版具类型"
prop
=
"toolTypeId"
>
<
el
-
select
<
el
-
select
style
=
"width: 100%"
style
=
"width: 100%"
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
><
/el-option
>
><
/el-option
>
<
/el-select
>
<
/el-select
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col>
--
>
<
el
-
col
:
span
=
"12"
>
<
el
-
col
:
span
=
"12"
>
<
el
-
form
-
item
label
=
"物料编码"
prop
=
"sapItemCode"
>
<
el
-
form
-
item
label
=
"物料编码"
prop
=
"sapItemCode"
>
<
el
-
input
v
-
model
=
"form.sapItemCode"
placeholder
=
"请选择物料编码"
>
<
el
-
input
v
-
model
=
"form.sapItemCode"
placeholder
=
"请选择物料编码"
>
...
...
src/views/system/user/index.vue
View file @
6b1a1117
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
6b1a1117
...
@@ -37,8 +37,8 @@ module.exports = {
...
@@ -37,8 +37,8 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://localhost:8080`,
// target: `http://localhost:8080`,
//
target: `http://192.168.3.181:8100`,
target
:
`http://192.168.3.181:8100`
,
target
:
`http://192.168.3.181:8101`
,
//
target: `http://192.168.3.181:8101`,
// target: `http://192.168.4.122:8080`,
// target: `http://192.168.4.122:8080`,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
...
...
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