Commit 7387fbf76b4f9bd347d46fa9a2e67b68d30988a4

Authored by lxf
1 parent 7fc59f4a

fix: 货源管理

Showing 1 changed file with 7 additions and 2 deletions   Show diff stats
pages/goodSource/select-remark.vue
@@ -4,8 +4,13 @@ @@ -4,8 +4,13 @@
4 <u-textarea placeholder="请输入,点击历史备注快捷填写" v-model="remark"></u-textarea> 4 <u-textarea placeholder="请输入,点击历史备注快捷填写" v-model="remark"></u-textarea>
5 <view class="his-title">历史备注</view> 5 <view class="his-title">历史备注</view>
6 <view class="his-card"> 6 <view class="his-card">
7 - <view @click="clickItem(item)" class="his-item" v-for="(item, index) in hisList" :key="index">  
8 - <text>{{ item }}</text> 7 + <template v-if="hisList.length">
  8 + <view @click="clickItem(item)" class="his-item" v-for="(item, index) in hisList" :key="index">
  9 + <text>{{ item }}</text>
  10 + </view>
  11 + </template>
  12 + <view v-else class="his-item">
  13 + <text>暂无历史备注</text>
9 </view> 14 </view>
10 </view> 15 </view>
11 </template> 16 </template>