加工/管输合同
This commit is contained in:
@ -59,8 +59,8 @@
|
||||
{ dataIndex: 'cuSname', title: '客户', align: 'left', },
|
||||
{ dataIndex: 'pointDelyName', title: '下载点', align: 'left',},
|
||||
{ dataIndex: 'comName', title: '交易主体', align: 'left',},
|
||||
{ dataIndex: 'qtyMeaGj', title: '完成量(吉焦)', align: 'left',width: 120},
|
||||
{ dataIndex: 'qtyMeaM3', title: '完成量(方)', align: 'left',width: 120},
|
||||
{ dataIndex: 'qtyMeaSalesGj', title: '完成量(吉焦)', align: 'left',width: 120},
|
||||
{ dataIndex: 'qtyMeaPurM3', title: '完成量(方)', align: 'left',width: 120},
|
||||
{ dataIndex: 'rateM3Gj', title: '比值(方/吉焦)', align: 'left',width: 120},
|
||||
{ dataIndex: 'ksName', title: '销售合同', align: 'left',},
|
||||
{ dataIndex: 'file', title: '附件', align: 'left',width: 200},
|
||||
@ -74,8 +74,8 @@
|
||||
{ dataIndex: 'cuSname', title: '客户', align: 'left',},
|
||||
{ dataIndex: 'pointDelyName', title: '下载点', align: 'left',},
|
||||
{ dataIndex: 'comName', title: '交易主体', align: 'left',},
|
||||
{ dataIndex: 'qtyMeaGj', title: '完成量(吉焦)', align: 'left',width: 120},
|
||||
{ dataIndex: 'qtyMeaM3', title: '完成量(方)', align: 'left',width: 120},
|
||||
{ dataIndex: 'qtyMeaPurGj', title: '完成量(吉焦)', align: 'left',width: 120},
|
||||
{ dataIndex: 'qtyMeaPurM3', title: '完成量(方)', align: 'left',width: 120},
|
||||
{ dataIndex: 'rateM3Gj', title: '比值(方/吉焦)', align: 'left',width: 120},
|
||||
{ dataIndex: 'kpName', title: '采购合同', align: 'left',},
|
||||
{ dataIndex: 'file', title: '附件', align: 'left',width: 200},
|
||||
|
||||
@ -62,7 +62,9 @@
|
||||
curRecord.value = data.record || {}
|
||||
isUpdate.value = !!data?.isUpdate;
|
||||
isDisable.value = data.isDisable
|
||||
if (!(curRecord.value.lngPngSettleSalesDtlList || []).length || !(curRecord.value.lngPngSettlePurDtlList || []).length) {
|
||||
let isFlag = props.pageType == 'supplier' && !(curRecord.value.lngPngSettlePurDtlList || []).length
|
||||
let isFlagPur = props.pageType == 'customer' && !(curRecord.value.lngPngSettleSalesDtlList || []).length
|
||||
if (isFlag || isFlagPur) {
|
||||
getList()
|
||||
} else {
|
||||
if (props.pageType == 'supplier') {
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
</template>
|
||||
</template>
|
||||
</a-table>
|
||||
<measureListModal @register="registerMeasure" @success="handleSuccessMeasure" :pageType="pageType"></measureListModal>
|
||||
<measureListModal @register="registerMeasure" @success="handleSuccessMeasure" :pageType="pageType"></measureListModal>
|
||||
<priceComposeListModal @register="registerPrice" @success="handleSuccessPrice" :pageType="pageType"></priceComposeListModal>
|
||||
</div>
|
||||
</template>
|
||||
@ -101,6 +101,8 @@
|
||||
}
|
||||
const handleSuccessMeasure = (val) => {
|
||||
val.forEach(i =>{
|
||||
i.qtyMeaGj = props.pageType == 'supplier' ? i.qtyMeaPurGj : i.qtyMeaSalesGj
|
||||
i.qtyMeaM3 = props.pageType == 'supplier' ? i.qtyMeaPurM3 : i.qtyMeaPurM3
|
||||
delete i.lngFileUploadList
|
||||
})
|
||||
if (!dataList.value.length) {
|
||||
|
||||
Reference in New Issue
Block a user