|
@@ -546,7 +546,11 @@
|
|
|
packaging: this.MaterielItem.packaging, // 包装
|
|
packaging: this.MaterielItem.packaging, // 包装
|
|
|
minPackQty: this.MaterielItem.minPackQty // 最小包装数
|
|
minPackQty: this.MaterielItem.minPackQty // 最小包装数
|
|
|
}
|
|
}
|
|
|
- this.$http.post(`/trade/products/update/product?attachUrl=${item.url}`, item).then(res => {
|
|
|
|
|
|
|
+ let _url = item.url
|
|
|
|
|
+ if (this.MaterielItem.standard === 1) {
|
|
|
|
|
+ _url = ''
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$http.post(`/trade/products/update/product?attachUrl=${_url}`, item).then(res => {
|
|
|
if (res.data.success) {
|
|
if (res.data.success) {
|
|
|
this.setRemindText('修改成功')
|
|
this.setRemindText('修改成功')
|
|
|
this.showMateriel = false
|
|
this.showMateriel = false
|