diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue
index 158839f..f57d42b 100644
--- a/src/views/modules/qc/qcPartAttribute.vue
+++ b/src/views/modules/qc/qcPartAttribute.vue
@@ -21,8 +21,8 @@
-
-
+
+
@@ -1266,7 +1266,7 @@
cinvSourceCode: '',
sku: '',
familyID: '',
- familyName: '',
+ partType: '',
buDesc: '',
attributeType: 'A',
page: 1,
@@ -1442,7 +1442,7 @@
serialNumber: '301003Table1FamilyName',
tableId: "301003Table1",
tableName: "物料属性设置表",
- columnProp: 'familyName',
+ columnProp: 'partType',
headerAlign: "center",
align: "left",
columnLabel: '物料类别',
@@ -2473,7 +2473,7 @@
this.$message.warning('请至少选择一项')
return
}
-
+
this.$confirm(`确认删除选中的 ${this.selectedTemplates.length} 个检验模板吗?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -2483,23 +2483,23 @@
const deletePromises = this.selectedTemplates.map(row => {
return deletePartAttributeDetails(row)
})
-
+
// 并发执行所有删除请求
Promise.all(deletePromises).then(results => {
// 检查是否所有请求都成功
const allSuccess = results.every(({data}) => data && data.code === 0)
-
+
if (allSuccess) {
this.$message.success('批量删除成功')
} else {
this.$message.warning('部分删除失败,请重试')
}
-
+
// 刷新列表
searchPartAttributeDetails(this.detailData).then(({data}) => {
this.detailList = data.rows
})
-
+
// 清空选中状态
this.$refs.templateTable.clearSelection()
this.selectedTemplates = []