Browse Source

2023-11-03

master
guoxing 2 years ago
parent
commit
9221d0b835
  1. 2
      warehousing-system/project_web_ui-xxs/src/views/component/initial_value/product.vue

2
warehousing-system/project_web_ui-xxs/src/views/component/initial_value/product.vue

@ -250,7 +250,7 @@ export default {
type: 'warning'
}).catch(error => error)
if (result !== 'confirm') return this.$message.info('用户取消操作')
const { data: resultDB } = await this.$http.delete(`/product/delete/${product.barCode}`)
const { data: resultDB } = await this.$http.delete(`/product/delete/${product.id}`)
if (resultDB.status !== 200) return this.$message.error('删除商品失败')
this.getProductList()
this.$message.success('商品删除成功')

Loading…
Cancel
Save