diff --git a/src/views/oa/crm/crmQuoteInfo/index.vue b/src/views/oa/crm/crmQuoteInfo/index.vue index 899b28e..ae12b4c 100644 --- a/src/views/oa/crm/crmQuoteInfo/index.vue +++ b/src/views/oa/crm/crmQuoteInfo/index.vue @@ -290,7 +290,7 @@ {{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }} - + @@ -308,6 +308,15 @@ + + + { }); }; +/** 报价明细按钮操作 */ +const handleDetail = (row: CrmQuoteInfoVO) => { + router.push({ + path: '/quote/crmQuoteMaterial', + query: { + quoteId: row.quoteId, + quoteCode: row.quoteCode, + quoteName: row.quoteName + } + }); +}; + /** 提交按钮 */ const submitForm = () => { crmQuoteInfoFormRef.value?.validate(async (valid: boolean) => { @@ -799,7 +820,7 @@ const handleExportTemplate = (row?: CrmQuoteInfoVO) => { }); }; -let crmCustomerContactList = ref([]); +const crmCustomerContactList = ref([]); const getCustomerContactList = async () => { const res = await getCrmCustomerContactList(null); crmCustomerContactList.value = res.data; diff --git a/src/views/oa/crm/crmQuoteMaterial/index.vue b/src/views/oa/crm/crmQuoteMaterial/index.vue index f0e4013..35fd2a3 100644 --- a/src/views/oa/crm/crmQuoteMaterial/index.vue +++ b/src/views/oa/crm/crmQuoteMaterial/index.vue @@ -1,373 +1,211 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 - 重置 - - - - - - - - - - - 新增 - - - 修改 - - - 删除 - - - 导出 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{dict.label}} - - - - - - - - + + + + + + + + 导出 + + + + + + + + + + + + + + + {{ scope.row.amount ? Number(scope.row.amount).toFixed(2) : '0.00' }} + + + + + + {{ scope.row.beforePrice ? Number(scope.row.beforePrice).toFixed(2) : '0.00' }} + + + + + {{ scope.row.taxRate ? Number(scope.row.taxRate).toFixed(2) : '0.00' }} + + + + + {{ scope.row.includingPrice ? Number(scope.row.includingPrice).toFixed(2) : '0.00' }} + + + + + {{ scope.row.subtotal ? Number(scope.row.subtotal).toFixed(2) : '0.00' }} + + + + + + + +