This commit is contained in:
parent
7d38005c65
commit
734827bd08
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue