shish 3 lat temu
rodzic
commit
f2ab6e0667

+ 3 - 3
ghsApp/src/admin/itemClass/add.vue

@@ -5,11 +5,11 @@
 				<div class="list" v-for="(item, index) in list.data" :key="index">
 					<div class="list-index">{{ item.id }}</div>
 					<div class="list-det" @click.stop="pageTo('/admin/itemClass/addPrice?classId='+item.id)">
-						<div class="app-size-28 app-color-0" style="font-size:28upx;font-weight:bold;color:#333333;">
+						<div class="app-size-28 app-color-0" style="font-size:32upx;font-weight:bold;color:#333333;">
 						{{ item.name || '' }}
 						</div>
 						<div class="list-operate">
-							<text class="add-price">修改</text>
+							<text class="add-price">批量修改</text>
 						</div>
 					</div>
 				</div>
@@ -127,7 +127,7 @@ export default {
 						text-decoration:underline;
 						font-size:32upx;
 						margin-left:400upx;
-						color:#333333;
+						color:#3385FF;
 					}
 					.operate-icon{
 						margin-left:30upx;

+ 21 - 11
ghsApp/src/admin/itemClass/addPrice.vue

@@ -3,18 +3,26 @@
 		<view v-if="!$util.isEmpty(list.data)" style="padding-bottom:120upx;">
 			<t-table :headerBackgroundColor="'#F0F2F6'">
 				<t-tr header>
-                    <t-th>名称</t-th>
-					<t-th>批发价比成本贵</t-th>
-					<t-th>零售价比花店贵</t-th>
+                    <t-th><view style="color:black;">名称</view></t-th>
+					<t-th><view style="color:black;">批发价比成本贵</view></t-th>
+					<t-th><view style="color:black;">零售价比花店贵</view></t-th>
 				</t-tr>
 				<view v-for="(item, index) in list.data" :key="index">
 					<t-tr>
-                        <t-td align="center" color="info"><view>{{item.name}}</view></t-td>
+                        <t-td align="center" color="info">
+						<view style="color:black;font-weight:bold;">{{item.name}}</view>
+						</t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.addPrice" @focus="item.addPrice=''" name="price" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view>
+							<input v-model="item.addPrice" @focus="item.addPrice=''" name="price" 
+							type="digit" style="border:1upx solid #cccccc;color:#333333;" />
+							</view>
                         </t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.skMore" @focus="item.skMore=''" name="skMore" type="digit" style="border:1upx solid #cccccc;" /></view>
+                            <view>
+							<input v-model="item.skMore" @focus="item.skMore=''" name="skMore" 
+							type="digit" style="border:1upx solid #cccccc;color:#333333;" />
+							</view>
                         </t-td>
 					</t-tr>
 				</view>
@@ -24,16 +32,18 @@
 			<AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(list.data)" />
 		</view>
         <view class="app-footer">
-            <view class="admin-button-com middle blue" @click="showBatchUpdate('add')">整列累加</view>
-            <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="showBatchUpdate('update')">整列改为</view>
+            <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="showBatchUpdate('update')">选择要修改的列</view>
 		    <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="savePrice">保存修改</view>
 		</view>
 
-		<modal-module :show="batchModel" @click="affirmBatch" title="批量操作" color="#333" :size="32" padding="30upx 30upx" >
+		<modal-module :show="batchModel" @click="affirmBatch" title="批量操作" color="#333" :size="32" padding="30rpx 30rpx" >
 			<template slot="customContent">
 				<view class="select-cmd_bx">
 					<view class="num_bx" style="margin:60upx 0 60upx 0;font-size:35upx;">
-						<view class="flex">金额:<input v-model="batchPrice" type="digit" style="border:1upx solid #CCCCCC;height:60upx;" /></view>
+						<view class="flex">金额:
+						<input v-model="batchPrice" placeholder="填写要批量修改的金额" 
+						type="digit" style="border:1upx solid #CCCCCC;height:60upx;" />
+						</view>
 					</view>
 				</view>
 			</template>
@@ -71,7 +81,7 @@ export default {
 
             this.batchStyle = styleInfo
 			let self = this
-			let levelList = ['请选择:','零售价比花店贵', '批发价比成本贵']
+			let levelList = ['请选择:','零售价比花店贵', '批发价比成本贵']
 			uni.showActionSheet({
 				itemList: levelList,
 				success: function (respond) {

+ 23 - 13
ghsApp/src/admin/itemClass/more.vue

@@ -3,19 +3,27 @@
 		<view v-if="!$util.isEmpty(list.data)" style="padding-bottom:120upx;">
 			<t-table :headerBackgroundColor="'#F0F2F6'">
 				<t-tr header>
-                    <t-th>名称</t-th>
-					<t-th>排序</t-th>
-					<t-th>保持期(天)</t-th>
+                    <t-th><view style="color:black;">名称</view></t-th>
+					<t-th><view style="color:black;">排序</view></t-th>
+					<t-th><view style="color:black;">保鲜天数</view></t-th>
 				</t-tr>
 				<view v-for="(item, index) in list.data" :key="index">
 					<t-tr>
-                        <t-td align="center" color="info"><view>{{item.name}}</view></t-td>
+                        <t-td align="center" color="info">
+						<view style="color:black;font-weight:bold;">{{item.name}}</view>
+						</t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.inTurn" @focus="item.inTurn=''" name="inTurn" type="number" style="border:1upx solid #cccccc;" /></view>
+                            <view>
+							<input v-model="item.inTurn" @focus="item.inTurn=''" name="inTurn" 
+							type="number" style="border:1upx solid #cccccc;color:#333333;" />
+							</view>
                         </t-td>
 						<t-td align="center" color="info">
-                            <view><input v-model="item.shelfLife" @focus="item.shelfLife=''" name="shelfLife" type="digit" style="border:1upx solid #cccccc;" /></view>
-                            </t-td>
+                            <view>
+							<input v-model="item.shelfLife" @focus="item.shelfLife=''" name="shelfLife" 
+							type="digit" style="border:1upx solid #cccccc;color:#333333;" />
+							</view>
+                        </t-td>
 					</t-tr>
 				</view>
 			</t-table>
@@ -24,16 +32,18 @@
 			<AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(list.data)" />
 		</view>
         <view class="app-footer">
-            <view class="admin-button-com middle blue" @click="showBatchUpdate('add')">整列累加</view>
-            <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="showBatchUpdate('update')">整列改为</view>
-		    <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="savePrice">全部保存</view>
+            <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="showBatchUpdate('update')">选择要修改的列</view>
+		    <view style="margin-left:20upx;" class="admin-button-com middle blue" @click="savePrice">保存修改</view>
 		</view>
 
-		<modal-module :show="batchModel" @click="affirmBatch" title="批量操作" color="#333" :size="32" padding="30upx 30upx" >
+		<modal-module :show="batchModel" @click="affirmBatch" title="批量操作" color="#333" :size="32" padding="30rpx 30rpx" >
 			<template slot="customContent">
 				<view class="select-cmd_bx">
 					<view class="num_bx" style="margin:60upx 0 60upx 0;font-size:35upx;">
-						<view class="flex">数值:<input v-model="batchNum" type="digit" style="border:1upx solid #CCCCCC;height:60upx;" /></view>
+						<view class="flex">数值:
+						<input v-model="batchNum" placeholder="填写要批量修改的数值" 
+						type="digit" style="border:1upx solid #CCCCCC;height:60upx;" />
+						</view>
 					</view>
 				</view>
 			</template>
@@ -70,7 +80,7 @@ export default {
             }
             this.batchStyle = styleInfo
 			let self = this
-			let levelList = ['请选择:','排序', '保持期']
+			let levelList = ['请选择:','排序', '保持期']
 			uni.showActionSheet({
 				itemList: levelList,
 				success: function (respond) {

+ 3 - 3
ghsApp/src/admin/itemClass/sort.vue

@@ -5,11 +5,11 @@
 				<div class="list" v-for="(item, index) in list.data" :key="index">
 					<div class="list-index">{{ item.id }}</div>
 					<div class="list-det" @click.stop="pageTo('/admin/itemClass/more?classId='+item.id)">
-						<div class="app-size-28 app-color-0" style="font-size:28upx;font-weight:bold;color:#333333;">
+						<div class="app-size-28 app-color-0" style="font-size:32upx;font-weight:bold;color:#333333;">
 						{{ item.name || '' }}
 						</div>
 						<div class="list-operate">
-							<text class="add-price">修改</text>
+							<text class="add-price">批量修改</text>
 						</div>
 					</div>
 				</div>
@@ -127,7 +127,7 @@ export default {
 						text-decoration:underline;
 						font-size:32upx;
 						margin-left:400upx;
-						color:#333333;
+						color:#3385FF;
 					}
 					.operate-icon{
 						margin-left:30upx;