|
@@ -136,6 +136,7 @@ export default {
|
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
|
{ title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: '26%', align: 'center' },
|
|
|
{ title: '产品名称', dataIndex: 'productEntity.name', width: '29%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '出库仓库', dataIndex: 'warehouseName', width: '8%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '待下推数量', dataIndex: 'surplusQty', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '本次下推数', scopedSlots: { customRender: 'salesNums' }, width: '11%', align: 'center' },
|
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -357,7 +358,7 @@ export default {
|
|
|
this.isInster = true
|
|
|
this.loading = true
|
|
|
this.spinning = true
|
|
|
- const params = Object.assign({ dispatchBillSn: this.$route.params.dispatchBillSn }, data)
|
|
|
+ const params = Object.assign({ dispatchBillSn: this.productForm.dispatchBillSn }, data)
|
|
|
pushDown(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.handleBack()
|