|
@@ -28,6 +28,8 @@
|
|
<Column :label="$t('contract.signingDate')" :searchParams="queryParams" :showSearch="true" prop="signingDate" v-if="checkPermi(['user:contract:lift:signingDate'])" search-type="dateRange" width="250"/>
|
|
<Column :label="$t('contract.signingDate')" :searchParams="queryParams" :showSearch="true" prop="signingDate" v-if="checkPermi(['user:contract:lift:signingDate'])" search-type="dateRange" width="250"/>
|
|
<!--合同号2-->
|
|
<!--合同号2-->
|
|
<Column :label="$t('contract.contractNo')" :searchParams="queryParams" :showSearch="true" fixed prop="contractNo" v-if="checkPermi(['user:contract:lift:contractNo'])" />
|
|
<Column :label="$t('contract.contractNo')" :searchParams="queryParams" :showSearch="true" fixed prop="contractNo" v-if="checkPermi(['user:contract:lift:contractNo'])" />
|
|
|
|
+ <!--合同号-版本号-->
|
|
|
|
+ <Column :label="$t('lift.contractNoVersionNo')" :searchParams="queryParams" :showSearch="true" prop="contractNoVersionNo" v-if="checkPermi(['user:contract:lift:contractNoVersionNo'])" />
|
|
<!--生产令号3-->
|
|
<!--生产令号3-->
|
|
<Column :label="$t('lift.productionOrderNo')" :searchParams="queryParams" :showSearch="true" fixed prop="productionOrderNo" v-if="checkPermi(['user:contract:lift:productionOrderNo'])" />
|
|
<Column :label="$t('lift.productionOrderNo')" :searchParams="queryParams" :showSearch="true" fixed prop="productionOrderNo" v-if="checkPermi(['user:contract:lift:productionOrderNo'])" />
|
|
<!-- 合同名4 -->
|
|
<!-- 合同名4 -->
|
|
@@ -52,6 +54,21 @@
|
|
<!--币种10-->
|
|
<!--币种10-->
|
|
<Column :label="$t('contract.currencyId')" :searchParams="queryParams" :showSearch="true" prop="currencyId" searchType="select" v-if="checkPermi(['user:contract:lift:currencyId'])" selectMore
|
|
<Column :label="$t('contract.currencyId')" :searchParams="queryParams" :showSearch="true" prop="currencyId" searchType="select" v-if="checkPermi(['user:contract:lift:currencyId'])" selectMore
|
|
:searchDict="dict.type.currency_type"/>
|
|
:searchDict="dict.type.currency_type"/>
|
|
|
|
+ <!--来源-->
|
|
|
|
+ <Column :label="$t('contract.origin')" :searchParams="queryParams" :showSearch="true" prop="origin" searchType="select" v-if="checkPermi(['user:contract:lift:origin'])"
|
|
|
|
+ :searchDict="dict.type.contract_lift_origin"/>
|
|
|
|
+ <!--设备类型-->
|
|
|
|
+ <Column :label="$t('lift.elevatorType')" :searchParams="queryParams" :showSearch="true" prop="elevatorType" searchType="select" v-if="checkPermi(['user:contract:lift:elevatorType'])"
|
|
|
|
+ :searchDict="dict.type.elevator_type"/>
|
|
|
|
+ <!--报价编号-版本-->
|
|
|
|
+ <Column :label="$t('lift.quotationNoVersion')" :searchParams="queryParams" :showSearch="true" prop="quotationNoVersion" v-if="checkPermi(['user:contract:lift:quotationNoVersion'])"/>
|
|
|
|
+
|
|
|
|
+ <!--报价者-->
|
|
|
|
+ <Column :label="$t('lift.quoter')" :searchParams="queryParams" :showSearch="true" prop="quoter" v-if="checkPermi(['user:contract:lift:quoter'])">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ {{ row.origin === '0' ? row.quoterName : row.quoter }}
|
|
|
|
+ </template>
|
|
|
|
+ </Column>
|
|
<!--规格11-->
|
|
<!--规格11-->
|
|
<Column :label="$t('lift.specification')" :searchParams="queryParams" :showSearch="true" prop="specification" v-if="checkPermi(['user:contract:lift:specification'])"/>
|
|
<Column :label="$t('lift.specification')" :searchParams="queryParams" :showSearch="true" prop="specification" v-if="checkPermi(['user:contract:lift:specification'])"/>
|
|
<!--数量12-->
|
|
<!--数量12-->
|
|
@@ -161,6 +178,8 @@
|
|
|
|
|
|
<!--开票日期43-->
|
|
<!--开票日期43-->
|
|
<Column :label="$t('lift.invoiceDate')" :searchParams="queryParams" :showSearch="true" prop="invoiceDate" v-if="checkPermi(['user:contract:lift:invoiceDate'])" search-type="dateRange" sortable="custom" width="250"/>
|
|
<Column :label="$t('lift.invoiceDate')" :searchParams="queryParams" :showSearch="true" prop="invoiceDate" v-if="checkPermi(['user:contract:lift:invoiceDate'])" search-type="dateRange" sortable="custom" width="250"/>
|
|
|
|
+ <!--港口-->
|
|
|
|
+ <Column :label="$t('lift.port')" :searchParams="queryParams" :showSearch="true" prop="port" v-if="checkPermi(['user:contract:lift:port'])"/>
|
|
<!--报关月份44-->
|
|
<!--报关月份44-->
|
|
<Column :label="$t('lift.customsDeclarationMonth')" :searchParams="queryParams" :showSearch="true" prop="customsDeclarationMonth" v-if="checkPermi(['user:contract:lift:customsDeclarationMonth'])" sortable="custom" />
|
|
<Column :label="$t('lift.customsDeclarationMonth')" :searchParams="queryParams" :showSearch="true" prop="customsDeclarationMonth" v-if="checkPermi(['user:contract:lift:customsDeclarationMonth'])" sortable="custom" />
|
|
|
|
|
|
@@ -177,19 +196,6 @@
|
|
<!--合同更改日期48-->
|
|
<!--合同更改日期48-->
|
|
<Column :label="$t('lift.contractAmendmentDate')" :searchParams="queryParams" :showSearch="true" prop="contractAmendmentDate" v-if="checkPermi(['user:contract:lift:contractAmendmentDate'])"
|
|
<Column :label="$t('lift.contractAmendmentDate')" :searchParams="queryParams" :showSearch="true" prop="contractAmendmentDate" v-if="checkPermi(['user:contract:lift:contractAmendmentDate'])"
|
|
search-type="dateRange" width="250"/>
|
|
search-type="dateRange" width="250"/>
|
|
- <!--预计内陆运费-->
|
|
|
|
- <Column :label="$t('lift.planInlandFreightCost')" :searchParams="queryParams" align="right" v-if="checkPermi(['user:contract:lift:planInlandFreightCost'])" prop="planInlandFreightCost" >
|
|
|
|
- <template #default="{ row }">
|
|
|
|
- <span>{{ toDecimal2(numFormat(row.planInlandFreightCost)) }}</span>
|
|
|
|
- </template>
|
|
|
|
- </Column>
|
|
|
|
-
|
|
|
|
- <!--预计海运费-->
|
|
|
|
- <Column :label="$t('lift.planOceanFreight')" :searchParams="queryParams" align="right" v-if="checkPermi(['user:contract:lift:planOceanFreight'])" prop="planOceanFreight" >
|
|
|
|
- <template #default="{ row }">
|
|
|
|
- <span>{{ toDecimal2(numFormat(row.planOceanFreight)) }}</span>
|
|
|
|
- </template>
|
|
|
|
- </Column>
|
|
|
|
|
|
|
|
|
|
|
|
<!--排产月汇率-->
|
|
<!--排产月汇率-->
|
|
@@ -198,24 +204,13 @@
|
|
<Column :label="$t('lift.mUsdRate4Shipment')" :searchParams="queryParams" prop="rate4Shipment" v-if="checkPermi(['user:contract:lift:mUsdRate4Shipment'])"/>
|
|
<Column :label="$t('lift.mUsdRate4Shipment')" :searchParams="queryParams" prop="rate4Shipment" v-if="checkPermi(['user:contract:lift:mUsdRate4Shipment'])"/>
|
|
<!--签单月汇率-->
|
|
<!--签单月汇率-->
|
|
<Column :label="$t('lift.mUsdRate4SigningContracts')" :searchParams="queryParams" prop="rate4SigningContracts" v-if="checkPermi(['user:contract:lift:mUsdRate4SigningContracts'])"/>
|
|
<Column :label="$t('lift.mUsdRate4SigningContracts')" :searchParams="queryParams" prop="rate4SigningContracts" v-if="checkPermi(['user:contract:lift:mUsdRate4SigningContracts'])"/>
|
|
- <!--电梯号-->
|
|
|
|
- <Column :label="$t('lift.elevatorCode')" :searchParams="queryParams" :showSearch="true" prop="elevatorCode" v-if="checkPermi(['user:contract:lift:elevatorCode'])"/>
|
|
|
|
- <!--来源-->
|
|
|
|
- <Column :label="$t('contract.origin')" :searchParams="queryParams" :showSearch="true" prop="origin" searchType="select" v-if="checkPermi(['user:contract:lift:origin'])"
|
|
|
|
- :searchDict="dict.type.contract_lift_origin"/>
|
|
|
|
- <!--设备类型-->
|
|
|
|
- <Column :label="$t('lift.elevatorType')" :searchParams="queryParams" :showSearch="true" prop="elevatorType" searchType="select" v-if="checkPermi(['user:contract:lift:elevatorType'])"
|
|
|
|
- :searchDict="dict.type.elevator_type"/>
|
|
|
|
- <!--报价编号-版本-->
|
|
|
|
- <Column :label="$t('lift.quotationNoVersion')" :searchParams="queryParams" :showSearch="true" prop="quotationNoVersion" v-if="checkPermi(['user:contract:lift:quotationNoVersion'])"/>
|
|
|
|
|
|
|
|
|
|
|
|
- <!--报价者-->
|
|
|
|
- <Column :label="$t('lift.quoter')" :searchParams="queryParams" :showSearch="true" prop="quoter" v-if="checkPermi(['user:contract:lift:quoter'])">
|
|
|
|
- <template #default="{ row }">
|
|
|
|
- {{ row.origin === '0' ? row.quoterName : row.quoter }}
|
|
|
|
- </template>
|
|
|
|
- </Column>
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+<!-- <!–电梯号–>-->
|
|
|
|
+<!-- <Column :label="$t('lift.elevatorCode')" :searchParams="queryParams" :showSearch="true" prop="elevatorCode" v-if="checkPermi(['user:contract:lift:elevatorCode'])"/>-->
|
|
|
|
+
|
|
<!--附加费用-->
|
|
<!--附加费用-->
|
|
<Column :label="$t('lift.additionalCost')" :searchParams="queryParams" prop="additionalCost" v-if="checkPermi(['user:contract:lift:additionalCost'])">
|
|
<Column :label="$t('lift.additionalCost')" :searchParams="queryParams" prop="additionalCost" v-if="checkPermi(['user:contract:lift:additionalCost'])">
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
@@ -230,8 +225,6 @@
|
|
</Column>
|
|
</Column>
|
|
|
|
|
|
|
|
|
|
- <!--合同号-版本号-->
|
|
|
|
- <Column :label="$t('lift.contractNoVersionNo')" :searchParams="queryParams" :showSearch="true" prop="contractNoVersionNo" v-if="checkPermi(['user:contract:lift:contractNoVersionNo'])" />
|
|
|
|
|
|
|
|
|
|
|
|
<!--希望排产日期-->
|
|
<!--希望排产日期-->
|
|
@@ -245,24 +238,12 @@
|
|
<Column :label="$t('lift.hopeForDeliveryDate')" :searchParams="queryParams" :showSearch="true" prop="hopeForDeliveryDate" v-if="checkPermi(['user:contract:lift:hopeForDeliveryDate'])"
|
|
<Column :label="$t('lift.hopeForDeliveryDate')" :searchParams="queryParams" :showSearch="true" prop="hopeForDeliveryDate" v-if="checkPermi(['user:contract:lift:hopeForDeliveryDate'])"
|
|
search-type="dateRange" width="250" sortable="custom"/>
|
|
search-type="dateRange" width="250" sortable="custom"/>
|
|
|
|
|
|
- <!--港口-->
|
|
|
|
- <Column :label="$t('lift.port')" :searchParams="queryParams" :showSearch="true" prop="port" v-if="checkPermi(['user:contract:lift:port'])"/>
|
|
|
|
|
|
+
|
|
<!--生产订单状态-->
|
|
<!--生产订单状态-->
|
|
<Column :label="$t('lift.productionOrderStatus')" :searchParams="queryParams" :showSearch="true" prop="productionOrderStatus" searchType="select" v-if="checkPermi(['user:contract:lift:productionOrderStatus'])"
|
|
<Column :label="$t('lift.productionOrderStatus')" :searchParams="queryParams" :showSearch="true" prop="productionOrderStatus" searchType="select" v-if="checkPermi(['user:contract:lift:productionOrderStatus'])"
|
|
selectMore :searchDict="dict.type.production_order_status"/>
|
|
selectMore :searchDict="dict.type.production_order_status"/>
|
|
|
|
|
|
- <!--实际内陆运费-->
|
|
|
|
- <Column :label="$t('lift.actualInlandFreightCost')" :searchParams="queryParams" prop="actualInlandFreightCost" align="right" v-if="checkPermi(['user:contract:lift:actualInlandFreightCost'])">
|
|
|
|
- <template #default="{ row }">
|
|
|
|
- <span>{{ toDecimal2(numFormat(row.actualInlandFreightCost)) }}</span>
|
|
|
|
- </template>
|
|
|
|
- </Column>
|
|
|
|
- <!--实际海运费-->
|
|
|
|
- <Column :label="$t('lift.actualOceanFreight')" :searchParams="queryParams" prop="actualOceanFreight" align="right" v-if="checkPermi(['user:contract:lift:actualOceanFreight'])">
|
|
|
|
- <template #default="{ row }">
|
|
|
|
- <span>{{ toDecimal2(numFormat(row.actualOceanFreight)) }}</span>
|
|
|
|
- </template>
|
|
|
|
- </Column>
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
<Column :label="$t('common.operate')" :min-width="180" :searchParams="queryParams" :showSearch="true" fixed="right" searchType="operate"></Column>
|
|
<Column :label="$t('common.operate')" :min-width="180" :searchParams="queryParams" :showSearch="true" fixed="right" searchType="operate"></Column>
|
|
@@ -323,6 +304,8 @@
|
|
<!--币种10-->
|
|
<!--币种10-->
|
|
<Column :label="$t('contract.currencyId')" prop="currencyId" searchType="select" :searchDict="dict.type.currency_type" v-if="checkPermi(['user:contract:lift:currencyIdEdit'])"/>
|
|
<Column :label="$t('contract.currencyId')" prop="currencyId" searchType="select" :searchDict="dict.type.currency_type" v-if="checkPermi(['user:contract:lift:currencyIdEdit'])"/>
|
|
<!-- <InputDictColumn :label="$t('contract.currencyId')" prop="currencyId" :searchDict="dict.type.currency_type" v-if="checkPermi(['user:contract:lift:currencyIdEdit'])"/>-->
|
|
<!-- <InputDictColumn :label="$t('contract.currencyId')" prop="currencyId" :searchDict="dict.type.currency_type" v-if="checkPermi(['user:contract:lift:currencyIdEdit'])"/>-->
|
|
|
|
+
|
|
|
|
+
|
|
<!--单价13-->
|
|
<!--单价13-->
|
|
<Column :label="$t('lift.unitPrice')" prop="unitPrice" align="right" v-if="checkPermi(['user:contract:lift:unitPriceEdit'])">
|
|
<Column :label="$t('lift.unitPrice')" prop="unitPrice" align="right" v-if="checkPermi(['user:contract:lift:unitPriceEdit'])">
|
|
<template v-slot="scope">
|
|
<template v-slot="scope">
|
|
@@ -388,6 +371,32 @@
|
|
<MoneyInput :inputValue="scope.row.accountsReceivableBalance" :zeroLength="2" @change="item=>valueChanged(item,scope.row,'accountsReceivableBalance')" ></MoneyInput>
|
|
<MoneyInput :inputValue="scope.row.accountsReceivableBalance" :zeroLength="2" @change="item=>valueChanged(item,scope.row,'accountsReceivableBalance')" ></MoneyInput>
|
|
</template>
|
|
</template>
|
|
</Column >
|
|
</Column >
|
|
|
|
+ <!--预计内陆运费-->
|
|
|
|
+ <Column :label="$t('lift.planInlandFreightCost')" :searchParams="queryParams" align="right" v-if="checkPermi(['user:contract:lift:planInlandFreightCost'])" prop="planInlandFreightCost" >
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <span>{{ toDecimal2(numFormat(row.planInlandFreightCost)) }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </Column>
|
|
|
|
+
|
|
|
|
+ <!--预计海运费-->
|
|
|
|
+ <Column :label="$t('lift.planOceanFreight')" :searchParams="queryParams" align="right" v-if="checkPermi(['user:contract:lift:planOceanFreight'])" prop="planOceanFreight" >
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <span>{{ toDecimal2(numFormat(row.planOceanFreight)) }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </Column>
|
|
|
|
+
|
|
|
|
+ <!--实际内陆运费-->
|
|
|
|
+ <Column :label="$t('lift.actualInlandFreightCost')" :searchParams="queryParams" prop="actualInlandFreightCost" align="right" v-if="checkPermi(['user:contract:lift:actualInlandFreightCost'])">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <span>{{ toDecimal2(numFormat(row.actualInlandFreightCost)) }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </Column>
|
|
|
|
+ <!--实际海运费-->
|
|
|
|
+ <Column :label="$t('lift.actualOceanFreight')" :searchParams="queryParams" prop="actualOceanFreight" align="right" v-if="checkPermi(['user:contract:lift:actualOceanFreight'])">
|
|
|
|
+ <template #default="{ row }">
|
|
|
|
+ <span>{{ toDecimal2(numFormat(row.actualOceanFreight)) }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </Column>
|
|
<!--计划调整日期40-->
|
|
<!--计划调整日期40-->
|
|
<DatePickSelectColumn :label="$t('lift.planAdjustmentDate')" prop="planAdjustmentDate" v-if="checkPermi(['user:contract:lift:planAdjustmentDateEdit'])" width="250" sortable="custom"></DatePickSelectColumn>
|
|
<DatePickSelectColumn :label="$t('lift.planAdjustmentDate')" prop="planAdjustmentDate" v-if="checkPermi(['user:contract:lift:planAdjustmentDateEdit'])" width="250" sortable="custom"></DatePickSelectColumn>
|
|
<!--实际内陆运费-->
|
|
<!--实际内陆运费-->
|
|
@@ -406,6 +415,7 @@
|
|
<DatePickSelectColumn :label="$t('lift.invoiceDate')" prop="invoiceDate" v-if="checkPermi(['user:contract:lift:invoiceDateEdit'])" width="250"></DatePickSelectColumn>
|
|
<DatePickSelectColumn :label="$t('lift.invoiceDate')" prop="invoiceDate" v-if="checkPermi(['user:contract:lift:invoiceDateEdit'])" width="250"></DatePickSelectColumn>
|
|
<!--报关月份44-->
|
|
<!--报关月份44-->
|
|
<DictSelectColumn :label="$t('lift.customsDeclarationMonth')" prop="customsDeclarationMonth" :search-dict="months" v-if="checkPermi(['user:contract:lift:customsDeclarationMonthEdit'])"></DictSelectColumn>
|
|
<DictSelectColumn :label="$t('lift.customsDeclarationMonth')" prop="customsDeclarationMonth" :search-dict="months" v-if="checkPermi(['user:contract:lift:customsDeclarationMonthEdit'])"></DictSelectColumn>
|
|
|
|
+
|
|
<!--后续收取运费46-->
|
|
<!--后续收取运费46-->
|
|
<Column :label="$t('lift.subsequentCollectionOfShippingFees')" align="right" v-if="checkPermi(['user:contract:lift:subsequentCollectionOfShippingFeesEdit'])" prop="subsequentCollectionOfShippingFees" >
|
|
<Column :label="$t('lift.subsequentCollectionOfShippingFees')" align="right" v-if="checkPermi(['user:contract:lift:subsequentCollectionOfShippingFeesEdit'])" prop="subsequentCollectionOfShippingFees" >
|
|
<template v-slot="scope">
|
|
<template v-slot="scope">
|