shish 5 лет назад
Родитель
Сommit
6bdcbfd9fb

+ 2 - 6
ghsApp/src/admin/changePrice/components/Item.vue

@@ -9,7 +9,7 @@
 				<view class="price red">¥{{ info.price }}</view>
 				<view style="text-align: right" >
 					<view class="open-bx" >
-						<input class="change-input" @blur="savePrice" @focus="modifyPrice = ''" v-model="modifyPrice" type="digit" placeholder="自动调价" />
+						<input class="change-input" @blur="savePrice" @focus="modifyPrice = ''" v-model="modifyPrice" type="digit" placeholder="填写价格" />
 					</view>
 				</view>
 			</view>
@@ -48,11 +48,7 @@ export default {
 			modifyPrice:''
 		};
 	},
-	mounted(){
-		if(this.info.priceLabel == 2){
-			this.modifyPrice = this.info.price
-		}
-	},
+	mounted(){},
 	methods: {
 		savePrice() {
 			this.$emit("savePrice",this.modifyPrice,this.info.id);

+ 1 - 1
ghsApp/src/admin/changePrice/list.vue

@@ -279,7 +279,7 @@ export default {
 		justify-content: space-evenly;
 		z-index: 9999;
 		.admin-button-com {
-			width: 46%;
+			width: 60%;
 		}
 		button{
 			width:600rpx;