|
|
@@ -463,6 +463,12 @@ export default {
|
|
|
},
|
|
|
|
|
|
hideSort (e) {
|
|
|
+ if(this.$util.isEmpty(this.initData)){
|
|
|
+ this.sort.status = false;
|
|
|
+ this.canAddPrice = false
|
|
|
+ this.costPrice = false
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.dataList.form.data = JSON.stringify(this.initData)
|
|
|
this.$service.product.productBatchUpdate(this.dataList.form).then(res => {
|
|
|
console.log(res)
|