Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
efb6cd8b
Commit
efb6cd8b
authored
Oct 28, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f3dd7192
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
34 deletions
+24
-34
serviceProductList.vue
src/components/offlineService/serviceProductList.vue
+24
-34
No files found.
src/components/offlineService/serviceProductList.vue
View file @
efb6cd8b
...
...
@@ -282,8 +282,8 @@
<!-- 选择运费 -->
<el-dialog
title=
"选择运费"
top=
"2%"
:modal=
"false"
:modal-append-to-body=
'false'
:visible
.
sync=
"isShowFreight"
width=
"25%"
>
<div>
<el-radio-group
v-model=
"val"
>
<div
style=
"height:300px;overflow-y:auto"
>
<el-radio-group
v-model=
"
freight
val"
>
<el-radio
@
change=
"chooseFreight"
class=
"yfradio"
v-for=
"(item,index) in freightRuleList"
:key=
"index"
:label=
"item"
>
{{item.RulesName}}
</el-radio>
...
...
@@ -296,15 +296,14 @@
</el-dialog>
</div>
</template>
<
script
>
export
default
{
name
:
"
quickBuy
"
,
name
:
"
serviceProduct
"
,
data
()
{
return
{
isShowFreight
:
false
,
//是否显示运费设置弹窗
isShowBatchEdit
:
false
,
//是否显示批量设置弹窗
val
:
''
,
freightval
:
''
,
//运费选择
dateList
:
[],
//查询时间段
activeName
:
'first'
,
msg
:
{
...
...
@@ -338,11 +337,6 @@
UpdateType
:
1
,
},
rules
:
{
CategoryIdNew
:
[{
required
:
true
,
message
:
'分类不能为空'
,
trigger
:
'change'
}],
Sort
:
[{
required
:
true
,
message
:
'请输入排序'
,
...
...
@@ -491,29 +485,28 @@
}
let
idList
=
[];
this
.
GoodsIds
.
forEach
(
item
=>
{
idList
.
push
(
item
.
Id
)
idList
.
push
(
item
.
Id
)
;
})
this
.
keepGoodsIds
=
idList
.
join
(
','
);
this
.
plszMsg
.
GoodsIds
=
this
.
keepGoodsIds
;
this
.
plszMsg
.
SupplierId
=
''
this
.
plszMsg
.
SupplierId
=
''
;
this
.
isShowBatchEdit
=
true
;
},
//清空批量设置类型
ClearSelect
(
type
)
{
this
.
plszMsg
=
{
GoodsIds
:
this
.
keepGoodsIds
,
Type
:
type
,
FreightId
:
0
,
LimitBuyGoodsNum
:
-
1
,
LimitBuyOrderNum
:
-
1
,
IntegralPresent
:
0
,
IntegralPresentType
:
2
,
PointsDeduction
:
0
,
PointsDeductionType
:
2
,
IsMultipleDeduction
:
2
,
IsQuickBuy
:
2
,
IsGoodsNegotiable
:
2
,
SupplierId
:
''
}
this
.
plszMsg
.
GoodsIds
=
this
.
keepGoodsIds
;
this
.
plszMsg
.
Type
=
type
;
this
.
plszMsg
.
FreightId
=
0
;
this
.
plszMsg
.
LimitBuyGoodsNum
=
-
1
;
this
.
plszMsg
.
LimitBuyOrderNum
=
-
1
;
this
.
plszMsg
.
IntegralPresent
=
0
;
this
.
plszMsg
.
PointsDeduction
=
0
;
this
.
plszMsg
.
IntegralPresentType
=
2
;
this
.
plszMsg
.
PointsDeductionType
=
2
;
this
.
plszMsg
.
IsMultipleDeduction
=
2
;
this
.
plszMsg
.
IsQuickBuy
=
2
;
this
.
plszMsg
.
IsGoodsNegotiable
=
2
;
this
.
plszMsg
.
SupplierId
=
''
;
},
//运费选中
chooseFreight
(
val
)
{
...
...
@@ -550,13 +543,9 @@
str
=
"是否确认删除选中的商品?"
;
}
let
that
=
this
;
that
.
$confirm
(
str
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
commonSet
(
msg
);
}).
catch
(()
=>
{});
that
.
Confirm
(
str
,
function
()
{
that
.
commonSet
(
msg
);
});
},
Edit
(
row
,
num
)
{
let
editMsg
=
{
...
...
@@ -689,6 +678,7 @@
}
})
},
//获取运费规则
getRule
()
{
let
qRuleMsg
=
{
pageIndex
:
1
,
...
...
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