|
|
@@ -172,10 +172,16 @@ export default {
|
|
|
this.initData({ type, shopId: this.shopId,status:0,requestType:'changePrice'});
|
|
|
},
|
|
|
commitPrice(){
|
|
|
+ let that = this
|
|
|
if(this.priceArr.length == 0){
|
|
|
this.$msg('没有修改')
|
|
|
return;
|
|
|
}
|
|
|
+ this.$util.confirmModal({content:'确认修改?'},() => {
|
|
|
+ that.commitChange()
|
|
|
+ })
|
|
|
+ },
|
|
|
+ commitChange(){
|
|
|
let data = JSON.stringify(this.priceArr);
|
|
|
batchChangePrice({data}).then(res => {
|
|
|
if(res.code == 1){
|