删除
This commit is contained in:
parent
3b2064b9fb
commit
1641ee9ffa
@ -870,7 +870,7 @@ export default {
|
|||||||
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) {
|
||||||
obj.pictureUrlList.push(this.form.goodsPictureUrl);
|
obj.pictureUrlList.push(this.imgone);
|
||||||
}
|
}
|
||||||
if (obj.pictureUrlList.length > 0) {
|
if (obj.pictureUrlList.length > 0) {
|
||||||
updatePicture(obj).then((res) => {
|
updatePicture(obj).then((res) => {
|
||||||
|
|||||||
@ -364,7 +364,7 @@ export default {
|
|||||||
updateGoodsCategory(this.form).then((response) => {
|
updateGoodsCategory(this.form).then((response) => {
|
||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
if (this.imgone != this.form.goodsCategoryPicture) {
|
if (this.imgone != this.form.goodsCategoryPicture) {
|
||||||
obj.pictureUrlList.push(this.form.goodsCategoryPicture);
|
obj.pictureUrlList.push(this.imgone);
|
||||||
}
|
}
|
||||||
if (obj.pictureUrlList.length > 0) {
|
if (obj.pictureUrlList.length > 0) {
|
||||||
updatePicture(obj).then((res) => {
|
updatePicture(obj).then((res) => {
|
||||||
|
|||||||
@ -861,7 +861,7 @@ export default {
|
|||||||
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) {
|
||||||
obj.pictureUrlList.push(this.form.goodsPictureUrl);
|
obj.pictureUrlList.push(this.imgone);
|
||||||
}
|
}
|
||||||
if (obj.pictureUrlList.length > 0) {
|
if (obj.pictureUrlList.length > 0) {
|
||||||
updatePicture(obj).then((res) => {
|
updatePicture(obj).then((res) => {
|
||||||
|
|||||||
@ -1164,9 +1164,7 @@ export default {
|
|||||||
updateNurseItem(this.form).then((response) => {
|
updateNurseItem(this.form).then((response) => {
|
||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
if (this.imgone != this.form.nurseStationItem.itemPictureUrl) {
|
if (this.imgone != this.form.nurseStationItem.itemPictureUrl) {
|
||||||
obj.pictureUrlList.push(
|
obj.pictureUrlList.push(this.imgone);
|
||||||
this.form.nurseStationItem.itemPictureUrl
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
if (obj.pictureUrlList.length > 0) {
|
if (obj.pictureUrlList.length > 0) {
|
||||||
updatePicture(obj).then((res) => {
|
updatePicture(obj).then((res) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user