|
@@ -8,11 +8,18 @@
|
|
|
<t-pull-down-refresh value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{loadingTexts}}" bind:refresh="onPullDownRefresh" bind:scrolltolower="onReachBottom">
|
|
|
<view style="padding:10px;">
|
|
|
<t-checkbox-group value="{{selection}}" bind:change="handleGroupChange">
|
|
|
- <t-cell wx:for="{{list}}" wx:key="itemid" title="{{item.itemname}}">
|
|
|
+ <t-cell wx:for="{{list}}" wx:key="itemid">
|
|
|
<view class="avatar" slot="left-icon">
|
|
|
<image src="{{item.attinfos[0].url}}" style="width: 60px;height: 60px;" mode="aspectFill" />
|
|
|
</view>
|
|
|
- <view slot="description">
|
|
|
+
|
|
|
+ <view class="description" slot="description">
|
|
|
+ <view class="title" wx:if="{{siteid == 'HY'}}">
|
|
|
+ <view wx:for="{{item.traceabilitytype}}" class="tag {{it}}" wx:for-item="it" wx:key="it">
|
|
|
+ {{language[it=='M'||it=='m'?'自制':'外购']||it=='M'||it=='m'?'自制':'外购'}}
|
|
|
+ </view>{{item.itemname}}
|
|
|
+ </view>
|
|
|
+ <view wx:else class="title">{{item.itemname}} </view>
|
|
|
<view class="small">{{language['商品编号']||'商品编号'}}:{{item.itemno}}</view>
|
|
|
<view class="small">
|
|
|
{{language['商品型号']||'商品型号'}}:{{language[item.model]||item.model}}
|
|
@@ -23,9 +30,9 @@
|
|
|
{{language['公称压力']||'公称压力'}}:{{join.formatting(item.nominalpressure)}}
|
|
|
</view>
|
|
|
</block>
|
|
|
- </view>
|
|
|
- <view class="avatar" slot="right-icon">
|
|
|
- <t-checkbox value="{{item.itemid}}" />
|
|
|
+ <view class="avatar">
|
|
|
+ <t-checkbox value="{{item.itemid}}" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</t-cell>
|
|
|
</t-checkbox-group>
|