This commit is contained in:
姚宇浩 2024-11-04 16:53:28 +08:00
parent 7d38005c65
commit 734827bd08
1 changed files with 7 additions and 4 deletions

View File

@ -77,7 +77,7 @@
<!-- v-if="visibleIndex.value == scope.$index" -->
<el-popover
:visible="visible"
:visible="scope.row.index==chooseBfh"
placement="right"
:width="220"
trigger="click"
@ -100,7 +100,7 @@
placeholder="请输入不符合原因"
clearable
/>
<el-button size="small" text @click="visible = false"
<el-button size="small" text @click="chooseBfh = 0"
>取消</el-button
>
<el-button
@ -485,6 +485,7 @@ const chooseTitle = ref(1);
const visible = ref(false); //
const visibleIndex = ref(null); //
const nonCompliance = ref(""); //
const chooseBfh=ref(0);
const search1 = reactive({
name: "",
date: "",
@ -1034,12 +1035,14 @@ const handleVisibleChange = (newVisible) => {
};
const inconsistent = (index, row, status) => {
console.log(index, row, status);
visible.value = true;
// visible.value = true;
chooseBfh.value=row.index
visibleIndex.value = index;
};
const handleEdit = (index, row, status) => {
console.log(index, row, status);
visible.value = true;
// visible.value = true;
chooseBfh.value=0;
pushStatus(row, status);
};
const pushStatus = (val, status) => {