Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
f85e38c3
提交
f85e38c3
authored
12月 24, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix-bug2013,2008
上级
a7b6059e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
34 行增加
和
11 行删除
+34
-11
index.vue
src/views/system/freight/freight_list/index.vue
+2
-1
indexbtn.vue
src/views/system/freight/freight_list/indexbtn.vue
+29
-10
setpsd.vue
src/views/system/settings/setpsd.vue
+3
-0
没有找到文件。
src/views/system/freight/freight_list/index.vue
浏览文件 @
f85e38c3
...
@@ -66,7 +66,8 @@
...
@@ -66,7 +66,8 @@
@
pagination=
"getList"
@
pagination=
"getList"
/>
/>
<!-- 添加或修改freight对话框 -->
<!-- 添加或修改freight对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"isOpen"
v-if=
"isOpen"
width=
"70%"
class=
"freightTemplate-add"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"isOpen"
v-if=
"isOpen"
width=
"70%"
class=
"freightTemplate-add"
:close-on-click-modal=
"false"
center
>
<IndexBtn
:option=
"form"
@
closeIndexbtn=
"closeDialog"
/>
<IndexBtn
:option=
"form"
@
closeIndexbtn=
"closeDialog"
/>
</el-dialog>
</el-dialog>
</el-card>
</el-card>
...
...
src/views/system/freight/freight_list/indexbtn.vue
浏览文件 @
f85e38c3
...
@@ -127,9 +127,10 @@
...
@@ -127,9 +127,10 @@
>
>
</el-form>
</el-form>
<el-dialog
title=
"选择不配送省"
:visible
.
sync=
"dialogVisible"
width=
"30%"
append-to-body
>
<el-dialog
title=
"选择不配送省"
:visible
.
sync=
"dialogVisible"
width=
"30%"
append-to-body
:close-on-click-modal=
"false"
center
>
<div>
<div>
<el-checkbox-group
v-model=
"checkList"
>
<el-checkbox-group
v-model=
"checkList"
class=
"spe-checkbox-group-con"
>
<el-checkbox
<el-checkbox
v-for=
"(item, index) in arrlist"
v-for=
"(item, index) in arrlist"
:key=
"index"
:key=
"index"
...
@@ -139,8 +140,8 @@
...
@@ -139,8 +140,8 @@
</el-checkbox-group>
</el-checkbox-group>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"dialogVisible = false"
size=
"small"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"btndisabled()"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"btndisabled()"
size=
"small"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -219,7 +220,7 @@ export default {
...
@@ -219,7 +220,7 @@ export default {
},
},
methods
:
{
methods
:
{
btndisabled
(){
btndisabled
(){
//
debugger
debugger
let
checkListString
=
''
;
let
checkListString
=
''
;
if
(
this
.
btnindex
==
99
)
{
if
(
this
.
btnindex
==
99
)
{
checkListString
=
this
.
checkList
.
join
();
checkListString
=
this
.
checkList
.
join
();
...
@@ -244,9 +245,14 @@ export default {
...
@@ -244,9 +245,14 @@ export default {
})
})
},
},
/** 选择 配送区域*/
/** 选择 配送区域
* i= 1 ,操作是不配送区域
* */
opendias
(
type
,
i
,
index
)
{
opendias
(
type
,
i
,
index
)
{
//debugger
// 处理不配送区域
// 初始化 已经勾选的区域(包含,不配送 和 配送的)
this
.
disabledate
=
[];
this
.
goodsDate
.
dispatching
.
forEach
((
element
)
=>
{
this
.
goodsDate
.
dispatching
.
forEach
((
element
)
=>
{
if
(
element
.
a
&&
element
.
a
!=
''
)
{
if
(
element
.
a
&&
element
.
a
!=
''
)
{
...
@@ -262,15 +268,19 @@ export default {
...
@@ -262,15 +268,19 @@ export default {
this
.
disabledate
.
push
(
arr
[
i
]);
this
.
disabledate
.
push
(
arr
[
i
]);
}
}
this
.
btnindex
=
index
;
this
.
btnindex
=
index
;
// 将全部 省的状态初始化为 未选中
this
.
arrlist
.
forEach
(
item
=>
{
this
.
arrlist
.
forEach
(
item
=>
{
item
.
value
=
false
;
item
.
value
=
false
;
})
})
// 已经选择过的 区域 array
this
.
checkList
=
type
.
split
(
","
);
this
.
checkList
=
type
.
split
(
","
);
let
disabledates
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
disabledate
));
//可以将json对象转换成json对符串
// 所有已经勾选的 区域
let
disabarr
=
this
.
unique
(
disabledates
,
this
.
checkList
)
//去掉当前选择的disabled效果
let
disabledates
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
disabledate
));
// 已经勾选的 配送区域
let
disabarr
=
this
.
unique
(
disabledates
,
this
.
checkList
)
this
.
arrlist
.
forEach
(
item
=>
{
this
.
arrlist
.
forEach
(
item
=>
{
if
(
disabarr
.
includes
(
item
.
lable
))
{
if
(
disabarr
.
includes
(
item
.
lable
))
{
item
.
value
=
true
item
.
value
=
true
...
@@ -421,4 +431,13 @@ li {
...
@@ -421,4 +431,13 @@ li {
margin
:
0
auto
;
margin
:
0
auto
;
display
:
block
;
display
:
block
;
}
}
.spe-checkbox-group-con
{
margin-left
:
20px
;
}
.spe-checkbox-group-con
>>>
.el-checkbox
{
width
:
70px
;
margin
:
0
6px
5px
;
}
</
style
>
</
style
>
src/views/system/settings/setpsd.vue
浏览文件 @
f85e38c3
...
@@ -238,6 +238,9 @@
...
@@ -238,6 +238,9 @@
},
},
// 修改 登录密码
// 修改 登录密码
editLogin
()
{
editLogin
()
{
if
(
this
.
$refs
.
loginForm
)
{
this
.
$refs
[
'loginForm'
].
resetFields
();
}
this
.
isLogin
=
true
;
this
.
isLogin
=
true
;
},
},
// 修改 提现密码
// 修改 提现密码
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论