shish 2 лет назад
Родитель
Сommit
486270213e
1 измененных файлов с 8 добавлено и 5 удалено
  1. 8 5
      ghsApp/src/admin/changePrice/batchChange.vue

+ 8 - 5
ghsApp/src/admin/changePrice/batchChange.vue

@@ -56,7 +56,7 @@
 			</view>
 	
 		  <div class="app-footer">
-			<button class="admin-button-com big blue" @click="changeSelectItem()">修改所选花材</button>
+			<button class="admin-button-com big blue" @click="changeSelectItem()">修改所选花材价格</button>
 		  </div>
 	
 			<uni-popup ref="selectFlowerNumRef" background-color="#fff" type="center" :animation="false" class="class-popup-style">
@@ -72,7 +72,7 @@
 	
 			<image v-if="showClassRemind" @click="hideClassRemind" style="position:absolute;width:610upx;height:699upx;top:225upx;left:80upx;z-index:9999;" :src="`${constant.imgUrl}/class_remind.png`"></image>
 	
-			<modal-module :show="showClassModel" @cancel="cancelModifyClass" @click="confirmModifyClass" title=" " color="#333" :size="32" padding="30rpx 30rpx" >
+			<modal-module :show="showClassModel" @cancel="cancelModifyModel" @click="confirmModifyClass" title=" " color="#333" :size="32" padding="30rpx 30rpx" >
 				<template slot="customContent">
 					<view style="padding:30upx 0">
 
@@ -157,7 +157,7 @@
 			},
 			confirmModifyClass(val){
 				if (val.index === 0) {
-					this.cancelModifyClass();
+					this.cancelModifyModel();
 					return false
 				}
 				let that = this
@@ -188,14 +188,17 @@
 				this.$util.confirmModal({content:'确认修改?'},() => {
 					manyItemChangeOnePrice({ids:JSON.stringify(that.currentList),...that.form}).then(res=>{
 						if(res.code == 1){
-							that.cancelModifyClass()
+							that.cancelModifyModel()
 							that.$msg(res.msg)
+							that.form.price=''
+							that.form.skPrice=''
+							that.form.hjPrice=''
 							that.initProduct()
 						}
 					})
 				})
 			},
-			cancelModifyClass() {
+			cancelModifyModel() {
 				this.showClassModel = false;
 			},
 			checkItemEvent(item,check) {