This commit is contained in:
parent
7d38005c65
commit
734827bd08
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
<!-- v-if="visibleIndex.value == scope.$index" -->
|
<!-- v-if="visibleIndex.value == scope.$index" -->
|
||||||
<el-popover
|
<el-popover
|
||||||
:visible="visible"
|
:visible="scope.row.index==chooseBfh"
|
||||||
placement="right"
|
placement="right"
|
||||||
:width="220"
|
:width="220"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
placeholder="请输入不符合原因"
|
placeholder="请输入不符合原因"
|
||||||
clearable
|
clearable
|
||||||
/>
|
/>
|
||||||
<el-button size="small" text @click="visible = false"
|
<el-button size="small" text @click="chooseBfh = 0"
|
||||||
>取消</el-button
|
>取消</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
@ -485,6 +485,7 @@ const chooseTitle = ref(1);
|
||||||
const visible = ref(false); //提示确认框
|
const visible = ref(false); //提示确认框
|
||||||
const visibleIndex = ref(null); //提示确认框显示
|
const visibleIndex = ref(null); //提示确认框显示
|
||||||
const nonCompliance = ref(""); //不符合原因
|
const nonCompliance = ref(""); //不符合原因
|
||||||
|
const chooseBfh=ref(0);
|
||||||
const search1 = reactive({
|
const search1 = reactive({
|
||||||
name: "",
|
name: "",
|
||||||
date: "",
|
date: "",
|
||||||
|
@ -1034,12 +1035,14 @@ const handleVisibleChange = (newVisible) => {
|
||||||
};
|
};
|
||||||
const inconsistent = (index, row, status) => {
|
const inconsistent = (index, row, status) => {
|
||||||
console.log(index, row, status);
|
console.log(index, row, status);
|
||||||
visible.value = true;
|
// visible.value = true;
|
||||||
|
chooseBfh.value=row.index
|
||||||
visibleIndex.value = index;
|
visibleIndex.value = index;
|
||||||
};
|
};
|
||||||
const handleEdit = (index, row, status) => {
|
const handleEdit = (index, row, status) => {
|
||||||
console.log(index, row, status);
|
console.log(index, row, status);
|
||||||
visible.value = true;
|
// visible.value = true;
|
||||||
|
chooseBfh.value=0;
|
||||||
pushStatus(row, status);
|
pushStatus(row, status);
|
||||||
};
|
};
|
||||||
const pushStatus = (val, status) => {
|
const pushStatus = (val, status) => {
|
||||||
|
|
Loading…
Reference in New Issue