fix: 商品锁定

This commit is contained in:
wanganmao
2022-10-20 09:59:57 +08:00
parent 77f3c74ba1
commit 85aae649a7
5 changed files with 22 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
:page="page"
:sceneAction="sceneAction"
:surveyId="surveyId"
:lockedWare="lockedWare"
@onLoadingCompletion="onLoadingCompletion"
@onFromSceneHoldToShelf="onFromSceneHoldToShelf"
@onBehaviorFlush="onBehaviorFlush"
@@ -95,6 +96,10 @@ export default defineComponent({
(x) => x.planetid == this.config.ware
);
},
lockedWare() {
if(!this.config.is_initialize) return null;
return this.ware;
},
},
data(){
return {