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
336bf677
authored
Nov 06, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
b403e98d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
20 deletions
pages/goods/addReceiving.vue
pages/tallyGoods/confirm.vue
util/api.js
pages/goods/addReceiving.vue
View file @
336bf677
...
@@ -81,11 +81,11 @@
...
@@ -81,11 +81,11 @@
</template>
</template>
<
script
>
<
script
>
import
{
API
}
from
'@/util/api.js'
;
import
{
API
}
from
'@/util/api.js'
;
import
{
titleCase
}
from
'@/util/util.js'
;
import
{
titleCase
}
from
'@/util/util.js'
;
import
w_md5
from
'../../js_sdk/zww-md5/w_md5.js'
;
import
w_md5
from
'../../js_sdk/zww-md5/w_md5.js'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
noexebshowFalg
:
true
,
//控制是否会触发生命周期
noexebshowFalg
:
true
,
//控制是否会触发生命周期
...
@@ -323,8 +323,7 @@ export default {
...
@@ -323,8 +323,7 @@ export default {
content
:
res
.
err_msg
,
content
:
res
.
err_msg
,
showCancel
:
false
,
showCancel
:
false
,
success
:
res
=>
{
success
:
res
=>
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{}
else
if
(
res
.
cancel
)
{
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
console
.
log
(
'用户点击取消'
);
}
}
}
}
...
@@ -333,9 +332,9 @@ export default {
...
@@ -333,9 +332,9 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
@import
'../../assets/css/goods/addReceiving.scss'
;
@import
'../../assets/css/goods/addReceiving.scss'
;
</
style
>
</
style
>
\ No newline at end of file
pages/tallyGoods/confirm.vue
View file @
336bf677
...
@@ -94,7 +94,9 @@
...
@@ -94,7 +94,9 @@
<text
class=
"tt-l"
>
采购单上传(选填)
</text>
<text
class=
"tt-l"
>
采购单上传(选填)
</text>
<text
class=
"tt-r"
v-if=
"switchFlag"
>
{{ image_list.length }}/4
</text>
<text
class=
"tt-r"
v-if=
"switchFlag"
>
{{ image_list.length }}/4
</text>
</view>
</view>
<view
class=
"switch"
><switch
@
change=
"switchChange"
color=
"#197adb"
style=
"transform:scale(0.7)"
/></view>
<view
class=
"switch"
>
<switch
@
change=
"switchChange"
color=
"#197adb"
style=
"transform:scale(0.7)"
/>
</view>
</view>
</view>
<view
class=
"upload-list row verCenter"
v-if=
"switchFlag"
>
<view
class=
"upload-list row verCenter"
v-if=
"switchFlag"
>
<
template
v-if=
"image_list.length > 0"
>
<
template
v-if=
"image_list.length > 0"
>
...
@@ -112,10 +114,10 @@
...
@@ -112,10 +114,10 @@
</template>
</template>
<
script
>
<
script
>
import
{
API
}
from
'@/util/api.js'
;
import
{
API
}
from
'@/util/api.js'
;
import
{
titleCase
}
from
'@/util/util.js'
;
import
{
titleCase
}
from
'@/util/util.js'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
isInspOrg
:
false
,
//是否商检
isInspOrg
:
false
,
//是否商检
...
@@ -538,8 +540,7 @@ export default {
...
@@ -538,8 +540,7 @@ export default {
content
:
res
.
err_msg
,
content
:
res
.
err_msg
,
showCancel
:
false
,
showCancel
:
false
,
success
:
res
=>
{
success
:
res
=>
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{}
else
if
(
res
.
cancel
)
{
}
else
if
(
res
.
cancel
)
{
console
.
log
(
'用户点击取消'
);
console
.
log
(
'用户点击取消'
);
}
}
}
}
...
@@ -548,9 +549,9 @@ export default {
...
@@ -548,9 +549,9 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
@import
'../../assets/css/tallyGoods/confirm.scss'
;
@import
'../../assets/css/tallyGoods/confirm.scss'
;
</
style
>
</
style
>
\ No newline at end of file
util/api.js
View file @
336bf677
const
API_BASE
=
'https://api.ichunt.com'
;
//
const API_BASE = 'https://api.ichunt.com';
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
//
const API_BASE = 'http://api.liexin.com';
const
API_BASE
=
'http://api.liexin.com'
;
//
const API_BASE_OSS = 'http://image.liexindev.net';
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
const
API
=
{
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