Commit 223263c9 authored by zhengyi's avatar zhengyi

控货订单放货锁定收货人判断bug修复

parent 7abdb538
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div> <div>
{{ $t('请填写放货信息') }} {{ $t('请填写放货信息') }}
</div> </div>
<!-- <!--
http://czxy.cpolar.top/task-view-818.html http://czxy.cpolar.top/task-view-818.html
新增备注信息,逻辑如下: 新增备注信息,逻辑如下:
...@@ -206,7 +206,7 @@ export default { ...@@ -206,7 +206,7 @@ export default {
disableUpdateCongsignee(){ disableUpdateCongsignee(){
if(!this.detail?.isLimitUpdateConsignee) return false if(!this.detail?.isLimitUpdateConsignee) return false
// 锁定且过期了返回false,其他情况全部是true // 锁定且过期了返回false,其他情况全部是true
if(this.detail.isLimitUpdateConsignee && this.detail.isLimitUpdateConsignee && new Date(this.detail.isLimitUpdateConsignee).getTime() > Date.now()){ if(this.detail.isLimitUpdateConsignee && this.detail.lockConsigneeTime && new Date(this.detail.lockConsigneeTime).getTime() < Date.now()){
return false return false
} }
return true return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment