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
ximai
mes-ui
Commits
4e700dd0
Commit
4e700dd0
authored
Nov 12, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品编码规则添加日期流水间隔符字段
parent
2dcc7d10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
index.vue
src/views/mes/pro/proQrcodeRule/index.vue
+21
-6
No files found.
src/views/mes/pro/proQrcodeRule/index.vue
View file @
4e700dd0
...
@@ -120,10 +120,11 @@
...
@@ -120,10 +120,11 @@
prop=
"serialLen"
prop=
"serialLen"
/>
/>
<el-table-column
<el-table-column
:label=
"$t('编码时间格式化')"
:label=
"$t('编码时间格式化')"
align=
"center"
align=
"center"
prop=
"datePattern"
prop=
"datePattern"
/>
/>
<el-table-column
:label=
"$t('日期流水间隔符')"
align=
"center"
prop=
"dateSerialSpace"
/>
<el-table-column
<el-table-column
:label=
"$t('目前号段')"
:label=
"$t('目前号段')"
align=
"center"
align=
"center"
...
@@ -171,7 +172,7 @@
...
@@ -171,7 +172,7 @@
/>
/>
<!-- 添加或修改产品二维码规则对话框 -->
<!-- 添加或修改产品二维码规则对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"
75
0px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"
80
0px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"110px"
>
<el-row>
<el-row>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
...
@@ -200,6 +201,11 @@
...
@@ -200,6 +201,11 @@
<el-input
v-model=
"form.datePattern"
/>
<el-input
v-model=
"form.datePattern"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<el-form-item
:label=
"$t('日期流水间隔符')"
prop=
"dateSerialSpace"
>
<el-input
v-model=
"form.dateSerialSpace"
/>
</el-form-item>
</el-col>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<el-col
:lg=
"12"
:md=
"12"
:sm=
"24"
:xs=
"24"
>
<el-form-item
:label=
"$t('编码流水长度')"
prop=
"serialLen"
>
<el-form-item
:label=
"$t('编码流水长度')"
prop=
"serialLen"
>
<el-input-number
v-model=
"form.serialLen"
:min=
"0"
:step=
"1"
style=
"width: 100%"
/>
<el-input-number
v-model=
"form.serialLen"
:min=
"0"
:step=
"1"
style=
"width: 100%"
/>
...
@@ -242,6 +248,15 @@
...
@@ -242,6 +248,15 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-col>
<el-alert
:closable=
"false"
:title=
"$t('编码时间格式说明')"
type=
"error"
:description=
"$t('yy=2位年份 yyyy=4位年份 dd=当月哪天 DDD=当年哪天 HH=24小时制 hh=12小时制 mm=分钟 ss=秒')"
>
</el-alert>
</el-col>
</el-row>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{
...
@@ -278,7 +293,7 @@
...
@@ -278,7 +293,7 @@
<ItemSelect
ref=
"itemSelect"
@
onSelected=
"onItemSelected"
>
</ItemSelect>
<ItemSelect
ref=
"itemSelect"
@
onSelected=
"onItemSelected"
>
</ItemSelect>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
import
{
listProQrcodeRule
,
listProQrcodeRule
,
...
@@ -403,6 +418,7 @@ export default {
...
@@ -403,6 +418,7 @@ export default {
itemCode
:
null
,
itemCode
:
null
,
prefix
:
null
,
prefix
:
null
,
datePattern
:
null
,
datePattern
:
null
,
dateSerialSpace
:
null
,
serialLen
:
0
,
serialLen
:
0
,
itemDesc
:
null
,
itemDesc
:
null
,
clientCode
:
null
,
clientCode
:
null
,
...
@@ -495,4 +511,3 @@ export default {
...
@@ -495,4 +511,3 @@ export default {
},
},
}
}
</
script
>
</
script
>
\ No newline at end of file
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