Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhanglw
sensorConsult
Commits
14d1c4f4
Commit
14d1c4f4
authored
Jun 07, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品富文本
parent
7027b6b7
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
215 additions
and
29 deletions
+215
-29
add.vue
src/views/backstage/customMgt/customTabulate/add.vue
+1
-1
edit.vue
src/views/backstage/customMgt/customTabulate/edit.vue
+2
-2
index.vue
src/views/backstage/customMgt/customTabulate/index.vue
+1
-1
view.vue
src/views/backstage/customMgt/customTabulate/view.vue
+39
-10
add.vue
src/views/backstage/productMgt/productTabulate/add.vue
+172
-15
No files found.
src/views/backstage/customMgt/customTabulate/add.vue
View file @
14d1c4f4
...
...
@@ -163,7 +163,7 @@
</
template
>
<
script
>
import
{
getToken
}
from
'
@/utils/auth
'
import
{
HttpReq
}
from
'
@/api/common
.js
'
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
dicts
:
[
'
industry_type
'
,
'
supplier_rank
'
,
'
company_type
'
,
'
business_status
'
],
...
...
src/views/backstage/customMgt/customTabulate/edit.vue
View file @
14d1c4f4
...
...
@@ -70,7 +70,7 @@
<img
width=
"100%"
:src=
"dialogImageUrl"
>
</el-dialog>
</div>
<div
style=
"
clear:
both"
>
{{
formData
.
businessLicense
}}
</div>
<div
style=
"
display: none;clear:
both"
>
{{
formData
.
businessLicense
}}
</div>
</el-form-item>
<el-form-item
label=
"统一社会信用代码:"
class=
"form-cell"
prop=
"unifiedSocialCreditCode"
>
<div
class=
"cell-box"
>
...
...
@@ -178,7 +178,7 @@
</
template
>
<
script
>
import
{
getToken
}
from
'
@/utils/auth
'
import
{
HttpReq
}
from
'
@/api/common
.js
'
import
{
HttpReq
}
from
'
@/api/common
'
export
default
{
dicts
:
[
'
industry_type
'
,
'
supplier_rank
'
,
'
company_type
'
,
'
business_status
'
],
...
...
src/views/backstage/customMgt/customTabulate/index.vue
View file @
14d1c4f4
...
...
@@ -63,7 +63,7 @@
</div>
</template>
<
script
>
import
{
HttpReq
}
from
'
@/api/common
.js
'
import
{
HttpReq
}
from
'
@/api/common
'
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
addPage
from
'
./add
'
import
editPage
from
'
./edit
'
...
...
src/views/backstage/customMgt/customTabulate/view.vue
View file @
14d1c4f4
...
...
@@ -150,7 +150,7 @@
</el-form-item>
<el-form-item
v-if=
"!isReview && formData.status!=='3'"
label=
"审核意见:"
class=
"form-cell"
>
<div
class=
"cell-box"
>
<div
class=
"cell-textarea"
>
{{
formData
.
reviewCo
ntent
}}
</div>
<div
class=
"cell-textarea"
>
{{
formData
.
reviewCo
mments
}}
</div>
</div>
</el-form-item>
</el-form>
...
...
@@ -161,9 +161,9 @@
</div>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"cancelReview"
:visible=
"reviewVisible"
title=
"审核意见"
width=
"600px"
>
<el-form
ref=
"formReviewRef"
:model=
"formReview"
:rules=
"rules"
:status-icon=
"true"
label-width=
"120px"
>
<el-form-item
label=
"审核意见:"
class=
"form-cell"
prop=
"reviewCo
ntent
"
>
<el-form-item
label=
"审核意见:"
class=
"form-cell"
prop=
"reviewCo
mments
"
>
<div
class=
"cell-box"
>
<el-input
v-model=
"formReview.reviewCo
ntent
"
type=
"textarea"
placeholder=
"请输入审核意见"
maxlength=
"100"
:autosize=
"
{ minRows: 4, maxRows: 6}" show-word-limit resize="none" style="width: 300px" />
<el-input
v-model=
"formReview.reviewCo
mments
"
type=
"textarea"
placeholder=
"请输入审核意见"
maxlength=
"100"
:autosize=
"
{ minRows: 4, maxRows: 6}" show-word-limit resize="none" style="width: 300px" />
</div>
</el-form-item>
</el-form>
...
...
@@ -175,7 +175,7 @@
</
template
>
<
script
>
import
{
getToken
}
from
'
@/utils/auth
'
import
{
HttpReq
}
from
'
@/api/common
.js
'
import
{
HttpReq
}
from
'
@/api/common
'
import
review_pass
from
'
@/assets/images/review_pass.png
'
import
review_await
from
'
@/assets/images/review_await.png
'
import
review_failed
from
'
@/assets/images/review_failed.png
'
...
...
@@ -224,14 +224,15 @@ export default {
supplierLevel
:
'
1
'
,
// 供应商级别
taxpayerIdentificationNumber
:
''
,
// 纳税人识别号
unifiedSocialCreditCode
:
''
,
// 统一社会信用代码
reviewComments
:
''
,
// 审核意见
sysUserId
:
null
},
reviewVisible
:
false
,
formReview
:
{
reviewCo
ntent
:
''
reviewCo
mments
:
''
},
rules
:
{
reviewCo
ntent
:
{
required
:
true
,
message
:
'
请填写审核意见
'
,
trigger
:
'
blur
'
}
reviewCo
mments
:
{
required
:
true
,
message
:
'
请填写审核意见
'
,
trigger
:
'
blur
'
}
}
}
},
...
...
@@ -259,18 +260,46 @@ export default {
if
(
this
.
$refs
.
formReviewRef
)
{
this
.
$refs
.
formReviewRef
.
resetFields
()
}
this
.
formReview
.
reviewCo
ntent
=
''
this
.
formReview
.
reviewCo
mments
=
''
this
.
reviewVisible
=
false
},
submitForm
(
isPass
)
{
if
(
isPass
)
{
this
.
formReview
.
reviewContent
=
'
审核通过
'
this
.
cancelView
()
this
.
formReview
.
reviewComments
=
'
审核通过
'
HttpReq
.
backstageApi
.
reviewCustomer
({
customerId
:
this
.
customerId
,
reviewComments
:
this
.
formReview
.
reviewComments
,
type
:
1
}).
then
((
res
)
=>
{
this
.
$notify
({
title
:
res
.
msg
,
type
:
'
success
'
,
duration
:
2500
})
if
(
res
.
code
===
200
)
{
this
.
cancelView
()
this
.
$parent
.
loadData
()
}
})
return
}
this
.
$refs
.
formReviewRef
.
validate
((
valid
,
obj
)
=>
{
if
(
valid
)
{
this
.
cancelView
()
HttpReq
.
backstageApi
.
reviewCustomer
({
customerId
:
this
.
customerId
,
reviewComments
:
this
.
formReview
.
reviewComments
,
type
:
0
}).
then
((
res
)
=>
{
this
.
$notify
({
title
:
res
.
msg
,
type
:
'
success
'
,
duration
:
2500
})
if
(
res
.
code
===
200
)
{
this
.
cancelView
()
this
.
$parent
.
loadData
()
}
})
}
else
{
this
.
$message
({
message
:
'
表单信息有误,请核对无误后提交!
'
,
...
...
src/views/backstage/productMgt/productTabulate/add.vue
View file @
14d1c4f4
This diff is collapsed.
Click to expand it.
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