This commit is contained in:
闫晓茹 2022-11-24 16:12:13 +08:00
parent 45ece6b6bb
commit e7c78291d4

View File

@ -366,10 +366,10 @@ export default {
this.$refs["form"].validate((valid) => { this.$refs["form"].validate((valid) => {
if (valid) { if (valid) {
if (this.form.goodsInfoId != null) { if (this.form.goodsInfoId != null) {
this.form.id = this.form.goodsInfoId; this.form.goodDetailsLists.forEach((e) => {
this.form.goodDetailsLists.forEach((e) => {
e.goodsPrice = Number(e.goodsPrice); e.goodsPrice = Number(e.goodsPrice);
}); });
this.form.id = this.form.goodsInfoId;
updateGoodsInfo(this.form).then((response) => { updateGoodsInfo(this.form).then((response) => {
var obj = { pictureUrlList: [] }; var obj = { pictureUrlList: [] };
if (this.imgone != this.form.goodsPictureUrl) { if (this.imgone != this.form.goodsPictureUrl) {