|
@@ -23,6 +23,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<a-row :gutter="24"
|
|
<a-row :gutter="24"
|
|
|
type="flex"
|
|
type="flex"
|
|
|
|
|
+ v-if="isShowBtn()"
|
|
|
justify="center">
|
|
justify="center">
|
|
|
<a-col :span="24"
|
|
<a-col :span="24"
|
|
|
class="fixedBtns">
|
|
class="fixedBtns">
|
|
@@ -84,6 +85,18 @@ export default defineComponent({
|
|
|
wrtradeorderid: props.selectedRow.wrtradeorderid,
|
|
wrtradeorderid: props.selectedRow.wrtradeorderid,
|
|
|
};
|
|
};
|
|
|
queryTable(queryQueryWrTradeBargainApply, param);
|
|
queryTable(queryQueryWrTradeBargainApply, param);
|
|
|
|
|
+ function isShowBtn() {
|
|
|
|
|
+ let result = true;
|
|
|
|
|
+ const len = tableList.value.length;
|
|
|
|
|
+ if (len) {
|
|
|
|
|
+ if (tableList.value[len - 1].applystatus !== 1) {
|
|
|
|
|
+ result = false;
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ result = false;
|
|
|
|
|
+ }
|
|
|
|
|
+ return result;
|
|
|
|
|
+ }
|
|
|
// 我对别人的 => 撤销
|
|
// 我对别人的 => 撤销
|
|
|
// 别人对我的 => 确认、拒绝
|
|
// 别人对我的 => 确认、拒绝
|
|
|
const { isMy, getColums } = getSpotWarrantBargainDetailColumns(props.selectedRow);
|
|
const { isMy, getColums } = getSpotWarrantBargainDetailColumns(props.selectedRow);
|
|
@@ -127,6 +140,7 @@ export default defineComponent({
|
|
|
cancelAction,
|
|
cancelAction,
|
|
|
cancel,
|
|
cancel,
|
|
|
getBarmaginApplyStatus,
|
|
getBarmaginApplyStatus,
|
|
|
|
|
+ isShowBtn,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|