|
@@ -18,7 +18,7 @@
|
|
|
justifyContent: type != '10' ? 'space-between' : 'flex-end'
|
|
justifyContent: type != '10' ? 'space-between' : 'flex-end'
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
- <el-button
|
|
|
|
|
|
|
+ <!-- <el-button
|
|
|
size="small"
|
|
size="small"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
@@ -26,7 +26,7 @@
|
|
|
@click="handlAdd"
|
|
@click="handlAdd"
|
|
|
v-if="type != '10'"
|
|
v-if="type != '10'"
|
|
|
>新增
|
|
>新增
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ </el-button> -->
|
|
|
<div class="pricebox">
|
|
<div class="pricebox">
|
|
|
<span class="amount">总金额{{ totalAmount }}元</span>
|
|
<span class="amount">总金额{{ totalAmount }}元</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -353,13 +353,13 @@
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- minWidth: 160,
|
|
|
|
|
- prop: 'productCode',
|
|
|
|
|
- label: '编码',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 160,
|
|
|
|
|
+ // prop: 'productCode',
|
|
|
|
|
+ // label: '编码',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
minWidth: 120,
|
|
minWidth: 120,
|
|
|
prop: 'productName',
|
|
prop: 'productName',
|
|
@@ -368,76 +368,76 @@
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 160,
|
|
|
|
|
- prop: 'batchNo',
|
|
|
|
|
- label: '批次号',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'batchNo',
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 160,
|
|
|
|
|
- prop: 'barcodes',
|
|
|
|
|
- label: '发货条码',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- slot: 'barcodes',
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 120,
|
|
|
|
|
- prop: 'materielDesignation',
|
|
|
|
|
- label: '物料代号',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 120,
|
|
|
|
|
- prop: 'clientCode',
|
|
|
|
|
- label: '客户代号',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 120,
|
|
|
|
|
- prop: 'engrave',
|
|
|
|
|
- label: '刻码',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 160,
|
|
|
|
|
- prop: 'packageNo',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- label: '包装编码',
|
|
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 100,
|
|
|
|
|
- prop: 'packingQuantity',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- label: '包装数量',
|
|
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 120,
|
|
|
|
|
- prop: 'packingUnit',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- label: '包装单位',
|
|
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 150,
|
|
|
|
|
- prop: 'totalCount',
|
|
|
|
|
- slot: 'totalCount',
|
|
|
|
|
- label: '退货数量',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 160,
|
|
|
|
|
+ // prop: 'batchNo',
|
|
|
|
|
+ // label: '批次号',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // slot: 'batchNo',
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 160,
|
|
|
|
|
+ // prop: 'barcodes',
|
|
|
|
|
+ // label: '发货条码',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // slot: 'barcodes',
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 120,
|
|
|
|
|
+ // prop: 'materielDesignation',
|
|
|
|
|
+ // label: '物料代号',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 120,
|
|
|
|
|
+ // prop: 'clientCode',
|
|
|
|
|
+ // label: '客户代号',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 120,
|
|
|
|
|
+ // prop: 'engrave',
|
|
|
|
|
+ // label: '刻码',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 160,
|
|
|
|
|
+ // prop: 'packageNo',
|
|
|
|
|
+ // align: 'center',
|
|
|
|
|
+ // label: '包装编码',
|
|
|
|
|
+ // showOverflowTooltip: true
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 100,
|
|
|
|
|
+ // prop: 'packingQuantity',
|
|
|
|
|
+ // align: 'center',
|
|
|
|
|
+ // label: '包装数量',
|
|
|
|
|
+ // showOverflowTooltip: true
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 120,
|
|
|
|
|
+ // prop: 'packingUnit',
|
|
|
|
|
+ // align: 'center',
|
|
|
|
|
+ // label: '包装单位',
|
|
|
|
|
+ // showOverflowTooltip: true
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 150,
|
|
|
|
|
+ // prop: 'totalCount',
|
|
|
|
|
+ // slot: 'totalCount',
|
|
|
|
|
+ // label: '退货数量',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
minWidth: 150,
|
|
minWidth: 150,
|
|
|
prop: 'measuringUnit',
|
|
prop: 'measuringUnit',
|
|
|
- label: '计量单位',
|
|
|
|
|
|
|
+ label: '数量',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
@@ -455,15 +455,15 @@
|
|
|
// : '';
|
|
// : '';
|
|
|
// }
|
|
// }
|
|
|
// },
|
|
// },
|
|
|
- {
|
|
|
|
|
- width: 160,
|
|
|
|
|
- prop: 'goodsPriceType',
|
|
|
|
|
- label: '价格类型',
|
|
|
|
|
- formatter: (row, column) => {
|
|
|
|
|
- return this.getDictValue('商品价格类型', row.goodsPriceType);
|
|
|
|
|
- },
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // width: 160,
|
|
|
|
|
+ // prop: 'goodsPriceType',
|
|
|
|
|
+ // label: '价格类型',
|
|
|
|
|
+ // formatter: (row, column) => {
|
|
|
|
|
+ // return this.getDictValue('商品价格类型', row.goodsPriceType);
|
|
|
|
|
+ // },
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
width: 100,
|
|
width: 100,
|
|
|
prop: 'singlePrice',
|
|
prop: 'singlePrice',
|
|
@@ -471,6 +471,13 @@
|
|
|
slot: 'singlePrice',
|
|
slot: 'singlePrice',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ prop: 'notaxSinglePrice',
|
|
|
|
|
+ label: '单价差异',
|
|
|
|
|
+ slot: 'notaxSinglePrice',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 160,
|
|
width: 160,
|
|
|
prop: 'taxRate',
|
|
prop: 'taxRate',
|
|
@@ -482,9 +489,9 @@
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
width: 180,
|
|
width: 180,
|
|
|
- prop: 'notaxSinglePrice',
|
|
|
|
|
|
|
+ prop: 'notaxSinglePrice1',
|
|
|
label: '不含税单价',
|
|
label: '不含税单价',
|
|
|
- // slot: 'notaxSinglePrice',
|
|
|
|
|
|
|
+ slot: 'notaxSinglePrice1',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -501,79 +508,79 @@
|
|
|
// showOverflowTooltip: true,
|
|
// showOverflowTooltip: true,
|
|
|
// align: 'center'
|
|
// align: 'center'
|
|
|
// },
|
|
// },
|
|
|
- {
|
|
|
|
|
- minWidth: 120,
|
|
|
|
|
- prop: 'receiveTotalWeight',
|
|
|
|
|
- label: '重量',
|
|
|
|
|
- // slot: 'singleWeight',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 100,
|
|
|
|
|
- prop: 'weightUnit',
|
|
|
|
|
- label: '重量单位',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- prop: 'provenance',
|
|
|
|
|
- label: '产地',
|
|
|
|
|
- slot: 'provenance',
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- minWidth: 200,
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- formatter: (row, column) => {
|
|
|
|
|
- return row.provenance && row.provenance.length
|
|
|
|
|
- ? row.provenance
|
|
|
|
|
- .map((item) => this.getDictValue('产地', item))
|
|
|
|
|
- .join(',')
|
|
|
|
|
- : '';
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 120,
|
|
|
|
|
+ // prop: 'receiveTotalWeight',
|
|
|
|
|
+ // label: '重量',
|
|
|
|
|
+ // // slot: 'singleWeight',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 100,
|
|
|
|
|
+ // prop: 'weightUnit',
|
|
|
|
|
+ // label: '重量单位',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // prop: 'provenance',
|
|
|
|
|
+ // label: '产地',
|
|
|
|
|
+ // slot: 'provenance',
|
|
|
|
|
+ // align: 'center',
|
|
|
|
|
+ // minWidth: 200,
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // formatter: (row, column) => {
|
|
|
|
|
+ // return row.provenance && row.provenance.length
|
|
|
|
|
+ // ? row.provenance
|
|
|
|
|
+ // .map((item) => this.getDictValue('产地', item))
|
|
|
|
|
+ // .join(',')
|
|
|
|
|
+ // : '';
|
|
|
|
|
+ // }
|
|
|
|
|
+ // },
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 100,
|
|
|
|
|
- prop: 'renturnType',
|
|
|
|
|
- label: '状态',
|
|
|
|
|
- showOverflowTooltip: true,
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 120,
|
|
|
|
|
- prop: 'goodsLevel',
|
|
|
|
|
- label: '物品级别',
|
|
|
|
|
- formatter: (_row, _column, cellValue) => {
|
|
|
|
|
- return levelList.find((item) => item.value == _row.goodsLevel)
|
|
|
|
|
- ?.label;
|
|
|
|
|
- },
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- minWidth: 200,
|
|
|
|
|
- prop: 'returnReason',
|
|
|
|
|
- label: '退货原因',
|
|
|
|
|
- slot: 'returnReason',
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 100,
|
|
|
|
|
+ // prop: 'renturnType',
|
|
|
|
|
+ // label: '状态',
|
|
|
|
|
+ // showOverflowTooltip: true,
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 120,
|
|
|
|
|
+ // prop: 'goodsLevel',
|
|
|
|
|
+ // label: '物品级别',
|
|
|
|
|
+ // formatter: (_row, _column, cellValue) => {
|
|
|
|
|
+ // return levelList.find((item) => item.value == _row.goodsLevel)
|
|
|
|
|
+ // ?.label;
|
|
|
|
|
+ // },
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // minWidth: 200,
|
|
|
|
|
+ // prop: 'returnReason',
|
|
|
|
|
+ // label: '退货原因',
|
|
|
|
|
+ // slot: 'returnReason',
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- width: 220,
|
|
|
|
|
- prop: 'remark',
|
|
|
|
|
- label: '备注',
|
|
|
|
|
- slot: 'remark',
|
|
|
|
|
- align: 'center'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- columnKey: 'action',
|
|
|
|
|
- label: '操作',
|
|
|
|
|
- width: 120,
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- resizable: false,
|
|
|
|
|
- slot: 'action',
|
|
|
|
|
- fixed: 'right',
|
|
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // width: 220,
|
|
|
|
|
+ // prop: 'remark',
|
|
|
|
|
+ // label: '备注',
|
|
|
|
|
+ // slot: 'remark',
|
|
|
|
|
+ // align: 'center'
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // columnKey: 'action',
|
|
|
|
|
+ // label: '操作',
|
|
|
|
|
+ // width: 120,
|
|
|
|
|
+ // align: 'center',
|
|
|
|
|
+ // resizable: false,
|
|
|
|
|
+ // slot: 'action',
|
|
|
|
|
+ // fixed: 'right',
|
|
|
|
|
+ // showOverflowTooltip: true
|
|
|
|
|
+ // }
|
|
|
]
|
|
]
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|