|
@@ -650,10 +650,13 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
})
|
|
|
- this.adminUserId_jl = null
|
|
|
+ if(!pams.length){
|
|
|
+ return this.$errorMsg('至少选择一项强制仓')
|
|
|
+ }
|
|
|
stockForceUserAdd({
|
|
|
adminUserForceStocks:pams
|
|
|
}).then(res=>{
|
|
|
+ this.adminUserId_jl = null
|
|
|
this.resetForcedHold = false
|
|
|
this.$successMsg('设置成功')
|
|
|
})
|