Commit 2388df1c by 李伟康

Merge branch 'V4.56.0' of http://192.168.3.233:8090/glsx/gl_tape into V4.56.0

2 parents 263b3b83 07b0b3b9
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<view> <view>
<view class="goods-list" :style="{ paddingBottom: orderCardDetail.subOrderList && orderCardDetail.subOrderList.length < 1 ? '0' : '' }" v-if="orderCardDetail.subOrderList && orderCardDetail.subOrderList.length > 0"> <view class="goods-list" :style="{ paddingBottom: orderCardDetail.subOrderList && orderCardDetail.subOrderList.length < 1 ? '0' : '' }" v-if="orderCardDetail.subOrderList && orderCardDetail.subOrderList.length > 0">
<view> <view>
<view v-for="(i, sindex) in orderCardDetail.subOrderList" :key="sindex" class="goods flex justify-between" v-if="orderCardDetail.showAllGoodsListFlag ? true : sindex < 2"> <view v-for="(i, sindex) in orderCardDetail.subOrderList" :key="sindex" class="goods flex justify-between" :class="{ 'no-margin': orderCardDetail.subOrderList.length === 1 }" v-if="orderCardDetail.showAllGoodsListFlag ? true : sindex < 2">
<view class="goods-name text-hide flex"> <view class="goods-name text-hide flex">
<view class="point"></view> <view class="point"></view>
{{ i.upgradeGoodsAlias || i.upgradeGoodsName || i.packageName || '' }} {{ i.upgradeGoodsAlias || i.upgradeGoodsName || i.packageName || '' }}
...@@ -524,7 +524,10 @@ export default { ...@@ -524,7 +524,10 @@ export default {
color: #333333; color: #333333;
font-size: toRpx(28); font-size: toRpx(28);
font-weight: 400; font-weight: 400;
padding-top: toRpx(12); margin-bottom: toRpx(16);
&.no-margin {
margin-bottom: 0;
}
.goods-name { .goods-name {
.point { .point {
width: toRpx(12); width: toRpx(12);
......
<template> <template>
<view class="order-detail"> <view class="order-detail">
<view class="common-title">{{ orderInfo.constructionFlag == 'Y' && orderInfo.status != 10 ? '完成施工' : '工单详情' }}</view> <view class="common-title">{{ orderInfo.constructionFlag == 'Y' && orderInfo.status != 10 ? '完成施工' : '工单详情' }}</view>
<view v-if="isShow" class="px-48 scroll-y" :class="{ 'construction-flag-y': orderInfo && orderInfo.constructionFlag !== 'Y' && !isMake }"> <view v-if="isShow" class="px-48 scroll-y" :class="{ 'construction-flag-y': !isMake }">
<view class="top-tips flex align-center" v-if="orderInfo.status != 10 && orderInfo.status != 9 && orderInfo.constructionFlag !== 'Y'"> <view class="top-tips flex align-center" v-if="orderInfo.status != 10 && orderInfo.status != 9 && orderInfo.constructionFlag !== 'Y'">
<uni-icons class="checkbox-filled" type="checkbox-filled" color="#4ac18e"></uni-icons> <uni-icons class="checkbox-filled" type="checkbox-filled" color="#4ac18e"></uni-icons>
<view> <view>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<text class="good-name">商品名称:{{ replaceItemText(item.upgradeGoodsName) || '' }}</text> <text class="good-name">商品名称:{{ replaceItemText(item.upgradeGoodsName) || '' }}</text>
<text class="good-price">¥{{ item.price }}</text> <text class="good-price">¥{{ item.price }}</text>
</view> </view>
<view class="flex justify-between align-center mt-12"> <view class="flex justify-between align-center mt-20">
<text class="good-alias">商品别名:{{ replaceItemText(item.upgradeGoodsAlias) || '' }}</text> <text class="good-alias">商品别名:{{ replaceItemText(item.upgradeGoodsAlias) || '' }}</text>
</view> </view>
<view class="flex align-center pt-12"> <view class="flex align-center pt-12">
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</view> </view>
</view> </view>
<!-- 工单信息 --> <!-- 工单信息 -->
<view class="box-shell"> <view class="box-shell pt-32">
<view class="box-shell-title">工单信息</view> <view class="box-shell-title">工单信息</view>
<view class="order-info pt-16"> <view class="order-info pt-16">
<view v-for="(item, index) in orderObj" :key="index" class="flex align-center pt-16"> <view v-for="(item, index) in orderObj" :key="index" class="flex align-center pt-16">
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<view class="box-shell"> <view class="box-shell">
<view class="box-shell-title">客户信息</view> <view class="box-shell-title">客户信息</view>
<view class="order-info pt-16"> <view class="order-info pt-16">
<view class="flex align-center pt-16" v-for="(item, index) in customerObj" :key="index"> <view class="flex align-center pt-20" v-for="(item, index) in customerObj" :key="index">
<view class="label">{{ item.label }}</view> <view class="label">{{ item.label }}</view>
<view class="value" :style="{ color: item.color || '#333' }"> <view class="value" :style="{ color: item.color || '#333' }">
<view v-if="item.arr"> <view v-if="item.arr">
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
<view class="box"> <view class="box">
<view class="box-shell-title">{{ orderInfo.selectPayType == 0 ? '客服' : '质保信息' }}</view> <view class="box-shell-title">{{ orderInfo.selectPayType == 0 ? '客服' : '质保信息' }}</view>
<view class="warranty-list" v-for="(item, index) in warrantyCardList" :key="index"> <view class="warranty-list" v-for="(item, index) in warrantyCardList" :key="index">
<view class="warranty flex align-center justify-between pt-8"> <view class="warranty flex align-center justify-between pt-20">
<view class="flex align-center"> <view class="flex align-center">
<view class="label">质保产品</view> <view class="label">质保产品</view>
<view class="value">{{ replaceItemText(item.goodsName) }}</view> <view class="value">{{ replaceItemText(item.goodsName) }}</view>
...@@ -176,11 +176,11 @@ ...@@ -176,11 +176,11 @@
质保价格 质保价格
</view> </view>
</view> </view>
<view class="warranty flex align-center pt-8"> <view class="warranty flex align-center pt-20">
<view class="label">质保期</view> <view class="label">质保期</view>
<view class="value">{{ item.warrantyPeriod }}</view> <view class="value">{{ item.warrantyPeriod }}</view>
</view> </view>
<view class="warranty flex align-start pt-8"> <view class="warranty flex align-start pt-20">
<view class="label">质保编码</view> <view class="label">质保编码</view>
<view class="codeImg-box"> <view class="codeImg-box">
<image v-if="item.barCodeUrl" :src="item.barCodeUrl" class="barCodeImg" /> <image v-if="item.barCodeUrl" :src="item.barCodeUrl" class="barCodeImg" />
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
</view> </view>
<view class="warranty-list"> <view class="warranty-list">
<view class="warranty flex align-start pt-8"> <view class="warranty flex align-start pt-20">
<view class="label">{{ orderInfo.selectPayType == 0 ? '客服号' : '质保查询' }}</view> <view class="label">{{ orderInfo.selectPayType == 0 ? '客服号' : '质保查询' }}</view>
<view class="value"> <view class="value">
<view class="warranty-tips" v-if="warrantyCardVisible"> <view class="warranty-tips" v-if="warrantyCardVisible">
...@@ -206,9 +206,9 @@ ...@@ -206,9 +206,9 @@
<view class="flex align-center footer-box justify-center" v-if="isMake"> <view class="flex align-center footer-box justify-center" v-if="isMake">
<view class="edit btn flex-1" @click="repeal">撤销工单</view> <view class="edit btn flex-1" @click="repeal">撤销工单</view>
</view> </view>
<view class="flex align-center footer-box justify-center" v-if="orderInfo.constructionFlag == 'Y'"> <!-- <view class="flex align-center footer-box justify-center" v-if="orderInfo.constructionFlag == 'Y'">
<view class="edit btn flex-1" @click="repeal">再来一单</view> <view class="edit btn flex-1" @click="repeal">再来一单</view>
</view> </view> -->
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 --> <!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
<view v-if="!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6) && ((orderInfo.subOrderList && orderInfo.subOrderList.length) || (orderInfo.packageGoodsList && orderInfo.packageGoodsList.length))"> <view v-if="!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6) && ((orderInfo.subOrderList && orderInfo.subOrderList.length) || (orderInfo.packageGoodsList && orderInfo.packageGoodsList.length))">
<!-- 不需要走签名逻辑 --> <!-- 不需要走签名逻辑 -->
...@@ -766,6 +766,9 @@ export default { ...@@ -766,6 +766,9 @@ export default {
.pt-16 { .pt-16 {
padding-top: toRpx(16); padding-top: toRpx(16);
} }
.pt-20 {
padding-top: toRpx(20);
}
.pt-12 { .pt-12 {
padding-top: toRpx(12); padding-top: toRpx(12);
} }
...@@ -799,6 +802,9 @@ export default { ...@@ -799,6 +802,9 @@ export default {
.mt-12 { .mt-12 {
margin-top: toRpx(12); margin-top: toRpx(12);
} }
.mt-20 {
margin-top: toRpx(20);
}
.my-16 { .my-16 {
margin: toRpx(16) 0; margin: toRpx(16) 0;
} }
...@@ -808,6 +814,9 @@ export default { ...@@ -808,6 +814,9 @@ export default {
.py-16 { .py-16 {
padding: toRpx(16) 0; padding: toRpx(16) 0;
} }
.pt-32 {
padding-top: toRpx(32) !important;
}
.date-box { .date-box {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -932,7 +941,7 @@ export default { ...@@ -932,7 +941,7 @@ export default {
font-size: toRpx(28); font-size: toRpx(28);
border-radius: toRpx(24); border-radius: toRpx(24);
background: #f5f7fa; background: #f5f7fa;
padding: toRpx(24); padding: toRpx(30) toRpx(24) toRpx(24) toRpx(24);
margin-bottom: toRpx(16); margin-bottom: toRpx(16);
.good-name { .good-name {
font-weight: 400; font-weight: 400;
......
...@@ -522,7 +522,8 @@ export default { ...@@ -522,7 +522,8 @@ export default {
} }
.search-box { .search-box {
padding: toRpx(40) toRpx(48) toRpx(24); padding: toRpx(40) toRpx(48) toRpx(0);
margin-bottom: toRpx(24);
position: relative; position: relative;
&::after { &::after {
content: ''; content: '';
...@@ -590,11 +591,10 @@ export default { ...@@ -590,11 +591,10 @@ export default {
.tab-container { .tab-container {
display: flex; display: flex;
// justify-content: start; // justify-content: start;
padding: toRpx(0) toRpx(48) toRpx(24); padding: toRpx(0) toRpx(48);
height: toRpx(80); margin-bottom: toRpx(24);
margin-bottom: toRpx(20);
.filter-item { .filter-item {
width: toRpx(164); // width: toRpx(164);
height: toRpx(72); height: toRpx(72);
border-radius: toRpx(16); border-radius: toRpx(16);
background: #fff; background: #fff;
...@@ -602,14 +602,16 @@ export default { ...@@ -602,14 +602,16 @@ export default {
color: #333333; color: #333333;
font-size: toRpx(28); font-size: toRpx(28);
font-weight: 400; font-weight: 400;
padding: toRpx(0) toRpx(40);
} }
} }
.tab-item { .tab-item {
width: toRpx(164); // width: toRpx(164);
height: toRpx(72); height: toRpx(72);
border-radius: toRpx(16); border-radius: toRpx(16);
margin-right: toRpx(16); margin-right: toRpx(20);
padding: toRpx(0) toRpx(40);
opacity: 1; opacity: 1;
display: flex; display: flex;
align-items: center; align-items: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!