Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f5b3f92c
authored
Jun 16, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
a7980e63
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
30 additions
and
20 deletions
components/CustomerInfo/CustomerInfo.js
components/SideSelectPopup/SideSelectPopup.js
config.js
project.private.config.json
tabDate/pages/index/index.js
tabDate/pages/userPortrait/userPortrait.js
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxml
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxss
tabWorkOrder/pages/createOrder/createOrder.js
tabWorkOrder/pages/orderDetail/orderDetail.wxss
components/CustomerInfo/CustomerInfo.js
View file @
f5b3f92
...
@@ -9,6 +9,7 @@ Component({
...
@@ -9,6 +9,7 @@ Component({
show
:
{
show
:
{
type
:
Boolean
,
type
:
Boolean
,
observer
:
function
(
n
)
{
observer
:
function
(
n
)
{
wx
.
$util
.
pointRecord
(
19
)
let
{
isFirst
}
=
this
.
data
let
{
isFirst
}
=
this
.
data
if
(
n
&&
isFirst
)
{
if
(
n
&&
isFirst
)
{
this
.
init
()
this
.
init
()
...
@@ -105,7 +106,7 @@ Component({
...
@@ -105,7 +106,7 @@ Component({
if
(
!
flag
)
{
if
(
!
flag
)
{
return
wx
.
$util
.
showToast
(
'请选择客户'
)
return
wx
.
$util
.
showToast
(
'请选择客户'
)
}
}
wx
.
$util
.
pointRecord
(
19
)
this
.
triggerEvent
(
'confirm'
,
orderInfo
)
this
.
triggerEvent
(
'confirm'
,
orderInfo
)
this
.
setData
({
this
.
setData
({
show
:
false
show
:
false
...
...
components/SideSelectPopup/SideSelectPopup.js
View file @
f5b3f92
...
@@ -10,6 +10,7 @@ Component({
...
@@ -10,6 +10,7 @@ Component({
value
:
false
,
value
:
false
,
observer
:
function
(
n
)
{
observer
:
function
(
n
)
{
if
(
n
)
{
if
(
n
)
{
wx
.
$util
.
pointRecord
(
31
)
let
userInfo
=
wx
.
$util
.
getUserInfo
()
||
{}
let
userInfo
=
wx
.
$util
.
getUserInfo
()
||
{}
let
storageSelectedSceneType
=
userInfo
.
selectedSceneType
let
storageSelectedSceneType
=
userInfo
.
selectedSceneType
this
.
setData
({
storageSelectedSceneType
})
this
.
setData
({
storageSelectedSceneType
})
...
@@ -62,6 +63,7 @@ Component({
...
@@ -62,6 +63,7 @@ Component({
wx
.
$util
.
pointRecord
(
item
.
recordId
)
wx
.
$util
.
pointRecord
(
item
.
recordId
)
},
},
goMineCenter
()
{
goMineCenter
()
{
wx
.
$util
.
pointRecord
(
5
)
wx
.
$router
.
redirectTo
(
'pages.sceneIndex'
)
wx
.
$router
.
redirectTo
(
'pages.sceneIndex'
)
}
}
}
}
...
...
config.js
View file @
f5b3f92
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
* 3生产环境
* 3生产环境
* 4预发布
* 4预发布
*/
*/
let
index
=
2
let
index
=
0
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
...
...
project.private.config.json
View file @
f5b3f92
...
@@ -265,13 +265,6 @@
...
@@ -265,13 +265,6 @@
"scene"
:
null
"scene"
:
null
},
},
{
{
"name"
:
"1.1 订单详情"
,
"pathName"
:
"tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
"1.1 订单列表"
,
"name"
:
"1.1 订单列表"
,
"pathName"
:
"pages/tabWorkOrder/pages/index/index"
,
"pathName"
:
"pages/tabWorkOrder/pages/index/index"
,
"query"
:
""
,
"query"
:
""
,
...
@@ -326,6 +319,13 @@
...
@@ -326,6 +319,13 @@
"query"
:
""
,
"query"
:
""
,
"launchMode"
:
"default"
,
"launchMode"
:
"default"
,
"scene"
:
null
"scene"
:
null
},
{
"name"
:
"1.1 订单详情"
,
"pathName"
:
"tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
}
}
]
]
}
}
...
...
tabDate/pages/index/index.js
View file @
f5b3f92
...
@@ -60,7 +60,11 @@ Page({
...
@@ -60,7 +60,11 @@ Page({
},
},
4
:
{
4
:
{
text
:
'已施工'
,
text
:
'已施工'
,
color
:
'#999999'
color
:
'#3582EE'
},
7
:
{
text
:
'已支付'
,
color
:
'#14CC68'
}
}
},
},
searchObj
:
{},
searchObj
:
{},
...
...
tabDate/pages/userPortrait/userPortrait.js
View file @
f5b3f92
...
@@ -83,10 +83,9 @@ if (code!= 0 ) return
...
@@ -83,10 +83,9 @@ if (code!= 0 ) return
// console.log(item?.optionList,'item?.optionList');
// console.log(item?.optionList,'item?.optionList');
// if(item.isMult) params[item.name] = []
// if(item.isMult) params[item.name] = []
item
?.
optionList
?.
forEach
(
subItem
=>
{
item
?.
optionList
?.
forEach
(
subItem
=>
{
subItem
.
active
=
false
if
(
item
!=
'customerSex'
)
{
// if (subItem.active) {
subItem
.
active
=
false
// item.isMult? params[item.name].push(subItem.confId):( params[item.name] = subItem.confId)
}
// }
})
})
})
})
this
.
setData
({
this
.
setData
({
...
...
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxml
View file @
f5b3f92
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
</view>
</view>
<view class="box customer">
<view class="box customer">
<view class="title userTitle">
<view class="title userTitle">
<
text>客户信息</text
>
<
view>客户信息</view
>
<view bindtap="jumpUserPortrait" class="updateInfo icon"><image src="../../images/userImageIcon.png" class="iconImage" ></image>画像</view>
<view bindtap="jumpUserPortrait" class="updateInfo icon"><image src="../../images/userImageIcon.png" class="iconImage" ></image>画像</view>
<view wx:if="{{isYqdSuper||isStaff}}" bindtap="jumpUpdate" class="updateInfo "><image src="../../images/editIcon.png" class="iconImage" ></image>客户信息</view>
<view wx:if="{{isYqdSuper||isStaff}}" bindtap="jumpUpdate" class="updateInfo "><image src="../../images/editIcon.png" class="iconImage" ></image>客户信息</view>
</view>
</view>
...
...
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxss
View file @
f5b3f92
...
@@ -243,9 +243,10 @@ page {
...
@@ -243,9 +243,10 @@ page {
margin-left: auto;
margin-left: auto;
}
}
.copyImage, .iconImage {
.copyImage, .iconImage {
width: 32rpx;
width: 36rpx;
height: 32rpx;
height: 36rpx;
vertical-align: bottom;
/* vertical-align: bottom; */
vertical-align: middle;
}
}
.iconImage{
.iconImage{
margin-right: 5rpx;
margin-right: 5rpx;
...
@@ -522,6 +523,7 @@ margin-right: auto;
...
@@ -522,6 +523,7 @@ margin-right: auto;
}
}
.customer .title {
.customer .title {
box-sizing: border-box;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: space-between;
justify-content: space-between;
...
@@ -531,6 +533,7 @@ margin-right: auto;
...
@@ -531,6 +533,7 @@ margin-right: auto;
color: #3582EE;
color: #3582EE;
font-size: 28rpx;
font-size: 28rpx;
margin-left: 16rpx;
margin-left: 16rpx;
margin-top: 3rpx;
}
}
...
...
tabWorkOrder/pages/createOrder/createOrder.js
View file @
f5b3f92
...
@@ -321,6 +321,7 @@ Page({
...
@@ -321,6 +321,7 @@ Page({
// 预录建档跳转到预约列表
// 预录建档跳转到预约列表
wx
.
$refresh
=
true
wx
.
$refresh
=
true
wx
.
$router
.
redirectTo
(
'tabDate.index'
)
wx
.
$router
.
redirectTo
(
'tabDate.index'
)
wx
.
$util
.
pointRecord
(
30
)
}
else
{
}
else
{
wx
.
$router
.
back
(
page
=>
{
wx
.
$router
.
back
(
page
=>
{
page
.
search
&&
page
.
search
()
page
.
search
&&
page
.
search
()
...
...
tabWorkOrder/pages/orderDetail/orderDetail.wxss
View file @
f5b3f92
...
@@ -3,8 +3,8 @@ page {
...
@@ -3,8 +3,8 @@ page {
background-color: rgb(246, 247, 247);
background-color: rgb(246, 247, 247);
}
}
.copyImage, .iconImage {
.copyImage, .iconImage {
width: 3
2
rpx;
width: 3
6
rpx;
height: 3
2
rpx;
height: 3
6
rpx;
vertical-align: bottom;
vertical-align: bottom;
}
}
.iconImage{
.iconImage{
...
...
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