Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 530934f7
authored
Apr 21, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
功能按钮
1 parent
9fcc4330
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
src/views/goodsOrder/index.vue
src/views/goodsWarehouse/index.vue
src/views/goodsWarehouse/warehouse.vue
src/views/saleOrder/index.vue
src/views/goodsOrder/index.vue
View file @
530934f
...
...
@@ -70,11 +70,11 @@ export default {
titleList
,
buttonList
:
[
{
type
:
'
el-
button'
,
type
:
'
GL
button'
,
name
:
'详情'
,
attrs
:
{
type
:
'text'
,
fn
:
'详情'
fn
:
'
商品订单
详情'
},
listeners
:
{
click
:
row
=>
this
.
goOrderDetaillPage
(
row
.
scope
)
...
...
src/views/goodsWarehouse/index.vue
View file @
530934f
...
...
@@ -24,7 +24,7 @@
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
{{
scope
.
scope
.
goodsSkuName
}}
</div>
<div
class=
"setPriceSlot"
slot=
"setPriceSlot"
slot-scope=
"scope"
>
<el-input
v-if=
"curEditId==scope.scope.id"
v-model=
"scope.scope.salePrice"
onkeyup=
"value = value ? value.replace(/^0\d/g, '0').replace(/[^\d.]/g, '').replace(/^\./g, '').replace(/\.
{2,}/g, '').replace('.', '$#$')
<el-input
ref=
"priceRef"
autofocus
v-if=
"curEditId==scope.scope.id"
v-model=
"scope.scope.salePrice"
onkeyup=
"value = value ? value.replace(/^0\d/g, '0').replace(/[^\d.]/g, '').replace(/^\./g, '').replace(/\.
{2,}/g, '').replace('.', '$#$')
.replace(/\./g, '').replace('$#$', '.').replace(/^(-)*(\d+)\.(\d\d).*$/, '$1$2.$3') : value" type="text" clearable @blur="setPriceFn($event, scope.scope)">
</el-input>
<span
class=
"unedited"
v-else
>
{{
scope
.
scope
.
salePrice
}}
...
...
@@ -157,11 +157,11 @@ export default {
},
buttonList
:
[
{
type
:
'
el-
button'
,
type
:
'
GL
button'
,
name
:
'商品详情'
,
attrs
:
{
type
:
'text'
,
fn
:
'详情'
fn
:
'
销售商品
详情'
},
listeners
:
{
click
:
row
=>
this
.
goDetaillPage
(
row
.
scope
)
...
...
@@ -207,6 +207,9 @@ export default {
},
editPrice
(
row
){
this
.
curEditId
=
row
.
id
// this.$nextTick(()=>{
// this.$refs.priceRef.focus()
// })
},
//获取复选table数据
getAllData
(){
...
...
src/views/goodsWarehouse/warehouse.vue
View file @
530934f
...
...
@@ -150,11 +150,11 @@ export default {
},
buttonList
:
[
{
type
:
'
el-
button'
,
type
:
'
GL
button'
,
name
:
'商品详情'
,
attrs
:
{
type
:
'text'
,
fn
:
'详情'
fn
:
'
仓库商品
详情'
},
listeners
:
{
click
:
row
=>
this
.
goDetaillPage
(
row
.
scope
)
...
...
src/views/saleOrder/index.vue
View file @
530934f
...
...
@@ -58,11 +58,11 @@ export default {
titleList
,
buttonList
:
[
{
type
:
'
el-
button'
,
type
:
'
GL
button'
,
name
:
'详情'
,
attrs
:
{
type
:
'text'
,
fn
:
'详情'
fn
:
'
售后订单
详情'
},
listeners
:
{
click
:
row
=>
this
.
goOrderDetaillPage
(
row
.
scope
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment