Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
c03825d0
authored
Jun 19, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
aok
parent
0fc87d78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
10 deletions
pages/tally/abnormalTally.vue
pages/tally/index.vue
util/api.js
pages/tally/abnormalTally.vue
View file @
c03825d0
...
...
@@ -5,7 +5,6 @@
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-jinggao2"
@
click=
"clearInput(1)"
v-if=
"box_sn"
></text>
<template
v-if=
"box_sn"
>
<view
class=
"btn1 row rowCenter verCenter"
@
click=
"print()"
style=
"margin-right: 8rpx;"
>
打印箱号
</view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"canel()"
>
取消装箱
</view>
</
template
>
<
template
v-else
>
...
...
@@ -297,6 +296,12 @@
if
(
res
.
err_code
===
0
)
{
this
.
box_sn
=
res
.
data
.
box_sn
;
this
.
wsty_id
=
res
.
data
.
wsty_id
;
//取箱号才自动打印,输入箱号不需要自动打印
if
(
!
box_sn
)
{
this
.
print
();
//取箱号成功则自动调用打印箱号
}
}
else
{
uni
.
showModal
({
title
:
''
,
...
...
pages/tally/index.vue
View file @
c03825d0
...
...
@@ -657,7 +657,10 @@
this
.
box_sn
=
res
.
data
.
box_sn
;
this
.
wsty_id
=
res
.
data
.
wsty_id
;
this
.
print
();
//取箱号成功则自动调用打印箱号
//取箱号才自动打印,输入箱号不需要自动打印
if
(
!
box_sn
)
{
this
.
print
();
//取箱号成功则自动调用打印箱号
}
if
(
this
.
form
.
length
>
0
)
{
// 筛选出 tally_status 等于 1 或 2 的数据
...
...
util/api.js
View file @
c03825d0
//
const API_BASE = 'https://api.ichunt.com';
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
//
const API_BASE_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK
//
const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统
const
API_BASE
=
'https://api.ichunt.com'
;
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
const
API_BASE_OSS_HK
=
'http://hk.image.semour.com'
;
//oss系统 HK
const
API_BASE_WMS
=
'https://wms.ichunt.net'
;
//WMS系统
const
API_BASE
=
'http://api.liexin.com'
;
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
const
API_BASE_OSS_HK
=
'http://image.liexindev.net'
;
//oss系统 HK
const
API_BASE_WMS
=
'http://wms.liexindev.net'
;
//WMS系统
//
const API_BASE = 'http://api.liexin.com';
//
const API_BASE_OSS = 'http://image.liexindev.net';
//
const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK
//
const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
const
API
=
{
...
...
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