Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
b7cd03d0
Commit
b7cd03d0
authored
Mar 11, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照上传功能加另外的参数
parent
2f98d7ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
8 deletions
+34
-8
templateFirst.vue
src/views/template/templateFirst.vue
+34
-8
No files found.
src/views/template/templateFirst.vue
View file @
b7cd03d0
...
...
@@ -90,7 +90,7 @@
<div
class=
"CodeOne"
>
<el-form
:model=
"inspectJbAl2o3List"
>
<el-form-item
label=
"检查一单号: "
>
<el-input
:disabled=
"((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '1') || ((controlsForm.controls == '3' || controlsForm.controls == '1' )&& controlsForm.approveStatus === '
2
') || ((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '3')"
v-model=
"inspectJbAl2o3List.jcOneCode"
class=
"CodeOneInput"
></el-input>
<el-input
:disabled=
"((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '1') || ((controlsForm.controls == '3' || controlsForm.controls == '1' )&& controlsForm.approveStatus === '
9
') || ((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '3')"
v-model=
"inspectJbAl2o3List.jcOneCode"
class=
"CodeOneInput"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
@@ -1453,7 +1453,7 @@
<div
class=
"CodeOne"
>
<el-form
:model=
"inspectJbAl2o3List"
>
<el-form-item
label=
"检查三单号: "
>
<el-input
:disabled=
"((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '1') || ((controlsForm.controls == '3' || controlsForm.controls == '1' )&& controlsForm.approveStatus === '
2
') || ((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '3')"
v-model=
"inspectJbAl2o3List.jcTwoCode"
class=
"CodeOneInput"
></el-input>
<el-input
:disabled=
"((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '1') || ((controlsForm.controls == '3' || controlsForm.controls == '1' )&& controlsForm.approveStatus === '
9
') || ((controlsForm.controls == '3' || controlsForm.controls == '1')&& controlsForm.approveStatus === '3')"
v-model=
"inspectJbAl2o3List.jcTwoCode"
class=
"CodeOneInput"
></el-input>
</el-form-item>
</el-form>
</div>
...
...
@@ -1877,9 +1877,9 @@
v-if=
"(controlsForm.controls ==='2'&& controlsForm.approveStatus ==='0') || (controlsForm.controls ==='2'&& controlsForm.approveStatus ==='3')"
class=
"submitButton"
>
<el-button
class=
"buttoonSave"
type=
"primary"
style=
"background-color: #5cbce5"
@
click=
"submitControl"
>
保存
<el-button
class=
"buttoonSave"
type=
"primary"
:loading=
"submitLoadIng"
style=
"background-color: #5cbce5"
@
click=
"submitControl"
>
保存
</el-button>
<el-button
class=
"buttoonCommit"
type=
"primary"
@
click=
"present"
>
提交
</el-button>
<el-button
class=
"buttoonCommit"
type=
"primary"
:loading=
"presentLoading"
@
click=
"present"
>
提交
</el-button>
</div>
<!--
<div-->
<!-- v-if="(controlsForm.controls ==='3'&& controlsForm.approveStatus ==='1') || (controlsForm.controls ==='3'&&controlsForm.approveStatus === '9' )"-->
...
...
@@ -1888,8 +1888,8 @@
<!--
<el-button
class=
"buttoon"
type=
"primary"
@
click=
"back"
>
返回
</el-button>
-->
<!--
</div>
-->
<div
v-if=
"(controlsForm.controls ==='1'&& controlsForm.approveStatus ==='1')"
class=
"submitButton"
>
<el-button
class=
"buttoonSave"
type=
"primary"
@
click=
"approve"
>
同意
</el-button>
<el-button
class=
"buttoonCommit"
type=
"primary"
@
click=
"reject"
>
驳回
</el-button>
<el-button
class=
"buttoonSave"
type=
"primary"
:loading=
"approveLoading"
@
click=
"approve"
>
同意
</el-button>
<el-button
class=
"buttoonCommit"
type=
"primary"
:loading=
"rejectLoading"
@
click=
"reject"
>
驳回
</el-button>
</div>
</div>
</div>
...
...
@@ -1908,6 +1908,10 @@ export default {
components
:
{
TextToolTip
},
data
()
{
return
{
submitLoadIng
:
false
,
presentLoading
:
false
,
approveLoading
:
false
,
rejectLoading
:
false
,
ThirdFromRules
:
{
wgKx
:
[{
pattern
:
/^
(
0|
[
1-9
]\d
*
)(\.\d{0,4})?
$/
,
message
:
'请输入有效的数字'
,
trigger
:
'change'
}],
wgLlw
:
[{
pattern
:
/^
(
0|
[
1-9
]\d
*
)(\.\d{0,6})?
$/
,
message
:
'请输入有效的数字'
,
trigger
:
'change'
}],
...
...
@@ -2530,6 +2534,7 @@ export default {
},
// 审核驳回
reject
()
{
this
.
rejectLoading
=
true
const
obj
=
{
businessId
:
this
.
inspectInfoList
.
businessId
,
approveNote
:
this
.
inspectsForm
.
approveNote
,
...
...
@@ -2538,15 +2543,19 @@ export default {
approveInformation
(
obj
).
then
(
res
=>
{
console
.
log
(
'审核结果'
,
res
)
if
(
res
.
code
===
200
)
{
this
.
rejectLoading
=
false
this
.
$message
.
error
(
'该审核已驳回'
)
this
.
$router
.
push
({
path
:
'/checkOneTbale'
})
}
}).
catch
(()
=>
{
this
.
rejectLoading
=
false
})
},
// 审核通过
approve
()
{
this
.
approveLoading
=
true
const
obj
=
{
businessId
:
this
.
inspectInfoList
.
businessId
,
approveNote
:
this
.
inspectsForm
.
approveNote
,
...
...
@@ -2555,11 +2564,16 @@ export default {
approveInformation
(
obj
).
then
(
res
=>
{
console
.
log
(
'审核结果'
,
res
)
if
(
res
.
code
===
200
)
{
this
.
approveLoading
=
false
this
.
$message
.
success
(
'审核通过'
)
this
.
$router
.
push
({
path
:
'/checkOneTbale'
})
}
else
{
this
.
approveLoading
=
false
}
}).
catch
(()
=>
{
this
.
approveLoading
=
false
})
},
// 获取详情
...
...
@@ -3148,6 +3162,7 @@ export default {
return
ossIdList
},
submitControl
()
{
this
.
submitLoadIng
=
true
this
.
inspectJbAl2o3List
.
standardOneData
=
this
.
getStringByArray
(
this
.
inspectJbAl2o3List
.
recode1
)
this
.
inspectJbAl2o3List
.
standardTwoData
=
this
.
getStringByArray
(
this
.
inspectJbAl2o3List
.
recode2
)
this
.
inspectJbAl2o3List
.
limitData
=
this
.
getStringByArray
(
this
.
inspectJbAl2o3List
.
recode3
)
...
...
@@ -3167,7 +3182,12 @@ export default {
this
.
getRecordInfo
(
response
.
data
.
incomeInspectInfo
.
businessId
)
this
.
controlsForm
.
approveStatus
=
'0'
this
.
controlsForm
.
controls
=
'2'
this
.
submitLoadIng
=
false
}
else
{
this
.
submitLoadIng
=
false
}
}).
catch
(()
=>
{
this
.
submitLoadIng
=
false
})
},
present
()
{
...
...
@@ -3183,6 +3203,7 @@ export default {
this
.
$refs
.
inspectJbAl2o3ListThree
.
validate
(
ijbjTT
=>
{
this
.
$refs
.
inspectJbAl2o3ListThirdFrom
.
validate
(
ijbjtf
=>
{
if
(
vaild
&&
ijbaO
&&
iJbA
&&
ijbaT
&&
ijbjTT
&&
ijbjtf
)
{
this
.
presentLoading
=
true
this
.
inspectJbAl2o3List
.
standardOneData
=
this
.
getStringByArray
(
this
.
inspectJbAl2o3List
.
recode1
)
this
.
inspectJbAl2o3List
.
standardTwoData
=
this
.
getStringByArray
(
this
.
inspectJbAl2o3List
.
recode2
)
this
.
inspectJbAl2o3List
.
limitData
=
this
.
getStringByArray
(
this
.
inspectJbAl2o3List
.
recode3
)
...
...
@@ -3197,6 +3218,9 @@ export default {
addIncomeInspectInfo
(
obj
).
then
(
response
=>
{
console
.
log
(
're'
,
response
)
if
(
response
.
code
===
200
)
{
this
.
presentLoading
=
false
this
.
controlsForm
.
approveStatus
=
'0'
this
.
controlsForm
.
controls
=
'2'
this
.
msgSuccess
(
'提交成功'
)
this
.
resetInspectInfo
()
this
.
resetinspectJbAl2o3List
()
...
...
@@ -3206,9 +3230,11 @@ export default {
this
.
inspectInfoList
.
jcCode
=
response
.
data
}
})
this
.
controlsForm
.
approveStatus
=
'1'
this
.
controlsForm
.
controls
=
'2'
}
else
{
this
.
presentLoading
=
false
}
}).
catch
(()
=>
{
this
.
presentLoading
=
false
})
}
})
...
...
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