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
54e4d0c9
Commit
54e4d0c9
authored
Jan 20, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自动生成code
parent
7f5e773b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
proofingInfo.vue
src/views/mes/proofing/proofingInfo.vue
+17
-11
No files found.
src/views/mes/proofing/proofingInfo.vue
View file @
54e4d0c9
...
...
@@ -122,7 +122,7 @@
<el-col
:md=
"8"
:xs=
"12"
>
<el-form-item
label=
"计划完成日期"
prop=
"plannedFinishDate"
>
<el-date-picker
value-format=
"
YYYY
-MM-dd"
value-format=
"
yyyy
-MM-dd"
v-model=
"form.plannedFinishDate"
placeholder=
"请输入计划完成日期"
></el-date-picker>
...
...
@@ -131,7 +131,7 @@
<el-col
:md=
"8"
:xs=
"12"
>
<el-form-item
label=
"版面需求时间"
prop=
"plannedLayoutDate"
>
<el-date-picker
value-format=
"
YYYY
-MM-dd"
value-format=
"
yyyy
-MM-dd"
v-model=
"form.plannedLayoutDate"
placeholder=
"请输入版面需求时间"
></el-date-picker>
...
...
@@ -173,6 +173,7 @@
</template>
<
script
>
import
{
genCode
}
from
"@/api/system/autocode/rule"
;
import
ProogingBom
from
"./components/ProogingBom.vue"
;
import
ProogingProcess
from
"./components/ProogingProcess.vue"
;
import
ItemSelect
from
"@/components/itemSelect/single.vue"
;
...
...
@@ -231,13 +232,16 @@ export default {
return
titles
[
this
.
mode
];
},
},
created
()
{},
created
()
{
genCode
(
"PROTOTYPE_REQUEST_CODE"
).
then
((
response
)
=>
{
this
.
form
.
prototypeRequestCode
=
response
;
});
},
methods
:
{
/** 点击tab 获取bom的数据,将参数传递给后面的组件 */
tabClick
(
val
)
{
if
(
val
.
index
!=
0
)
{
this
.
bomList
=
this
.
$refs
[
"ProogingBomRef"
].
getComData
();
console
.
log
(
this
.
bomList
,
"7777777"
);
}
},
onItemSelect
(
row
)
{
...
...
@@ -271,14 +275,16 @@ export default {
bomList
,
processList
,
};
console
.
log
(
'params'
,
params
)
console
.
log
(
"params"
,
params
);
const
loadingInstance
=
Loading
.
service
({
fullscreen
:
true
});
addPrototypeRequest
(
params
).
then
((
res
)
=>
{
loadingInstance
.
close
();
this
.
$modal
.
msgSuccess
(
"提交成功!"
);
}).
catch
(()
=>
{
loadingInstance
.
close
();
})
addPrototypeRequest
(
params
)
.
then
((
res
)
=>
{
loadingInstance
.
close
();
this
.
$modal
.
msgSuccess
(
"提交成功!"
);
})
.
catch
(()
=>
{
loadingInstance
.
close
();
});
},
/**重置表单 */
resetForm
()
{
...
...
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