shish 5 ani în urmă
părinte
comite
97bbb09537

+ 4 - 3
ghs/src/components/chat/index.vue

@@ -368,8 +368,9 @@ export default {
 
 
     .global_kd_button {
     .global_kd_button {
         position fixed;
         position fixed;
-        bottom: 30px;
-        right: 50px;
+        bottom: 35px;
+        right: 70px;
+        z-index:9999;
     }
     }
 }
 }
-</style>
+</style>

+ 11 - 18
ghs/src/views/order/components/order-detail.vue

@@ -17,6 +17,7 @@
 				</div>
 				</div>
 			</template>
 			</template>
 			<div class="order-manage-wrap">
 			<div class="order-manage-wrap">
+
 				<!-- 信息 -->
 				<!-- 信息 -->
 				<div class="card-wrap">
 				<div class="card-wrap">
 					<div class="card-tit">基本信息</div>
 					<div class="card-tit">基本信息</div>
@@ -26,23 +27,12 @@
 							<el-table-column property="sendCost" label="运费"></el-table-column>
 							<el-table-column property="sendCost" label="运费"></el-table-column>
 							<el-table-column property="prePrice" label="合计"></el-table-column>
 							<el-table-column property="prePrice" label="合计"></el-table-column>
 							<el-table-column property="actPrice" label="实付款"></el-table-column>
 							<el-table-column property="actPrice" label="实付款"></el-table-column>
-							<el-table-column property="sourceType" label="订单来源"></el-table-column>
-							<el-table-column property="totalRecharge" label="订单类型"></el-table-column>
-						</el-table>
-						<el-table :data="data">
-							<el-table-column property="sendType" label="配送方式" width="280px"></el-table-column>
-							<el-table-column property="payWay" label="支付方式"></el-table-column>
-							<el-table-column property="grade" label="获得成长值"></el-table-column>
-							<el-table-column property="bookName" label="下单客户"></el-table-column>
-							<el-table-column label="客户打分">
-								<template slot-scope="scope">
-									<el-rate v-model="scope.row.grade" disabled></el-rate>
-								</template>
-							</el-table-column>
-							<el-table-column property="evaluate" label="客户评价"></el-table-column>
+							<el-table-column property="debt" label="欠款"></el-table-column>
+							<el-table-column property="status" label="状态"></el-table-column>
 						</el-table>
 						</el-table>
 					</div>
 					</div>
 				</div>
 				</div>
+
 				<!-- 收花人信息 -->
 				<!-- 收花人信息 -->
 				<div class="card-wrap">
 				<div class="card-wrap">
 					<div class="card-tit">收花人</div>
 					<div class="card-tit">收花人</div>
@@ -66,6 +56,7 @@
 						</el-table>
 						</el-table>
 					</div>
 					</div>
 				</div>
 				</div>
+
 				<!-- 订花人信息 -->
 				<!-- 订花人信息 -->
 				<div class="card-wrap">
 				<div class="card-wrap">
 					<div class="card-tit">订花人</div>
 					<div class="card-tit">订花人</div>
@@ -88,12 +79,13 @@
 						</el-table>
 						</el-table>
 					</div>
 					</div>
 				</div>
 				</div>
-				<!-- 商品信息 -->
+
+				<!-- 花材信息 -->
 				<div class="card-wrap">
 				<div class="card-wrap">
-					<div class="card-tit">商品信息</div>
+					<div class="card-tit">花材信息</div>
 					<div class="card-body">
 					<div class="card-body">
 						<el-table :data="data.goodsInfoList" show-summary>
 						<el-table :data="data.goodsInfoList" show-summary>
-							<el-table-column label="商品图片">
+							<el-table-column label="花材图片">
 								<template slot-scope="scope">
 								<template slot-scope="scope">
 									<cl-avatar
 									<cl-avatar
 										shape="square"
 										shape="square"
@@ -103,7 +95,7 @@
 									></cl-avatar>
 									></cl-avatar>
 								</template>
 								</template>
 							</el-table-column>
 							</el-table-column>
-							<el-table-column property="title" label="商品名称"></el-table-column>
+							<el-table-column property="title" label="花材名称"></el-table-column>
 							<el-table-column property="goodsId" label="ID"></el-table-column>
 							<el-table-column property="goodsId" label="ID"></el-table-column>
 							<el-table-column property="goodsStyleName" label="属性"></el-table-column>
 							<el-table-column property="goodsStyleName" label="属性"></el-table-column>
 							<el-table-column property="num" label="数量"></el-table-column>
 							<el-table-column property="num" label="数量"></el-table-column>
@@ -111,6 +103,7 @@
 						</el-table>
 						</el-table>
 					</div>
 					</div>
 				</div>
 				</div>
+
 			</div>
 			</div>
 		</el-drawer>
 		</el-drawer>
 	</div>
 	</div>

+ 49 - 48
ghs/src/views/order/list.vue

@@ -22,31 +22,24 @@
 				>{{ scope.row.orderSn }}</el-link>
 				>{{ scope.row.orderSn }}</el-link>
 			</template>
 			</template>
 
 
-			<!-- 订花人 -->
-			<template #table-column-bookName="{scope}">
-				<div class="book-wrap">
-					<div style="width:58px;overflow: hidden;text-overflow:ellipsis;white-space:nowrap;">{{ scope.row.bookName }}</div>
+			<template #table-column-customName="{scope}">
+				<div>
+					{{ scope.row.customName }}
 				</div>
 				</div>
 			</template>
 			</template>
 
 
-			<!-- 订花人手机号 -->
-			<template #table-column-bookMobile="{scope}">
-				<div v-if="scope.row.bookMobile == ''">-</div>
-				<div v-else>{{ scope.row.bookMobile }}</div>
+			<template #table-column-customMobile="{scope}">
+				<div v-if="scope.row.customMobile == ''">-</div>
+				<div v-else>{{ scope.row.customMobile }}</div>
 			</template>
 			</template>
 
 
 			<!-- 状态 -->
 			<!-- 状态 -->
 			<template #table-column-status="{scope}">
 			<template #table-column-status="{scope}">
-				<el-tag v-if="scope.row.status == 2">待配送</el-tag>
-				<el-tag v-else-if="scope.row.status == 3">配送中</el-tag>
-				<el-tag v-else-if="scope.row.status == 4">已完成</el-tag>
-				<el-tag v-else-if="scope.row.status == 5">已取消</el-tag>
-				<el-tag v-else>待付款</el-tag>
-			</template>
-
-			<!-- 进度 -->
-			<template #table-column-currentFlow="{scope}">
-				<el-progress :percentage="(scope.row.currentFlow/scope.row.totalFlow)*100" :format="formatProgress" ></el-progress>
+				<span v-if="scope.row.status == 2">待配送</span>
+				<span v-else-if="scope.row.status == 3">配送中</span>
+				<span v-else-if="scope.row.status == 4">已完成</span>
+				<span v-else-if="scope.row.status == 5">已取消</span>
+				<span v-else>待付款</span>
 			</template>
 			</template>
 
 
 			<!-- 送达时间 -->
 			<!-- 送达时间 -->
@@ -198,63 +191,72 @@ export default {
 			ctx.service(this.$service.order)
 			ctx.service(this.$service.order)
 				.set('table', {
 				.set('table', {
 					columns: [
 					columns: [
-						// {
-						// 	type: 'selection',
-						// 	align: 'center',
-						// 	width: '60'
-						// },
 						{
 						{
 							prop: 'orderSn',
 							prop: 'orderSn',
 							label: '单号',
 							label: '单号',
 							align: 'center',
 							align: 'center',
-							width: '260'
+							width: '160'
 						},
 						},
 						{
 						{
-							prop: 'bookName',
-							label: '订花人',
+							prop: 'prePrice',
+							label: '总价',
 							align: 'center',
 							align: 'center',
-							width: '120'
+							width: '130'
 						},
 						},
 						{
 						{
-							prop: 'bookMobile',
+							prop: 'actPrice',
+							label: '实付款',
+							align: 'center',
+							emptyText: '无',
+							width: '130'
+						},
+						{
+							prop: 'customName',
+							label: '客户',
+							align: 'center',
+							width: '150'
+						},
+						{
+							prop: 'customMobile',
 							label: '手机号',
 							label: '手机号',
 							align: 'center',
 							align: 'center',
-							width: '110'
+							width: '150'
 						},
 						},
 						{
 						{
-							prop: 'reachTime',
-							label: '送达时间',
+							prop: 'bigNum',
+							label: '数量',
 							align: 'center',
 							align: 'center',
-							width: 120
+							width: '150'
 						},
 						},
 						{
 						{
-							prop: 'prePrice',
-							label: '总价',
-							align: 'center'
+							prop: 'sendType',
+							label: '配送方式',
+							align: 'center',
+							width: '150'
 						},
 						},
 						{
 						{
-							prop: 'actPrice',
-							label: '实付款',
+							prop: 'reachTime',
+							label: '送达时间',
 							align: 'center',
 							align: 'center',
-							emptyText: '无',
-							'min-width': 100
+							width: 120
 						},
 						},
 						{
 						{
 							prop: 'sendNum',
 							prop: 'sendNum',
 							label: '编号',
 							label: '编号',
 							align: 'center',
 							align: 'center',
-							width: 80
+							width: 110
 						},
 						},
 						{
 						{
-							prop: 'currentFlow',
-							label: '进度',
+							prop: 'status',
+							label: '状态',
 							align: 'center',
 							align: 'center',
-							width: 180
+							width: 110
 						},
 						},
 						{
 						{
-							prop: 'status',
-							label: '状态',
-							align: 'center'
+							prop: 'shopAdminId',
+							label: '开单',
+							align: 'center',
+							width: 110
 						}
 						}
 					],
 					],
 
 
@@ -269,7 +271,6 @@ export default {
 						// 同 element-ui Table-column Attributes
 						// 同 element-ui Table-column Attributes
 						props: {
 						props: {
 							width: 150,
 							width: 150,
-							height: 128,
 							align: 'center',
 							align: 'center',
 							fixed: 'right',
 							fixed: 'right',
 							label: '操作'
 							label: '操作'
@@ -279,7 +280,7 @@ export default {
 					}
 					}
 				})
 				})
 				.set('search', {
 				.set('search', {
-					key: { placeholder: '订单号 / 订花人手机号' }
+					key: { placeholder: '订单号 / 姓名,支持拼音首字母搜索' }
 				})
 				})
 				.set('layout', [
 				.set('layout', [
 					['slot-tabs'],
 					['slot-tabs'],