自定义接口

This commit is contained in:
‘huanghaiixia’
2026-01-28 18:21:33 +08:00
parent 06aa85caee
commit 22fdadc17d
25 changed files with 59 additions and 33 deletions

View File

@ -92,7 +92,7 @@ export const columns: BasicColumn[] = [
},
{
dataIndex: 'priceSalesGj',
dataIndex: 'qtySalesGj',
title: '批复量 (吉焦)',
componentType: 'input',
align: 'left',
@ -101,7 +101,7 @@ export const columns: BasicColumn[] = [
},
{
dataIndex: 'priceSalesM3',
dataIndex: 'qtySalesM3',
title: '批复量 (万方)',
componentType: 'input',
align: 'left',
@ -110,7 +110,7 @@ export const columns: BasicColumn[] = [
},
{
dataIndex: 'ksName',
dataIndex: 'kName',
title: '合同',
componentType: 'input',
align: 'left',

View File

@ -15,7 +15,7 @@
</template>
</div>
<Card :title="title" :bordered="false" v-if="pageType=='compare'&&titleNew">
<Card :title="titleNew" :bordered="false" v-if="pageType=='compare'&&titleNew">
<basicForm :formObj="formStateNew" :changeList="diffResultList" :list="dataListNew" :disable="true"></basicForm>
</Card>
<Card :title="title" :bordered="false" v-if="title">
@ -127,6 +127,10 @@
}
}
const changeData = (obj) => {
if (Object.keys(obj).length === 0) return {
list : [],
params: {}
}
let arr = obj.lngPngDemandPurList || []
obj.datePlan = obj.datePlan ? dayjs(obj.datePlan) : null
obj.qtyContractM3 = NP.divide(Number(obj.qtyContractM3), 10000)