Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
ebedaa24
提交
ebedaa24
authored
7月 12, 2022
作者:
yyf
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'bug修改' into develop
上级
af9adc1c
198aba89
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
4 行删除
+11
-4
index.vue
src/views/system/freight/freight_list/index.vue
+2
-2
goodsaftersale.vue
src/views/system/goods/add/components/goodsaftersale.vue
+9
-2
没有找到文件。
src/views/system/freight/freight_list/index.vue
浏览文件 @
ebedaa24
...
...
@@ -280,8 +280,8 @@
},
/** 新增按钮操作 */
handleAdd
()
{
if
(
this
.
total
>=
50
)
{
this
.
$message
({
message
:
'您已经有50个运费模板了,暂时不再支持更多!'
,
type
:
'warning'
});
if
(
this
.
total
>=
50
0
)
{
this
.
$message
({
message
:
'您已经有50
0
个运费模板了,暂时不再支持更多!'
,
type
:
'warning'
});
return
;
}
this
.
reset
();
...
...
src/views/system/goods/add/components/goodsaftersale.vue
浏览文件 @
ebedaa24
...
...
@@ -33,6 +33,7 @@
placeholder=
"属性名称"
v-model=
"element.title"
maxlength=
"15"
@
input=
"updatelist"
show-word-limit
size=
"small"
></el-input>
...
...
@@ -41,6 +42,7 @@
<el-input
type=
"text"
placeholder=
"属性值"
@
input=
"updatelist"
v-model=
"element.value"
maxlength=
"60"
show-word-limit
...
...
@@ -450,9 +452,12 @@
}
}
},
updatelist
(){
this
.
$forceUpdate
()
},
// 添加参数
addparameter
(){
// 添加参数
addparameter
(){
let
obj
=
{
title
:
''
,
value
:
''
...
...
@@ -460,8 +465,10 @@
this
.
goodsAfterSaleForm
.
params
.
push
(
obj
)
this
.
$forceUpdate
()
//点编辑过来的时候,因为多层嵌套组件,照成视图没有更新,调用这个方法,(分析的应该是这样)
},
deleteparameter
(
index
){
this
.
goodsAfterSaleForm
.
params
.
splice
(
index
,
1
)
this
.
$forceUpdate
()
},
/** 售后服务数据 初始化 */
initInfo
()
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论