Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fcefed21
authored
Dec 13, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
2 parents
6c558c7f
38ab498a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
src/views/homeSet/index.vue
src/views/orderManage/orderDetail.vue
src/views/productGroup/editProduct.vue
src/views/homeSet/index.vue
View file @
fcefed2
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
</div>
</div>
<div
class=
"wechat-container m-r-20"
style=
"margin-top:
40
px;"
>
<div
class=
"wechat-container m-r-20"
style=
"margin-top:
59
px;"
>
<div
class=
"wechat-box"
>
<div
class=
"wechat-box"
>
<img
class=
"w-100-per"
src=
"@/assets/phone.png"
/>
<img
class=
"w-100-per"
src=
"@/assets/phone.png"
/>
<img
class=
"wechant-back"
src=
"@/assets/home-set.png"
/>
<img
class=
"wechant-back"
src=
"@/assets/home-set.png"
/>
...
...
src/views/orderManage/orderDetail.vue
View file @
fcefed2
...
@@ -84,7 +84,7 @@ export default {
...
@@ -84,7 +84,7 @@ export default {
},
},
{
{
label
:
'订单时间'
,
label
:
'订单时间'
,
name
:
'createdDate'
name
:
'createdDate
Str
'
},
},
{
{
label
:
'客户信息'
,
label
:
'客户信息'
,
...
@@ -182,9 +182,9 @@ export default {
...
@@ -182,9 +182,9 @@ export default {
},
},
getInfo
()
{
getInfo
()
{
this
.
$apis
.
orderManage
.
getOrderDetailApi
({
orderCode
:
this
.
routeInfo
.
orderCode
}).
then
(
res
=>
{
this
.
$apis
.
orderManage
.
getOrderDetailApi
({
orderCode
:
this
.
routeInfo
.
orderCode
}).
then
(
res
=>
{
console
.
log
(
res
)
this
.
detailForm
=
res
this
.
detailForm
=
res
this
.
orderRefund
=
res
.
orderRefund
||
null
this
.
orderRefund
=
res
.
orderRefund
||
null
this
.
detailForm
.
createdDateStr
=
dayjs
(
this
.
detailForm
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
if
(
this
.
orderRefund
)
{
if
(
this
.
orderRefund
)
{
this
.
orderRefund
.
refundTypeName
=
this
.
baseData
.
refundTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderRefund
.
refundType
+
''
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
res
.
orderRefund
.
refundType
).
confName
:
'-'
this
.
orderRefund
.
refundTypeName
=
this
.
baseData
.
refundTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderRefund
.
refundType
+
''
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
res
.
orderRefund
.
refundType
).
confName
:
'-'
this
.
orderRefund
.
createdDateStr
=
dayjs
(
this
.
orderRefund
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
this
.
orderRefund
.
createdDateStr
=
dayjs
(
this
.
orderRefund
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
...
...
src/views/productGroup/editProduct.vue
View file @
fcefed2
...
@@ -159,6 +159,7 @@
...
@@ -159,6 +159,7 @@
placeholder=
"零售价"
placeholder=
"零售价"
v-model=
"subItem.retailPrice"
v-model=
"subItem.retailPrice"
@
input
.
native=
"e => handleRetailPriceInput(e, subIndex)"
@
input
.
native=
"e => handleRetailPriceInput(e, subIndex)"
@
blur=
"handleRetailPriceBlur"
>
>
<el-popover
<el-popover
v-show=
"(!(subItem.retailPrice + '') || +editForm.supplyPrice > +subItem.retailPrice) && submitted"
v-show=
"(!(subItem.retailPrice + '') || +editForm.supplyPrice > +subItem.retailPrice) && submitted"
...
@@ -179,6 +180,7 @@
...
@@ -179,6 +180,7 @@
placeholder=
"零售价"
placeholder=
"零售价"
v-model=
"subItem.retailPrice"
v-model=
"subItem.retailPrice"
@
input
.
native=
"e => handleRetailPriceInput(e, subIndex)"
@
input
.
native=
"e => handleRetailPriceInput(e, subIndex)"
@
blur=
"handleRetailPriceBlur"
></el-input>
></el-input>
</td>
</td>
<td
:style=
"{ width: specsWidth }"
>
<td
:style=
"{ width: specsWidth }"
>
...
@@ -246,7 +248,7 @@
...
@@ -246,7 +248,7 @@
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
</div>
</div>
<div
class=
"wechat-container m-r-20"
style=
"margin-top:
40
px;"
>
<div
class=
"wechat-container m-r-20"
style=
"margin-top:
59
px;"
>
<div
class=
"wechat-box"
>
<div
class=
"wechat-box"
>
<img
class=
"w-100-per"
src=
"@/assets/phone.png"
/>
<img
class=
"w-100-per"
src=
"@/assets/phone.png"
/>
<div
class=
"wechant-back"
>
<div
class=
"wechant-back"
>
...
@@ -824,7 +826,6 @@ export default {
...
@@ -824,7 +826,6 @@ export default {
this
.
getWechatImgList
()
this
.
getWechatImgList
()
},
},
handleTypeChange
(
val
)
{
handleTypeChange
(
val
)
{
// this.externalFormList[2].editRule.expressFee[0].required = val == 2
var
idx
=
this
.
externalFormList
[
2
].
editFormData
.
findIndex
(
item
=>
item
.
name
==
'expressFee'
)
var
idx
=
this
.
externalFormList
[
2
].
editFormData
.
findIndex
(
item
=>
item
.
name
==
'expressFee'
)
this
.
externalFormList
[
2
].
editFormData
[
idx
].
isHide
=
val
!=
2
this
.
externalFormList
[
2
].
editFormData
[
idx
].
isHide
=
val
!=
2
},
},
...
@@ -861,13 +862,11 @@ export default {
...
@@ -861,13 +862,11 @@ export default {
var
otherList
=
[
'specificationDetailList'
,
'specsDetail'
]
var
otherList
=
[
'specificationDetailList'
,
'specsDetail'
]
var
idx
=
''
var
idx
=
''
list
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
// this.externalFormList[1].editRule[item][0].required = !this.specificationDetailList.length
idx
=
this
.
externalFormList
[
1
].
editFormData
.
findIndex
(
subItem
=>
subItem
.
name
==
item
)
idx
=
this
.
externalFormList
[
1
].
editFormData
.
findIndex
(
subItem
=>
subItem
.
name
==
item
)
this
.
externalFormList
[
1
].
editFormData
[
idx
].
isHide
=
!!
this
.
specificationDetailList
.
length
this
.
externalFormList
[
1
].
editFormData
[
idx
].
isHide
=
!!
this
.
specificationDetailList
.
length
})
})
otherList
.
forEach
(
item
=>
{
otherList
.
forEach
(
item
=>
{
idx
=
this
.
externalFormList
[
1
].
editFormData
.
findIndex
(
subItem
=>
subItem
.
name
==
item
)
idx
=
this
.
externalFormList
[
1
].
editFormData
.
findIndex
(
subItem
=>
subItem
.
name
==
item
)
console
.
log
(
this
.
externalFormList
[
1
].
editFormData
[
idx
])
this
.
externalFormList
[
1
].
editFormData
[
idx
].
isHide
=
!
this
.
specificationDetailList
.
length
this
.
externalFormList
[
1
].
editFormData
[
idx
].
isHide
=
!
this
.
specificationDetailList
.
length
})
})
},
},
...
@@ -882,6 +881,9 @@ export default {
...
@@ -882,6 +881,9 @@ export default {
}
}
this
.
nameToValSpecsList
[
idx
].
retailPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
)
this
.
nameToValSpecsList
[
idx
].
retailPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
)
},
},
handleRetailPriceBlur
()
{
this
.
findSpeceMin
()
},
handleStockInput
(
e
,
idx
)
{
handleStockInput
(
e
,
idx
)
{
var
newValue
=
e
.
target
.
value
var
newValue
=
e
.
target
.
value
if
(
!
this
.
reg
.
priceReg
.
test
(
newValue
))
{
if
(
!
this
.
reg
.
priceReg
.
test
(
newValue
))
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment