Commit da770bc4 authored by Mr.Tang's avatar Mr.Tang

对应关系国内bug修复

parent 4f96a2d9
...@@ -573,6 +573,59 @@ function colseDialogOpen3() { ...@@ -573,6 +573,59 @@ function colseDialogOpen3() {
open3.value = false open3.value = false
reset() reset()
} }
// 表单重置
function reset() {
form.value = {
id: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null,
remark: null,
delFlag: null,
partId: null,
standardNumber: null,
}
proxy.resetForm('partRef')
}
/** 搜索按钮操作 */
function handleQuery() {
queryParams.value.pageNum = 1
getList()
/* getSelectNoRelatePart()
handleRelationLaw()
getSelectNoRelateLawPart()*/
}
function handleQuery1() {
//queryParams.value.pageNum = 1
getSelectNoRelateLawPart()
}
/** 重置按钮操作 */
function resetQuery() {
proxy.resetForm('queryRef')
handleQuery()
}
// 多选框选中数据
/*function handleSelectionChange(selection) {
ids.value = selection.map((item) => item.id)
single.value = selection.length != 1
multiple.value = !selection.length
}*/
// 当选择状态变化时触发
const handleSelectionChange = (selection) => {
selectedRows.value = selection
}
/*查看零件详情抽屉*/
function showPartDialog(row) {
open2.value = true // 打开对话框
currentStandardNo.value = row.standardNumber
this.title = `查看对应零件(${row.standardNumber},共${row.partCount}个零件)` // 设置对话框标题
console.log('++++++++++++++' + row.standardNumber)
getPartDetail(row)
}
/*查看零件详情*/ /*查看零件详情*/
function getPartDetail(row) { function getPartDetail(row) {
// 2. 发起请求 // 2. 发起请求
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment