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 f40df28d
authored
Aug 14, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 移除日报标签清空按钮
1 parent
53ce3d2a
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
28 deletions
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.sass
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.wxml
packageEquity/tests/quotationCustomerDailyFields.ui.test.mjs
tabWorkOrder/pages/createOrder/createOrder.js
tabWorkOrder/pages/createOrder/createOrder.sass
tabWorkOrder/pages/createOrder/createOrder.wxml
tabWorkOrder/pages/createOrder/tests/customerDailyFields.ui.test.mjs
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
View file @
f40df28
...
@@ -219,13 +219,6 @@ Component({
...
@@ -219,13 +219,6 @@ Component({
)
)
})
})
},
},
onClearEquityCustomerTags
()
{
this
.
setData
({
equityCustomerTagDraftOptions
:
(
this
.
data
.
equityCustomerTagDraftOptions
||
[]
).
map
(
item
=>
({
...
item
,
checked
:
false
}))
})
},
onCancelEquityCustomerTags
()
{
onCancelEquityCustomerTags
()
{
this
.
setData
({
equityCustomerTagsPopup
:
false
})
this
.
setData
({
equityCustomerTagsPopup
:
false
})
},
},
...
...
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.sass
View file @
f40df28
...
@@ -184,7 +184,6 @@
...
@@ -184,7 +184,6 @@
font-size
:
var
(
--
fontSize30
)
;
font-size
:
var
(
--
fontSize30
)
;
}
}
.equity-customer-tags-sheet__clear
,
.equity-customer-tags-sheet__cancel
,
.equity-customer-tags-sheet__cancel
,
.equity-customer-tags-sheet__confirm
{
.equity-customer-tags-sheet__confirm
{
height
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
...
@@ -194,11 +193,6 @@
...
@@ -194,11 +193,6 @@
border-radius
:
var
(
--
fontSize12
)
;
border-radius
:
var
(
--
fontSize12
)
;
}
}
.equity-customer-tags-sheet__clear
{
width
:
18%
;
color
:
#347BFF
;
}
.equity-customer-tags-sheet__cancel
,
.equity-customer-tags-sheet__cancel
,
.equity-customer-tags-sheet__confirm
{
.equity-customer-tags-sheet__confirm
{
flex
:
1
;
flex
:
1
;
...
...
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.wxml
View file @
f40df28
...
@@ -124,7 +124,6 @@
...
@@ -124,7 +124,6 @@
<text class="equity-customer-tags-sheet__check {{ item.checked ? 'active' : '' }}">{{ item.checked ? '✓' : '' }}</text>
<text class="equity-customer-tags-sheet__check {{ item.checked ? 'active' : '' }}">{{ item.checked ? '✓' : '' }}</text>
</view>
</view>
<view class="equity-customer-tags-sheet__footer">
<view class="equity-customer-tags-sheet__footer">
<view class="equity-customer-tags-sheet__clear" bindtap="onClearEquityCustomerTags">清空</view>
<view class="equity-customer-tags-sheet__cancel" bindtap="onCancelEquityCustomerTags">取消</view>
<view class="equity-customer-tags-sheet__cancel" bindtap="onCancelEquityCustomerTags">取消</view>
<view class="equity-customer-tags-sheet__confirm" bindtap="onConfirmEquityCustomerTags">确定</view>
<view class="equity-customer-tags-sheet__confirm" bindtap="onConfirmEquityCustomerTags">确定</view>
</view>
</view>
...
...
packageEquity/tests/quotationCustomerDailyFields.ui.test.mjs
View file @
f40df28
...
@@ -81,4 +81,12 @@ describe('quotation customer daily field UI contract', () => {
...
@@ -81,4 +81,12 @@ describe('quotation customer daily field UI contract', () => {
assert.match(listWxml, /item\.customerDailyDisplay\.showActualDeliveryDate/)
assert.match(listWxml, /item\.customerDailyDisplay\.showActualDeliveryDate/)
assert.match(listWxml, /item\.customerDailyDisplay\.actualDeliveryDate/)
assert.match(listWxml, /item\.customerDailyDisplay\.actualDeliveryDate/)
})
})
it('IT-EQ-DAILY-UI-008: FirstStep popup has no clear action', () => {
const wxml = read('../pages/carQuotation/components/FirstStep/FirstStep.wxml')
assert.doesNotMatch(wxml, /bindtap="onClearEquityCustomerTags">清空/)
assert.match(wxml, /onCancelEquityCustomerTags/)
assert.match(wxml, /onConfirmEquityCustomerTags/)
})
})
})
tabWorkOrder/pages/createOrder/createOrder.js
View file @
f40df28
...
@@ -3059,13 +3059,6 @@ Page({
...
@@ -3059,13 +3059,6 @@ Page({
)
)
this
.
setData
({
customerTagDraftOptions
})
this
.
setData
({
customerTagDraftOptions
})
},
},
onClearCustomerTags
()
{
this
.
setData
({
customerTagDraftOptions
:
(
this
.
data
.
customerTagDraftOptions
||
[]).
map
(
item
=>
({
...
item
,
checked
:
false
})
)
})
},
onCancelCustomerTags
()
{
onCancelCustomerTags
()
{
this
.
setData
({
customerTagsPopup
:
false
})
this
.
setData
({
customerTagsPopup
:
false
})
},
},
...
...
tabWorkOrder/pages/createOrder/createOrder.sass
View file @
f40df28
...
@@ -644,7 +644,6 @@ page {
...
@@ -644,7 +644,6 @@ page {
font-size
:
var
(
--
fontSize30
)
;
font-size
:
var
(
--
fontSize30
)
;
}
}
.customer-tags-sheet__clear
,
.customer-tags-sheet__cancel
,
.customer-tags-sheet__cancel
,
.customer-tags-sheet__confirm
{
.customer-tags-sheet__confirm
{
height
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
...
@@ -654,11 +653,6 @@ page {
...
@@ -654,11 +653,6 @@ page {
border-radius
:
var
(
--
fontSize12
)
;
border-radius
:
var
(
--
fontSize12
)
;
}
}
.customer-tags-sheet__clear
{
width
:
18%
;
color
:
#347bff
;
}
.customer-tags-sheet__cancel
,
.customer-tags-sheet__cancel
,
.customer-tags-sheet__confirm
{
.customer-tags-sheet__confirm
{
flex
:
1
;
flex
:
1
;
...
...
tabWorkOrder/pages/createOrder/createOrder.wxml
View file @
f40df28
...
@@ -942,7 +942,6 @@ value="{{ orderObj.remark }}"
...
@@ -942,7 +942,6 @@ value="{{ orderObj.remark }}"
<text class="customer-tags-sheet__check {{ item.checked ? 'active' : '' }}">{{ item.checked ? '✓' : '' }}</text>
<text class="customer-tags-sheet__check {{ item.checked ? 'active' : '' }}">{{ item.checked ? '✓' : '' }}</text>
</view>
</view>
<view class="customer-tags-sheet__footer">
<view class="customer-tags-sheet__footer">
<view class="customer-tags-sheet__clear" bindtap="onClearCustomerTags">清空</view>
<view class="customer-tags-sheet__cancel" bindtap="onCancelCustomerTags">取消</view>
<view class="customer-tags-sheet__cancel" bindtap="onCancelCustomerTags">取消</view>
<view class="customer-tags-sheet__confirm" bindtap="onConfirmCustomerTags">确定</view>
<view class="customer-tags-sheet__confirm" bindtap="onConfirmCustomerTags">确定</view>
</view>
</view>
...
...
tabWorkOrder/pages/createOrder/tests/customerDailyFields.ui.test.mjs
View file @
f40df28
...
@@ -50,4 +50,12 @@ describe('boutique customer daily field UI contract', () => {
...
@@ -50,4 +50,12 @@ describe('boutique customer daily field UI contract', () => {
assert.match(listWxml, /li\.customerDailyDisplay\.showActualDeliveryDate/)
assert.match(listWxml, /li\.customerDailyDisplay\.showActualDeliveryDate/)
assert.match(listWxml, /li\.customerDailyDisplay\.actualDeliveryDate/)
assert.match(listWxml, /li\.customerDailyDisplay\.actualDeliveryDate/)
})
})
it('IT-WO-DAILY-UI-006: create popup has no clear action', () => {
const wxml = read('../createOrder.wxml')
assert.doesNotMatch(wxml, /bindtap="onClearCustomerTags">清空/)
assert.match(wxml, /onCancelCustomerTags/)
assert.match(wxml, /onConfirmCustomerTags/)
})
})
})
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