Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
63c83809
提交
63c83809
编写于
4月 11, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Hotfix0404
上级
e242f808
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
14 行增加
和
4 行删除
+14
-4
create-good-new.vue
src/views/goods/create-good-new.vue
+14
-4
未找到文件。
src/views/goods/create-good-new.vue
浏览文件 @
63c83809
...
@@ -325,7 +325,13 @@
...
@@ -325,7 +325,13 @@
</el-col>
</el-col>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"inline"
>
<el-form-item
label=
"阳性报销上限"
prop=
"reimburseMax"
>
<el-col
:span=
"20"
>
<el-input-number
class=
"stock-com"
@
input=
"$forceUpdate();"
v-model=
"formData.reimburseMax"
size=
"small"
:precision=
"2"
:min=
"0.00"
:max=
"99999.99"
></el-input-number>
</el-col>
</el-form-item>
</div>
<div
class=
"inline"
v-if=
"formData.saleType == 2"
>
<div
class=
"inline"
v-if=
"formData.saleType == 2"
>
<el-form-item
label=
"最小起批"
prop=
"minWhole"
class=
"required-label"
>
<el-form-item
label=
"最小起批"
prop=
"minWhole"
class=
"required-label"
>
<el-col
:span=
"20"
>
<el-col
:span=
"20"
>
...
@@ -376,6 +382,7 @@
...
@@ -376,6 +382,7 @@
<span
style=
"margin-left: 5px;"
>
次
</span>
<span
style=
"margin-left: 5px;"
>
次
</span>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"inline"
>
<div
class=
"inline"
>
<el-form-item>
<el-form-item>
<el-button
size=
"small"
type=
"primary"
@
click=
"addBuyingLimit"
><i
class=
"el-icon-plus"
></i>
限购条件
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"addBuyingLimit"
><i
class=
"el-icon-plus"
></i>
限购条件
</el-button>
...
@@ -635,7 +642,7 @@
...
@@ -635,7 +642,7 @@
label
:
'年'
,
label
:
'年'
,
value
:
365
,
value
:
365
,
}],
}],
formData
:
JSON
.
parse
(
JSON
.
stringify
(
originForm
))
,
// 通用信息
formData
:
{...
JSON
.
parse
(
JSON
.
stringify
(
originForm
)),
reimburseMax
:
''
}
,
// 通用信息
formData1
:
JSON
.
parse
(
JSON
.
stringify
(
originForm1
)),
// 基本信息
formData1
:
JSON
.
parse
(
JSON
.
stringify
(
originForm1
)),
// 基本信息
formData3
:
JSON
.
parse
(
JSON
.
stringify
(
originForm3
)),
formData3
:
JSON
.
parse
(
JSON
.
stringify
(
originForm3
)),
buyLimitDtoList
:[],
buyLimitDtoList
:[],
...
@@ -716,7 +723,8 @@
...
@@ -716,7 +723,8 @@
this
.
inputType
=
inputType
||
''
;
this
.
inputType
=
inputType
||
''
;
this
.
commissionFlag
=
commissionFlag
;
this
.
commissionFlag
=
commissionFlag
;
this
.
storeType
=
storeType
;
this
.
storeType
=
storeType
;
this
.
rules
=
originRules
;
this
.
rules
=
{...
originRules
};
this
.
rules1
=
originRules1
;
this
.
rules1
=
originRules1
;
this
.
rules3
=
originRules3
;
this
.
rules3
=
originRules3
;
...
@@ -1068,6 +1076,7 @@
...
@@ -1068,6 +1076,7 @@
this
.
fileGoodsList
=
this
.
getImges
(
goodDet
.
goodsImgList
,
1
);
this
.
fileGoodsList
=
this
.
getImges
(
goodDet
.
goodsImgList
,
1
);
this
.
fileIntrList
=
this
.
getImges
(
goodDet
.
goodsDetailImageList
,
2
);
this
.
fileIntrList
=
this
.
getImges
(
goodDet
.
goodsDetailImageList
,
2
);
this
.
formData
.
stock
=
this
.
formData
.
goodsStock
;
this
.
formData
.
stock
=
this
.
formData
.
goodsStock
;
this
.
formData
.
reimburseMax
=
this
.
formData
.
reimburseMax
/
100
;
if
(
goodDet
.
goodsVideoList
.
length
>
0
)
{
if
(
goodDet
.
goodsVideoList
.
length
>
0
)
{
this
.
videoList
.
push
(
goodDet
.
goodsVideoList
[
0
]);
this
.
videoList
.
push
(
goodDet
.
goodsVideoList
[
0
]);
this
.
videoModel
.
videoFullPath
=
this
.
videoList
[
0
].
goodsImgUrl
;
this
.
videoModel
.
videoFullPath
=
this
.
videoList
[
0
].
goodsImgUrl
;
...
@@ -1257,7 +1266,8 @@
...
@@ -1257,7 +1266,8 @@
return
false
;
return
false
;
}
else
{
}
else
{
this
.
formData
.
costPrice
=
signFigures
(
this
.
formData
.
optPrice
*
100
,
10
);
this
.
formData
.
costPrice
=
signFigures
(
this
.
formData
.
optPrice
*
100
,
10
);
this
.
formData
.
realCostPrice
=
signFigures
(
this
.
formData
.
realCostPrice
*
100
,
10
);
this
.
formData
.
realCostPrice
=
signFigures
(
this
.
formData
.
realCostPrice
*
100
,
10
);
this
.
formData
.
reimburseMax
=
signFigures
(
this
.
formData
.
reimburseMax
*
100
,
10
);
this
.
formData
.
hasChanged
=
true
;
this
.
formData
.
hasChanged
=
true
;
this
.
formData
.
inputType
=
this
.
inputType
;
this
.
formData
.
inputType
=
this
.
inputType
;
this
.
updateGoodsInfo
();
this
.
updateGoodsInfo
();
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录