Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wly-APP
Project
Project
Details
Activity
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
刘川
wly-APP
Commits
c53aa640
Commit
c53aa640
authored
Sep 22, 2025
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
终端要货渠道类型查询添加条件,限制选择收货地址必须选择渠道类型
parent
73d2808d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
purchase-main.nvue
pages/purchase-main/purchase-main.nvue
+17
-1
No files found.
pages/purchase-main/purchase-main.nvue
View file @
c53aa640
...
@@ -114,7 +114,9 @@
...
@@ -114,7 +114,9 @@
<text class="uni-input">{{orderItem.terminalName}}</text>
<text class="uni-input">{{orderItem.terminalName}}</text>
</view> -->
</view> -->
<!-- </view> -->
<!-- </view> -->
<text class="middle-date-margin-des">{{orderItem.terminalName}}</text>
<text class="middle-date-margin-des" :class="{'placeholder-text': !orderItem.terminalName}">
{{orderItem.terminalName || '请先选择渠道类型'}}
</text>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode=""></image>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode=""></image>
</view>
</view>
...
@@ -320,6 +322,16 @@
...
@@ -320,6 +322,16 @@
},
},
methods: {
methods: {
goTerminal() {
goTerminal() {
// 检查是否已选择渠道类型
if (!this.orderItem.channelsType || !this.orderItem.channelTypeName) {
uni.showToast({
title: '请先选择渠道类型',
duration: 2000,
icon: 'none'
});
return;
}
const params= {
const params= {
dealerId: this.orderItem.customerCode,
dealerId: this.orderItem.customerCode,
inventoryCode: this.orderItem.brand,
inventoryCode: this.orderItem.brand,
...
@@ -669,4 +681,8 @@
...
@@ -669,4 +681,8 @@
height: 96rpx;
height: 96rpx;
color: $text-base-color;
color: $text-base-color;
}
}
.placeholder-text {
color: #999 !important;
}
</style>
</style>
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