|
@@ -173,6 +173,15 @@
|
|
|
>
|
|
>
|
|
|
新增发票
|
|
新增发票
|
|
|
</el-link>
|
|
</el-link>
|
|
|
|
|
+ <el-link
|
|
|
|
|
+ v-if="$hasPermission('eom:purchaseorder:rowExport')"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ :underline="false"
|
|
|
|
|
+ icon="el-icon-download"
|
|
|
|
|
+ @click="exportRowInfo(row)"
|
|
|
|
|
+ >
|
|
|
|
|
+ 导出
|
|
|
|
|
+ </el-link>
|
|
|
</template>
|
|
</template>
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
|
</div>
|
|
</div>
|
|
@@ -277,7 +286,8 @@
|
|
|
import outSourceSend from './outSourceSend/index';
|
|
import outSourceSend from './outSourceSend/index';
|
|
|
import {
|
|
import {
|
|
|
getTableList,
|
|
getTableList,
|
|
|
- deleteInformation
|
|
|
|
|
|
|
+ deleteInformation,
|
|
|
|
|
+ getExport
|
|
|
} from '@/api/purchasingManage/purchaseOrder';
|
|
} from '@/api/purchasingManage/purchaseOrder';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
import { purchaseOrderProgressStatusEnum, reviewStatus } from '@/enum/dict';
|
|
import { purchaseOrderProgressStatusEnum, reviewStatus } from '@/enum/dict';
|
|
@@ -288,6 +298,7 @@
|
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
|
import exceptionList from '@/views/saleManage/saleOrder/exceptionManagement/exceptionList/index.vue';
|
|
import exceptionList from '@/views/saleManage/saleOrder/exceptionManagement/exceptionList/index.vue';
|
|
|
import { getToDoReminder } from '@/api/common/index';
|
|
import { getToDoReminder } from '@/api/common/index';
|
|
|
|
|
+ import { exportTable } from '@/api/system/file/index.js';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [dictMixins, tabMixins],
|
|
mixins: [dictMixins, tabMixins],
|
|
@@ -548,7 +559,7 @@
|
|
|
{
|
|
{
|
|
|
columnKey: 'action',
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
label: '操作',
|
|
|
- width: 230,
|
|
|
|
|
|
|
+ width: 260,
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
resizable: false,
|
|
resizable: false,
|
|
|
slot: 'action',
|
|
slot: 'action',
|
|
@@ -705,6 +716,11 @@
|
|
|
if (row.relationType == 4) {
|
|
if (row.relationType == 4) {
|
|
|
this.$refs.contractDetailRef.open(data);
|
|
this.$refs.contractDetailRef.open(data);
|
|
|
}
|
|
}
|
|
|
|
|
+ },
|
|
|
|
|
+ // 导出
|
|
|
|
|
+ exportRowInfo(row) {
|
|
|
|
|
+ console.log(row);
|
|
|
|
|
+ getExport(row.id);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|