|
@@ -34,7 +34,7 @@ export default {
|
|
}
|
|
}
|
|
esGoodsBatchUpdateStatus({
|
|
esGoodsBatchUpdateStatus({
|
|
ids:this.recordSelected.map(item=>item.id).join(","),
|
|
ids:this.recordSelected.map(item=>item.id).join(","),
|
|
- status:true
|
|
|
|
|
|
+ status:"ON"
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.$message({ type: 'success', message: `设置成功!` })
|
|
this.$message({ type: 'success', message: `设置成功!` })
|
|
this.$refs.pageRef.refreshList()
|
|
this.$refs.pageRef.refreshList()
|
|
@@ -51,7 +51,7 @@ export default {
|
|
}
|
|
}
|
|
esGoodsBatchUpdateStatus({
|
|
esGoodsBatchUpdateStatus({
|
|
ids:this.recordSelected.map(item=>item.id).join(","),
|
|
ids:this.recordSelected.map(item=>item.id).join(","),
|
|
- status:false
|
|
|
|
|
|
+ status:"OFF"
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.$message({ type: 'success', message: `设置成功!` })
|
|
this.$message({ type: 'success', message: `设置成功!` })
|
|
this.$refs.pageRef.refreshList()
|
|
this.$refs.pageRef.refreshList()
|