|
@@ -34,7 +34,7 @@
|
|
<a-divider type="vertical" v-if="hasPerm(['bizSupplierTransportEdit', 'bizSupplierTransportDelete'], 'and') && record.auditStatus!='2'" />
|
|
<a-divider type="vertical" v-if="hasPerm(['bizSupplierTransportEdit', 'bizSupplierTransportDelete'], 'and') && record.auditStatus!='2'" />
|
|
<a-button type="link" danger size="small" v-if="hasPerm('bizSupplierTransportDelete') && record.auditStatus!='2'" @click="deleteConfig(record)">删除</a-button>
|
|
<a-button type="link" danger size="small" v-if="hasPerm('bizSupplierTransportDelete') && record.auditStatus!='2'" @click="deleteConfig(record)">删除</a-button>
|
|
<a-divider type="vertical" v-if="(hasPerm(['bizSupplierTransportEdit', 'bizSupplierTransportDelete'], 'or') && record.auditStatus!='2') && hasPerm('bizSupplierTransportAudit')" />
|
|
<a-divider type="vertical" v-if="(hasPerm(['bizSupplierTransportEdit', 'bizSupplierTransportDelete'], 'or') && record.auditStatus!='2') && hasPerm('bizSupplierTransportAudit')" />
|
|
- <a @click="auditFormRef.showModal(record.id)" v-if="hasPerm('bizSupplierTransportAudit')">审核</a>
|
|
|
|
|
|
+ <a @click="auditFormRef.showModal(record.id)" v-if="hasPerm('bizSupplierTransportAudit') && record.auditStatus=='1'">审核</a>
|
|
</a-space>
|
|
</a-space>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
@@ -53,7 +53,7 @@
|
|
import {ExclamationCircleOutlined} from '@ant-design/icons-vue';
|
|
import {ExclamationCircleOutlined} from '@ant-design/icons-vue';
|
|
import {Modal} from 'ant-design-vue';
|
|
import {Modal} from 'ant-design-vue';
|
|
import {createVNode} from 'vue';
|
|
import {createVNode} from 'vue';
|
|
-
|
|
|
|
|
|
+
|
|
const submitLoading = ref(false)
|
|
const submitLoading = ref(false)
|
|
const toolConfig = { refresh: true, height: false, columnSetting: false, striped: false }
|
|
const toolConfig = { refresh: true, height: false, columnSetting: false, striped: false }
|
|
// 默认是关闭状态
|
|
// 默认是关闭状态
|
|
@@ -65,7 +65,7 @@
|
|
const recordData = ref()
|
|
const recordData = ref()
|
|
const title = ref()
|
|
const title = ref()
|
|
const supplierId = ref()
|
|
const supplierId = ref()
|
|
-
|
|
|
|
|
|
+
|
|
const columns = [
|
|
const columns = [
|
|
{
|
|
{
|
|
title: '序号',
|
|
title: '序号',
|