|
@@ -4,9 +4,8 @@
|
|
|
ref="table"
|
|
ref="table"
|
|
|
:needPage="false"
|
|
:needPage="false"
|
|
|
:columns="columns"
|
|
:columns="columns"
|
|
|
- :toolkit="[]"
|
|
|
|
|
:datasource="form.datasource"
|
|
:datasource="form.datasource"
|
|
|
- cache-key="systemRoleTable17"
|
|
|
|
|
|
|
+ :cache-key="cacheKeyUrl"
|
|
|
class="time-form"
|
|
class="time-form"
|
|
|
>
|
|
>
|
|
|
<template v-slot:technicalDrawings="scope">
|
|
<template v-slot:technicalDrawings="scope">
|
|
@@ -90,9 +89,10 @@
|
|
|
const dayjs = require('dayjs');
|
|
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';
|
|
import timeDialog from '@/components/timeDialog/index.vue';
|
|
|
|
|
+ import tableColumnsMixin from '@/mixins/tableColumnsMixin.js';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
- mixins: [dictMixins],
|
|
|
|
|
|
|
+ mixins: [dictMixins, tableColumnsMixin],
|
|
|
components: {
|
|
components: {
|
|
|
// fileMain,
|
|
// fileMain,
|
|
|
timeDialog
|
|
timeDialog
|
|
@@ -167,6 +167,7 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ cacheKeyUrl: 'sales-order-bizcomponent-InventoryTableDetails',
|
|
|
allPrice: 0,
|
|
allPrice: 0,
|
|
|
supplierObj: [],
|
|
supplierObj: [],
|
|
|
form: {
|
|
form: {
|
|
@@ -195,7 +196,7 @@
|
|
|
isNone: !this.isOrderNo
|
|
isNone: !this.isOrderNo
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 280,
|
|
|
|
|
|
|
+ width: 240,
|
|
|
prop: 'productName',
|
|
prop: 'productName',
|
|
|
label: '名称',
|
|
label: '名称',
|
|
|
slot: 'productName',
|
|
slot: 'productName',
|
|
@@ -203,14 +204,14 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 120,
|
|
|
|
|
|
|
+ width: 210,
|
|
|
prop: 'productCode',
|
|
prop: 'productCode',
|
|
|
label: '编码',
|
|
label: '编码',
|
|
|
slot: 'productCode',
|
|
slot: 'productCode',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 200,
|
|
|
|
|
|
|
+ width: 180,
|
|
|
prop: 'productCategoryName',
|
|
prop: 'productCategoryName',
|
|
|
label: '类型',
|
|
label: '类型',
|
|
|
slot: 'productCategoryName',
|
|
slot: 'productCategoryName',
|
|
@@ -384,7 +385,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 180,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
prop: 'saleCount',
|
|
prop: 'saleCount',
|
|
|
label: '数量',
|
|
label: '数量',
|
|
|
slot: 'saleCount',
|
|
slot: 'saleCount',
|
|
@@ -400,7 +401,7 @@
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 150,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
prop: 'totalCount',
|
|
prop: 'totalCount',
|
|
|
label: '计量数量',
|
|
label: '计量数量',
|
|
|
slot: 'totalCount',
|
|
slot: 'totalCount',
|
|
@@ -415,7 +416,7 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
- width: 140,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
prop: 'singleWeight',
|
|
prop: 'singleWeight',
|
|
|
label: '单重',
|
|
label: '单重',
|
|
|
slot: 'singleWeight',
|
|
slot: 'singleWeight',
|
|
@@ -428,7 +429,7 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 140,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
prop: 'totalWeight',
|
|
prop: 'totalWeight',
|
|
|
label: '总重',
|
|
label: '总重',
|
|
|
slot: 'totalWeight',
|
|
slot: 'totalWeight',
|
|
@@ -440,7 +441,7 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 180,
|
|
|
|
|
|
|
+ width: 120,
|
|
|
prop: 'increaseTotalWeight',
|
|
prop: 'increaseTotalWeight',
|
|
|
label: '增重重量',
|
|
label: '增重重量',
|
|
|
slot: 'increaseTotalWeight',
|
|
slot: 'increaseTotalWeight',
|
|
@@ -463,7 +464,7 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 200,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
prop: 'singlePrice',
|
|
prop: 'singlePrice',
|
|
|
label: '单价',
|
|
label: '单价',
|
|
|
slot: 'singlePrice',
|
|
slot: 'singlePrice',
|
|
@@ -473,7 +474,7 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
- width: 160,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
prop: 'taxRate',
|
|
prop: 'taxRate',
|
|
|
label: '税率',
|
|
label: '税率',
|
|
|
isNone: this.quoteType === 2,
|
|
isNone: this.quoteType === 2,
|
|
@@ -491,7 +492,7 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 160,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
prop: 'discountSinglePrice',
|
|
prop: 'discountSinglePrice',
|
|
|
label: '折让单价',
|
|
label: '折让单价',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
@@ -510,7 +511,7 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 160,
|
|
|
|
|
|
|
+ width: 150,
|
|
|
prop: 'discountTotalPrice',
|
|
prop: 'discountTotalPrice',
|
|
|
label: '折让合计',
|
|
label: '折让合计',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
@@ -660,7 +661,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- width: 200,
|
|
|
|
|
|
|
+ width: 160,
|
|
|
prop: 'guaranteePeriodDeadline',
|
|
prop: 'guaranteePeriodDeadline',
|
|
|
label: '有效期截止日期',
|
|
label: '有效期截止日期',
|
|
|
slot: 'guaranteePeriodDeadline',
|
|
slot: 'guaranteePeriodDeadline',
|