shish 3 лет назад
Родитель
Сommit
49c92afb0a

+ 2 - 1
ghsApp/src/admin/changePrice/removeList.vue

@@ -56,7 +56,7 @@
 		</view>
 
       <div class="app-footer">
-        <button class="admin-button-com big blue" @click="recoverSelect">到停用</button>
+        <button class="admin-button-com big blue" @click="recoverSelect">恢复到停用</button>
       </div>
 
 		<uni-popup ref="selectFlowerNumRef" background-color="#fff" type="center" :animation="false" class="class-popup-style">
@@ -128,6 +128,7 @@ export default {
 				batchRecover({ids:JSON.stringify(that.currentList)}).then(res=>{
 					if(res.code == 1){
 						that.$msg(res.msg)
+						that.initProduct()
 					}
 				})
 			})

+ 1 - 0
ghsApp/src/admin/changePrice/stopList.vue

@@ -129,6 +129,7 @@ export default {
 				batchEnable({ids:JSON.stringify(that.currentList)}).then(res=>{
 					if(res.code == 1){
 						that.$msg(res.msg)
+						that.initProduct()
 					}
 				})
 			})