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
d03db929
authored
Oct 25, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
012850c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
pages/tallyReceive/operate.vue
pages/tallyReceive/record.vue
pages/tallyReceive/operate.vue
View file @
d03db929
...
@@ -767,7 +767,8 @@ export default {
...
@@ -767,7 +767,8 @@ export default {
}
}
//【理货】、【一键理货】操作时,D/C 必填并且必须为四位数字
//【理货】、【一键理货】操作时,D/C 必填并且必须为四位数字
if
(
this
.
warehouse_id
==
9
)
{
if
(
this
.
warehouse_id
==
9
)
{
if
(
this
.
formParams
.
date_code
.
length
!=
4
)
{
const
dcRegex
=
/^
\d{4}
$/
;
// 匹配四位数字
if
(
!
dcRegex
.
test
(
this
.
formParams
.
date_code
))
{
uni
.
showModal
({
uni
.
showModal
({
itle
:
'提示'
,
itle
:
'提示'
,
content
:
'D/C必须为四位数字'
,
content
:
'D/C必须为四位数字'
,
...
...
pages/tallyReceive/record.vue
View file @
d03db929
...
@@ -162,19 +162,19 @@
...
@@ -162,19 +162,19 @@
<!-- 区分深圳自营和非深圳自营 -->
<!-- 区分深圳自营和非深圳自营 -->
<
template
v-if=
"curr == 0"
>
<
template
v-if=
"curr == 0"
>
<view
class=
"field-item row"
>
<view
class=
"field-item row"
>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
货品编码:
</text>
<text
class=
"label"
>
货品编码:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
goods_sn
}}
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
goods_sn
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
v-if=
"detail.sku_id > 0"
>
<view
class=
"item row verCenter"
v-if=
"detail.sku_id > 0"
>
<text
class=
"label"
>
自营货品ID:
</text>
<text
class=
"label"
>
自营货品ID:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
sku_id
}}
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
sku_id
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
货品名称:
</text>
<text
class=
"label"
>
货品名称:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
goods_name
}}
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
goods_name
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
入库批次号:
</text>
<text
class=
"label"
>
入库批次号:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
stock_in_batch_sn
}}
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
stock_in_batch_sn
}}
</text>
</view>
</view>
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
<text
class=
"label"
>
客户物料编码:
</text>
<text
class=
"label"
>
客户物料编码:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
customer_material_number
}}
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
customer_material_number
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
标准品牌:
</text>
<text
class=
"label"
>
标准品牌:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
brand_name
}}
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
brand_name
}}
</text>
</view>
</view>
...
@@ -194,18 +194,26 @@
...
@@ -194,18 +194,26 @@
<text
class=
"label"
>
产 地:
</text>
<text
class=
"label"
>
产 地:
</text>
<text
class=
"tt"
>
{{
detail
.
coo
}}
</text>
<text
class=
"tt"
>
{{
detail
.
coo
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
货品品质:
</text>
<text
class=
"label"
>
货品品质:
</text>
<text
class=
"tt"
>
{{
detail
.
quality_cn
}}
</text>
<text
class=
"tt"
>
{{
detail
.
quality_cn
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
其他批次属性:
</text>
<text
class=
"label"
>
其他批次属性:
</text>
<text
class=
"tt"
>
{{
detail
.
other_batch_attr
}}
</text>
<text
class=
"tt"
>
{{
detail
.
other_batch_attr
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
客户:
</text>
<text
class=
"label"
>
客户:
</text>
<text
class=
"tt"
style=
"max-width: 454rpx;"
>
{{
detail
.
customer_name
}}
</text>
<text
class=
"tt"
style=
"max-width: 454rpx;"
>
{{
detail
.
customer_name
}}
</text>
</view>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
销售员:
</text>
<text
class=
"tt"
>
{{
detail
.
sale_user
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"tt"
>
{{
detail
.
purchase_user
}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
供应商:
</text>
<text
class=
"label"
>
供应商:
</text>
<text
class=
"tt"
style=
"max-width: 454rpx;"
>
{{
detail
.
supplier_name
}}
</text>
<text
class=
"tt"
style=
"max-width: 454rpx;"
>
{{
detail
.
supplier_name
}}
</text>
...
...
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