|
|
@@ -88,7 +88,7 @@
|
|
|
// import fileMain from '@/components/addDoc/index.vue';
|
|
|
import { contactQueryByCategoryIdsAPI } from '@/api/bpm/components/supplierManage/contact';
|
|
|
const dayjs = require('dayjs');
|
|
|
- import { lbjtList, levelList,pricingWayList } from '@/enum/dict.js';
|
|
|
+ import { lbjtList, levelList, pricingWayList } from '@/enum/dict.js';
|
|
|
import timeDialog from '@/components/timeDialog/index.vue';
|
|
|
|
|
|
export default {
|
|
|
@@ -158,6 +158,11 @@
|
|
|
quoteType: {
|
|
|
type: Number,
|
|
|
default: 1
|
|
|
+ },
|
|
|
+ //是否显示增重重量
|
|
|
+ isIncreaseTotalWeight: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
|
@@ -434,7 +439,19 @@
|
|
|
},
|
|
|
align: 'center'
|
|
|
},
|
|
|
-
|
|
|
+ {
|
|
|
+ width: 180,
|
|
|
+ prop: 'increaseTotalWeight',
|
|
|
+ label: '增重重量',
|
|
|
+ slot: 'increaseTotalWeight',
|
|
|
+ isNone: this.quoteType === 2 || !this.isIncreaseTotalWeight,
|
|
|
+ align: 'center',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.increaseTotalWeight) {
|
|
|
+ return row.increaseTotalWeight + ' ' + (row.weightUnit || '');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
width: 160,
|
|
|
prop: 'goodsPriceType',
|