|
@@ -1054,14 +1054,18 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 120,
|
|
|
|
|
- prop: 'entrustedEnterpriseId',
|
|
|
|
|
- label: '受托企业',
|
|
|
|
|
- slot: 'entrustedEnterpriseId',
|
|
|
|
|
- show: this.isCustomerMark,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ this.isCustomerMark
|
|
|
|
|
+ ? {
|
|
|
|
|
+ minWidth: 120,
|
|
|
|
|
+ prop: 'entrustedEnterpriseId',
|
|
|
|
|
+ label: '受托企业',
|
|
|
|
|
+ slot: 'entrustedEnterpriseId',
|
|
|
|
|
+ show: this.isCustomerMark,
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ }
|
|
|
|
|
+ : {
|
|
|
|
|
+ width: 1
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 150,
|
|
width: 150,
|
|
|
prop: 'saleCount',
|
|
prop: 'saleCount',
|
|
@@ -1145,18 +1149,22 @@
|
|
|
slot: 'notaxSinglePrice',
|
|
slot: 'notaxSinglePrice',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- width: 160,
|
|
|
|
|
- prop: 'discountSinglePrice',
|
|
|
|
|
- label: '折让单价',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- show: this.isDiscount,
|
|
|
|
|
- formatter: (_row, _column, cellValue) => {
|
|
|
|
|
- return _row.discountSinglePrice
|
|
|
|
|
- ? Number(_row.discountSinglePrice).toFixed(2)
|
|
|
|
|
- : '';
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ this.isDiscount
|
|
|
|
|
+ ? {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'discountSinglePrice',
|
|
|
|
|
+ label: '折让单价',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ show: this.isDiscount,
|
|
|
|
|
+ formatter: (_row, _column, cellValue) => {
|
|
|
|
|
+ return _row.discountSinglePrice
|
|
|
|
|
+ ? Number(_row.discountSinglePrice).toFixed(2)
|
|
|
|
|
+ : '';
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ : {
|
|
|
|
|
+ width: 1
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 120,
|
|
width: 120,
|
|
|
prop: 'totalPrice',
|
|
prop: 'totalPrice',
|
|
@@ -1165,18 +1173,22 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- width: 160,
|
|
|
|
|
- prop: 'discountTotalPrice',
|
|
|
|
|
- label: '折让合计',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- show: this.isDiscount,
|
|
|
|
|
- formatter: (_row, _column, cellValue) => {
|
|
|
|
|
- return _row.discountTotalPrice
|
|
|
|
|
- ? Number(_row.discountTotalPrice).toFixed(2)
|
|
|
|
|
- : '';
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ this.isDiscount
|
|
|
|
|
+ ? {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'discountTotalPrice',
|
|
|
|
|
+ label: '折让合计',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ show: this.isDiscount,
|
|
|
|
|
+ formatter: (_row, _column, cellValue) => {
|
|
|
|
|
+ return _row.discountTotalPrice
|
|
|
|
|
+ ? Number(_row.discountTotalPrice).toFixed(2)
|
|
|
|
|
+ : '';
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ : {
|
|
|
|
|
+ width: 1
|
|
|
|
|
+ },
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
width: 110,
|
|
width: 110,
|
|
@@ -1256,14 +1268,18 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- width: 160,
|
|
|
|
|
- prop: 'arrivalWay',
|
|
|
|
|
- label: '到货方式',
|
|
|
|
|
- slot: 'arrivalWay',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- show: this.isArrivalWay
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ this.isArrivalWay
|
|
|
|
|
+ ? {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'arrivalWay',
|
|
|
|
|
+ label: '到货方式',
|
|
|
|
|
+ slot: 'arrivalWay',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ show: this.isArrivalWay
|
|
|
|
|
+ }
|
|
|
|
|
+ : {
|
|
|
|
|
+ width: 1
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 160,
|
|
width: 160,
|
|
|
prop: 'customerExpectDeliveryDeadline',
|
|
prop: 'customerExpectDeliveryDeadline',
|
|
@@ -1273,15 +1289,19 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- width: 160,
|
|
|
|
|
- prop: 'produceDeliveryDeadline',
|
|
|
|
|
- label: '生产交付交期',
|
|
|
|
|
- slot: 'produceDeliveryDeadline',
|
|
|
|
|
- headerSlot: 'headerProduceDeliveryDeadline',
|
|
|
|
|
- show: this.contractBookType == 1,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ this.contractBookType == 1
|
|
|
|
|
+ ? {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'produceDeliveryDeadline',
|
|
|
|
|
+ label: '生产交付交期',
|
|
|
|
|
+ slot: 'produceDeliveryDeadline',
|
|
|
|
|
+ headerSlot: 'headerProduceDeliveryDeadline',
|
|
|
|
|
+ show: this.contractBookType == 1,
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ }
|
|
|
|
|
+ : {
|
|
|
|
|
+ width: 1
|
|
|
|
|
+ },
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
width: 200,
|
|
width: 200,
|
|
@@ -1291,14 +1311,18 @@
|
|
|
// headerSlot: 'headerGuaranteePeriod',
|
|
// headerSlot: 'headerGuaranteePeriod',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- width: 200,
|
|
|
|
|
- prop: 'guaranteePeriodDeadline',
|
|
|
|
|
- label: '有效期截止日期',
|
|
|
|
|
- slot: 'guaranteePeriodDeadline',
|
|
|
|
|
- show: this.isGuaranteePeriod,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ this.isGuaranteePeriod
|
|
|
|
|
+ ? {
|
|
|
|
|
+ width: 200,
|
|
|
|
|
+ prop: 'guaranteePeriodDeadline',
|
|
|
|
|
+ label: '有效期截止日期',
|
|
|
|
|
+ slot: 'guaranteePeriodDeadline',
|
|
|
|
|
+ show: this.isGuaranteePeriod,
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ }
|
|
|
|
|
+ : {
|
|
|
|
|
+ width: 1
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 120,
|
|
width: 120,
|
|
|
prop: 'imgCode',
|
|
prop: 'imgCode',
|
|
@@ -1893,7 +1917,11 @@
|
|
|
this.$set(parasm, 'goodsPriceId', goodsPriceList.id);
|
|
this.$set(parasm, 'goodsPriceId', goodsPriceList.id);
|
|
|
this.$set(parasm, 'goodsPriceType', goodsPriceList.priceType);
|
|
this.$set(parasm, 'goodsPriceType', goodsPriceList.priceType);
|
|
|
this.$set(parasm, 'singlePrice', goodsPriceList.unitPrice);
|
|
this.$set(parasm, 'singlePrice', goodsPriceList.unitPrice);
|
|
|
- this.$set(parasm, 'notaxSinglePrice', goodsPriceList.excludeTaxPrice);
|
|
|
|
|
|
|
+ this.$set(
|
|
|
|
|
+ parasm,
|
|
|
|
|
+ 'notaxSinglePrice',
|
|
|
|
|
+ goodsPriceList.excludeTaxPrice
|
|
|
|
|
+ );
|
|
|
this.$set(parasm, 'taxRate', goodsPriceList.taxRate);
|
|
this.$set(parasm, 'taxRate', goodsPriceList.taxRate);
|
|
|
this.$set(parasm, 'discountSinglePrice', goodsPriceList.unitPrice);
|
|
this.$set(parasm, 'discountSinglePrice', goodsPriceList.unitPrice);
|
|
|
this.$set(parasm, 'totalCount', '');
|
|
this.$set(parasm, 'totalCount', '');
|