|
|
@@ -142,7 +142,8 @@
|
|
|
@click="handleCommand('outsourceSend', row)"
|
|
|
v-if="
|
|
|
['3', '4', '5', '6'].includes(row.sourceType) &&
|
|
|
- [2].includes(row.orderStatus)&&row.progress<200
|
|
|
+ [2].includes(row.orderStatus) &&
|
|
|
+ row.progress < 200
|
|
|
"
|
|
|
>
|
|
|
创建委外发货单
|
|
|
@@ -154,7 +155,8 @@
|
|
|
@click="handleCommand('invoice', row)"
|
|
|
v-if="
|
|
|
!['3', '4', '5', '6'].includes(row.sourceType) &&
|
|
|
- [2].includes(row.orderStatus)&&row.progress<200
|
|
|
+ [2].includes(row.orderStatus) &&
|
|
|
+ row.progress < 200
|
|
|
"
|
|
|
>
|
|
|
创建收货单
|
|
|
@@ -212,7 +214,7 @@
|
|
|
<purchasingDetail ref="purchasingDetailRef"></purchasingDetail>
|
|
|
<purchasePlanDetail ref="purchasePlanDetailRef"></purchasePlanDetail>
|
|
|
<inquiryDetail ref="inquiryDetailRef"></inquiryDetail>
|
|
|
-
|
|
|
+
|
|
|
<addOutSourceSend
|
|
|
ref="addOrEditDialogRef"
|
|
|
:add-or-edit-dialog-flag.sync="addOrEditDialogFlag"
|
|
|
@@ -241,7 +243,8 @@
|
|
|
<importDialog
|
|
|
ref="importDialogRef"
|
|
|
@success="reload"
|
|
|
- :fileUrl="'/eos/importTemplate/采购订单导入模板.xlsx'"
|
|
|
+ :fileUrl="'/eom/purchaseorder/importTemplate'"
|
|
|
+ :isWeb="false"
|
|
|
fileName="采购订单导入模板"
|
|
|
apiUrl="/eom/purchaseorder/importFile"
|
|
|
/>
|
|
|
@@ -268,20 +271,17 @@
|
|
|
import outSourceSend from './outSourceSend/index';
|
|
|
import {
|
|
|
getTableList,
|
|
|
- deleteInformation,
|
|
|
+ deleteInformation
|
|
|
} from '@/api/purchasingManage/purchaseOrder';
|
|
|
import dictMixins from '@/mixins/dictMixins';
|
|
|
- import {
|
|
|
- purchaseOrderProgressStatusEnum,
|
|
|
- reviewStatus,
|
|
|
- } from '@/enum/dict';
|
|
|
+ import { purchaseOrderProgressStatusEnum, reviewStatus } from '@/enum/dict';
|
|
|
import processSubmitDialog from '@/BIZComponents/processSubmitDialog/processSubmitDialog.vue';
|
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
|
import importDialog from '@/components/upload/import-dialog.vue';
|
|
|
import exportButton from '@/components/upload/exportButton.vue';
|
|
|
import { parameterGetByCode } from '@/api/main/index.js';
|
|
|
import exceptionList from '@/views/saleManage/saleOrder/exceptionManagement/exceptionList/index.vue';
|
|
|
-
|
|
|
+
|
|
|
export default {
|
|
|
mixins: [dictMixins, tabMixins],
|
|
|
components: {
|
|
|
@@ -302,7 +302,10 @@
|
|
|
addInvoiceManage,
|
|
|
importDialog,
|
|
|
invoiceConfirm,
|
|
|
- exceptionList,purchasingDetail,purchasePlanDetail,inquiryDetail
|
|
|
+ exceptionList,
|
|
|
+ purchasingDetail,
|
|
|
+ purchasePlanDetail,
|
|
|
+ inquiryDetail
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -371,7 +374,7 @@
|
|
|
},
|
|
|
minWidth: 120
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
{
|
|
|
prop: 'relationType',
|
|
|
label: '来源单据类型',
|
|
|
@@ -379,8 +382,16 @@
|
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 150,
|
|
|
formatter: (_row, _column, cellValue) => {
|
|
|
- return _row.relationType==1?'采购需求单':_row.relationType==2?'采购计划单':_row.relationType==3?'采购核价单':_row.relationType==4?'采购合同':""
|
|
|
- },
|
|
|
+ return _row.relationType == 1
|
|
|
+ ? '采购需求单'
|
|
|
+ : _row.relationType == 2
|
|
|
+ ? '采购计划单'
|
|
|
+ : _row.relationType == 3
|
|
|
+ ? '采购核价单'
|
|
|
+ : _row.relationType == 4
|
|
|
+ ? '采购合同'
|
|
|
+ : '';
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
prop: 'relationName',
|