|
@@ -21,48 +21,43 @@
|
|
|
</template>
|
|
|
</uni-list-item>
|
|
|
</uni-list> -->
|
|
|
- <uni-grid :column="2" :highlight="true" :showBorder="false" :square="false" style="height: auto;">
|
|
|
+ <uni-grid :column="2" :highlight="true" :showBorder="false" :square="false" style="height: auto;">
|
|
|
<uni-grid-item v-for="(item, index) in pics" :index="index" :key="index">
|
|
|
<view class="grid-item-box" style="background-color: #fff;">
|
|
|
- <image class="slot-image img" :src="item" mode="widthFix" @click="ViewImage(index)"></image>
|
|
|
+ <img class="slot-image img" :src="item" mode="widthFix" @click="ViewImage(index)" />
|
|
|
</view>
|
|
|
</uni-grid-item>
|
|
|
</uni-grid>
|
|
|
-
|
|
|
<uni-list>
|
|
|
<uni-list-item title="款号" :rightText="data.styleNum" />
|
|
|
<uni-list-item title="颜色" :rightText="data.version + '-' +data.color" />
|
|
|
+ <uni-list-item title="数量" :rightText="data.qty" />
|
|
|
<uni-list-item title="尺码" :rightText="data.size" />
|
|
|
<uni-list-item title="码段" :rightText="data.outsoleSegment" />
|
|
|
- <uni-list-item class="fob" title="FOB价" :rightText="data.fob" />
|
|
|
+ <uni-list-item v-if="checkRole(['SalesManager','SalesMan'])" class="fob" title="FOB价" :rightText="data.fob" />
|
|
|
<uni-list-item title="备注" :rightText="data.remark" />
|
|
|
</uni-list>
|
|
|
</uni-section>
|
|
|
<view style="height: 30rpx;"></view>
|
|
|
-
|
|
|
<uni-list>
|
|
|
<uni-list-item title="面料" :rightText="data.upper" />
|
|
|
<uni-list-item title="内里" :rightText="data.insole" />
|
|
|
<uni-list-item title="面衬" :rightText="data.lining" />
|
|
|
<uni-list-item title="楦头" :rightText="data.lastNumber" />
|
|
|
-
|
|
|
</uni-list>
|
|
|
<view style="height: 30rpx;"></view>
|
|
|
-
|
|
|
<uni-list>
|
|
|
-
|
|
|
<uni-list-item title="大底" :rightText="data.outsole" />
|
|
|
<uni-list-item title="大底编号" :rightText="data.outsoleNumber" />
|
|
|
<uni-list-item title="大底厂家" :rightText="data.outsoleFactory" />
|
|
|
<uni-list-item title="日期" :rightText="formatDate(data.createTime)" />
|
|
|
</uni-list>
|
|
|
<view style="height: 30rpx;"></view>
|
|
|
-
|
|
|
<uni-list v-if="checkRole(['SalesManager'])">
|
|
|
<uni-list-item class="outPrice" title="大底价格参考" :rightText="data.outsolePrice" />
|
|
|
<uni-list-item class="outPrice" title="材料价格参考" :rightText="data.referPrice" />
|
|
|
</uni-list>
|
|
|
-
|
|
|
+<view style="height: 60px;"></view>
|
|
|
<!-- <uni-section title="鞋底图片" type="line">
|
|
|
<uni-grid :column="1" :highlight="true" :showBorder="false" :square="false" style="height: auto;">
|
|
|
<uni-grid-item style="padding: 8px;">
|
|
@@ -71,9 +66,9 @@
|
|
|
</uni-grid>
|
|
|
</uni-section> -->
|
|
|
|
|
|
- <!-- <view style="margin-top: 10px;text-align: center;">
|
|
|
- <button class="bottom" size="mini" type="primary" @click="onBackward">返回样品页</button>
|
|
|
- </view> -->
|
|
|
+ <view v-if="checkRole(['shoeStyleMan'])" style="margin-top: 10px;text-align: center;">
|
|
|
+ <button style="position: fixed; bottom: 20px; right: 15px; left: 15px;padding: 8px 0;font-size: 14px;z-index: 999;" class="bottom" size="mini" type="primary" @click="onBackward">借出</button>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -139,8 +134,8 @@
|
|
|
},
|
|
|
methods: {
|
|
|
onBackward() {
|
|
|
- wx.switchTab({
|
|
|
- url: './index'
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/pages/trade/shoe-style/outRep?styleNum='+this.data.styleNum+'&&version='+this.data.version
|
|
|
})
|
|
|
},
|
|
|
ViewImage(idx) {
|