|
|
|
|
@ -77,12 +77,17 @@
|
|
|
|
|
<el-table-column label="部门负责人" align="center" prop="chargeName" v-if="columns[7].visible" />
|
|
|
|
|
<el-table-column label="分管副总" align="center" prop="deputyName" v-if="columns[8].visible" />
|
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" v-if="columns[9].visible" />
|
|
|
|
|
<el-table-column label="业务状态" align="center" prop="receivingStatus" v-if="columns[10].visible">
|
|
|
|
|
<el-table-column label="全部到货标识" align="center" prop="isAllReceiving" v-if="columns[10].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="is_all_receiving" :value="scope.row.isAllReceiving || ''" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="业务状态" align="center" prop="receivingStatus" v-if="columns[11].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="receiving_status" :value="scope.row.receivingStatus || ''" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="流程状态" align="center" v-if="columns[11].visible">
|
|
|
|
|
<el-table-column label="流程状态" align="center" v-if="columns[12].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<dict-tag :options="wf_business_status" :value="scope.row.flowStatus || 'draft'" />
|
|
|
|
|
</template>
|
|
|
|
|
@ -140,7 +145,9 @@ import ApprovalRecord from '@/components/Process/approvalRecord.vue';
|
|
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
|
|
const router = useRouter();
|
|
|
|
|
const route = useRoute();
|
|
|
|
|
const { wf_business_status, receiving_status } = toRefs<any>(proxy?.useDict('wf_business_status', 'receiving_status'));
|
|
|
|
|
const { wf_business_status, receiving_status, is_all_receiving } = toRefs<any>(
|
|
|
|
|
proxy?.useDict('wf_business_status', 'receiving_status', 'is_all_receiving')
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
const projectReceivingList = ref<ProjectReceivingVO[]>([]);
|
|
|
|
|
const buttonLoading = ref(false);
|
|
|
|
|
@ -172,8 +179,9 @@ const columns = ref<FieldOption[]>([
|
|
|
|
|
{ key: 7, label: `部门负责人`, visible: true },
|
|
|
|
|
{ key: 8, label: `分管副总`, visible: true },
|
|
|
|
|
{ key: 9, label: `备注`, visible: true },
|
|
|
|
|
{ key: 10, label: `业务状态`, visible: true },
|
|
|
|
|
{ key: 11, label: `流程状态`, visible: false }
|
|
|
|
|
{ key: 10, label: `全部到货标识`, visible: true },
|
|
|
|
|
{ key: 11, label: `业务状态`, visible: true },
|
|
|
|
|
{ key: 12, label: `流程状态`, visible: false }
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
const initFormData: ProjectReceivingForm = {
|
|
|
|
|
@ -185,7 +193,8 @@ const initFormData: ProjectReceivingForm = {
|
|
|
|
|
ossId: undefined,
|
|
|
|
|
chargeId: undefined,
|
|
|
|
|
deputyId: undefined,
|
|
|
|
|
remark: undefined
|
|
|
|
|
remark: undefined,
|
|
|
|
|
isAllReceiving: undefined
|
|
|
|
|
};
|
|
|
|
|
const data = reactive<PageData<ProjectReceivingForm, ProjectReceivingQuery>>({
|
|
|
|
|
form: { ...initFormData },
|
|
|
|
|
|