|
@@ -249,12 +249,11 @@ export default {
|
|
|
*/
|
|
|
handleMaterialImport(importedMaterials) {
|
|
|
// 调用mixin中的方法来正确处理导入物料(设置数据来源和删除权限)
|
|
|
- // mixin中的方法会直接更新this.materialDetails
|
|
|
+ // mixin中的方法会直接更新this.materialDetails并显示成功消息
|
|
|
orderFormMixin.methods.handleMaterialImport.call(this, importedMaterials)
|
|
|
|
|
|
// 重新计算订单总金额
|
|
|
this.calculateOrderTotal()
|
|
|
- this.$message.success(`成功导入 ${importedMaterials.length} 条物料明细`)
|
|
|
},
|
|
|
|
|
|
/**
|