Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
f0919a31
Commit
f0919a31
authored
May 21, 2021
by
linwenqing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://git.banshouhui.com/lijundan/self-support
into dev-fix
parents
a3797fd9
a3af91e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
complete.vue
src/pages/order/complete.vue
+9
-9
No files found.
src/pages/order/complete.vue
View file @
f0919a31
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
@
value-change=
"fieldValueChange"
>
@
value-change=
"fieldValueChange"
>
</xh-select>
</xh-select>
<view
v-else-if=
"item.formType==='file'"
>
<view
v-else-if=
"item.formType==='file'"
>
<xh-files
<xh-files
:ref=
"`fileChild$
{itemIndex}`"
:ref=
"`fileChild$
{itemIndex}`"
:groupIndex="groupIndex" :itemIndex="itemIndex" :item="item" :partnerCompanyId="partnerCompanyId" :categoryId="categoryId" :value='form[item.fieldsName] || []'
:groupIndex="groupIndex" :itemIndex="itemIndex" :item="item" :partnerCompanyId="partnerCompanyId" :categoryId="categoryId" :value='form[item.fieldsName] || []'
@value-change="fieldValueChange">
@value-change="fieldValueChange">
...
@@ -53,9 +53,9 @@
...
@@ -53,9 +53,9 @@
<u-image
class=
"pic"
width=
"160rpx"
height=
"160rpx"
:border-radius=
"10"
@
click=
"selectUpload(JSON.stringify(item), groupIndex, itemIndex)"
:src=
"uploadImage"
></u-image>
<u-image
class=
"pic"
width=
"160rpx"
height=
"160rpx"
:border-radius=
"10"
@
click=
"selectUpload(JSON.stringify(item), groupIndex, itemIndex)"
:src=
"uploadImage"
></u-image>
</view>
</view>
</
template
>
</
template
>
</xh-files>
</xh-files>
</view>
</view>
<xh-location
v-else-if=
"item.formType==='location'"
<xh-location
v-else-if=
"item.formType==='location'"
:groupIndex=
"groupIndex"
:itemIndex=
"itemIndex"
:item=
"item"
:value=
'form[item.fieldsName] || ""'
:groupIndex=
"groupIndex"
:itemIndex=
"itemIndex"
:item=
"item"
:value=
'form[item.fieldsName] || ""'
@
value-change=
"fieldValueChange"
>
@
value-change=
"fieldValueChange"
>
...
@@ -529,7 +529,7 @@
...
@@ -529,7 +529,7 @@
// 更新预计超出金额
// 更新预计超出金额
let
amount
=
this
.
calMaterialCraftListAmount
(
this
.
form
.
materialList
)
let
amount
=
this
.
calMaterialCraftListAmount
(
this
.
form
.
materialList
)
amount
+=
this
.
calMaterialCraftListAmount
(
this
.
form
.
craftList
)
amount
+=
this
.
calMaterialCraftListAmount
(
this
.
form
.
craftList
)
this
.
$set
(
this
.
form
,
'
overAmoun
t'
,
amount
)
this
.
$set
(
this
.
form
,
'
allExtraAm
t'
,
amount
)
},
},
// 字段的值更新
// 字段的值更新
fieldValueChange
(
data
)
{
fieldValueChange
(
data
)
{
...
@@ -624,11 +624,11 @@
...
@@ -624,11 +624,11 @@
this
.
getWatermark
()
this
.
getWatermark
()
},
},
// 获取拍照规范
// 获取拍照规范
photograph
(){
photograph
(){
let
self
=
this
let
self
=
this
let
param
=
{
"partnerCompanyId"
:
this
.
partnerCompanyId
,
let
param
=
{
"partnerCompanyId"
:
this
.
partnerCompanyId
,
"categoryId"
:
this
.
categoryId
,
"categoryId"
:
this
.
categoryId
,
"brandId"
:
this
.
brandId
,
"brandId"
:
this
.
brandId
||
''
,
"fieldName"
:
this
.
photoItem
.
fieldsName
}
"fieldName"
:
this
.
photoItem
.
fieldsName
}
this
.
$u
.
api
.
orderStandardItem
(
param
).
then
((
res
)
=>
{
this
.
$u
.
api
.
orderStandardItem
(
param
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
&&
res
.
data
.
length
>
0
)
{
if
(
res
.
code
==
200
&&
res
.
data
.
length
>
0
)
{
...
@@ -640,7 +640,7 @@
...
@@ -640,7 +640,7 @@
})
})
},
},
// 获取水印
// 获取水印
getWatermark
(){
getWatermark
(){
if
(
getApp
().
globalData
.
photo
.
waterSetting
){
if
(
getApp
().
globalData
.
photo
.
waterSetting
){
return
return
}
}
...
@@ -654,7 +654,7 @@
...
@@ -654,7 +654,7 @@
});
});
},
},
// ------------------------- 以上方法为上传组件相关 -------------------------
// ------------------------- 以上方法为上传组件相关 -------------------------
// ------------------------- 以下方法为展示滚动切换 -------------------------
// ------------------------- 以下方法为展示滚动切换 -------------------------
// 点击左边的栏目切换
// 点击左边的栏目切换
async
swichMenu
(
index
)
{
async
swichMenu
(
index
)
{
...
...
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