Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-baoshen-excel
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
何远江
topsun-baoshen-excel
Commits
92e91a7f
Commit
92e91a7f
authored
Mar 15, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改设置产品对照换算值
parent
818bdc05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
ProductCompare.vue
...omment-excel/components/ProductCompare/ProductCompare.vue
+2
-3
ProductCompare.vue
src/views/product/productCompare/ProductCompare.vue
+5
-2
No files found.
src/views/comment-excel/components/ProductCompare/ProductCompare.vue
View file @
92e91a7f
...
...
@@ -35,7 +35,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<
!-- <
el-col :span="24">
<el-form-item label="产品单位" prop="customerUnit">
<el-input v-model="formState.customerUnit"></el-input>
</el-form-item>
...
...
@@ -49,7 +49,7 @@
<el-form-item label="换算值" prop="unitRatio">
<el-input type="number" v-model="formState.unitRatio"></el-input>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"24"
>
<el-form-item
label=
"产品描述"
prop=
"excelFiled"
>
<el-input
...
...
@@ -127,7 +127,6 @@ const getText = () => {
const
vs
=
Object
.
values
(
item
)
effectVal
.
push
(...
vs
.
filter
((
v
)
=>
!!
v
))
})
return
effectVal
.
join
(
';'
)
}
// 表单提交
...
...
src/views/product/productCompare/ProductCompare.vue
View file @
92e91a7f
...
...
@@ -102,7 +102,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<
!-- <
el-col :span="24">
<el-form-item label="产品单位" prop="customerUnit">
<el-input v-model="formEdit.customerUnit"></el-input>
</el-form-item>
...
...
@@ -116,7 +116,7 @@
<el-form-item label="换算值" prop="unitRatio">
<el-input type="number" v-model="formEdit.unitRatio"></el-input>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"24"
>
<el-form-item
label=
"产品描述"
prop=
"excelFiled"
>
<el-input
...
...
@@ -236,6 +236,7 @@ const onHide = () => {
// 重置表单
Object
.
assign
(
formEdit
,
{
productCompareId
:
null
,
excelProductFiledConfId
:
null
,
customerId
:
''
,
customerId_dictText
:
''
,
productId_dictText
:
''
,
...
...
@@ -245,6 +246,8 @@ const onHide = () => {
unit
:
''
,
unitRatio
:
''
})
console
.
log
(
formEdit
,
'formEdit--onhide'
)
}
const
onReset
=
()
=>
{
...
...
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