Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9cc3339f
authored
Apr 13, 2026
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
refactor(record): 移除容器编辑功能及相关代码
- 删除容器信息展示和编辑弹窗的实现,简化页面结构 - 清理不再使用的容器相关方法,提升代码可读性和维护性
parent
cf427505
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
50 deletions
pages/tallyReceive/record.vue
pages/tallyReceive/record.vue
View file @
9cc3339f
...
...
@@ -203,11 +203,6 @@
<text
class=
"label"
>
物流单号:
</text>
<text
class=
"text"
>
{{ detail.tracking_no }}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
容 器:
</text>
<text
class=
"tt"
>
{{ detail.container_sn }}
</text>
<text
class=
"iconfont icon-bianji"
@
click=
"inputDialogToggle(detail)"
></text>
</view>
</view>
<view
class=
"bor"
></view>
<view
class=
"item-tit"
>
...
...
@@ -429,10 +424,6 @@
</view>
</view>
</uni-drawer>
<!-- 修改容器 -->
<uni-popup
ref=
"inputDialog"
type=
"dialog"
>
<uni-popup-dialog
before-close=
"true"
ref=
"inputClose"
mode=
"input"
:title=
"'当前容器:' + detail.container_sn"
placeholder=
"请输入目的容器"
@
close=
"closeChange"
@
confirm=
"dialogInputConfirm"
></uni-popup-dialog>
</uni-popup>
</view>
</template>
...
...
@@ -469,7 +460,6 @@
create_time_end
:
''
,
//结束日期
mobile_have_tally_all_search
:
''
,
//全量搜索
stock_in_with_stock_in_items_inhouse
:
''
,
//入仓单号
container_id
:
''
,
//容器,
tally_status
:
0
,
//默认显示已理货
stock_tally_with_stock_in_stock_in_type_in
:
''
,
//入库类型
watch_all
:
0
,
//1查看所有,0查看自己
...
...
@@ -592,46 +582,6 @@
}
},
/**
* 容器编辑弹窗
* @param {Object} detail
*/
inputDialogToggle
(
detail
)
{
this
.
$refs
.
inputDialog
.
open
();
},
closeChange
()
{
this
.
$refs
.
inputDialog
.
close
();
},
/**
* 修改容器提交
* @param {Object} e
*/
dialogInputConfirm
(
e
)
{
if
(
!
e
)
{
uni
.
showToast
({
title
:
'请输入目的容器'
,
icon
:
'none'
});
return
false
;
}
this
.
request
(
API
.
changeTallyContainer
,
'GET'
,
{
tally_id
:
this
.
detail
.
tally_id
,
container_sn
:
e
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
uni
.
showToast
({
title
:
'修改成功'
,
icon
:
'success'
});
setTimeout
(()
=>
{
this
.
detail
.
container_sn
=
e
;
this
.
closeChange
();
},
2000
);
}
else
{
uni
.
showToast
({
title
:
res
.
msg
,
icon
:
'none'
});
}
});
},
/**
* 找出false对应的下标
* @param {Object} arr
* @param {Object} target
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment