|
@@ -79,7 +79,7 @@ export default {
|
|
type: Boolean,
|
|
type: Boolean,
|
|
default: false
|
|
default: false
|
|
},
|
|
},
|
|
- paramsData: {
|
|
|
|
|
|
+ paramsData: { // 参数
|
|
type: Object,
|
|
type: Object,
|
|
default: () => {
|
|
default: () => {
|
|
return {}
|
|
return {}
|
|
@@ -100,7 +100,7 @@ export default {
|
|
{ title: '结算价', dataIndex: 'cost', width: '8%', align: 'right', customRender: function (text) { return ((text || text == 0) && text.length ? _this.toThousands(text, 2) : '--') } },
|
|
{ title: '结算价', dataIndex: 'cost', width: '8%', align: 'right', customRender: function (text) { return ((text || text == 0) && text.length ? _this.toThousands(text, 2) : '--') } },
|
|
{ title: '最大库容', dataIndex: 'maxQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }
|
|
{ title: '最大库容', dataIndex: 'maxQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }
|
|
],
|
|
],
|
|
- loadData: [],
|
|
|
|
|
|
+ loadData: [], // 正确数据
|
|
nowUnColumns: [
|
|
nowUnColumns: [
|
|
{ title: '序号', dataIndex: 'no', width: '8%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '8%', align: 'center' },
|
|
{ title: '货位号', dataIndex: 'shelfPlaceCode', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '货位号', dataIndex: 'shelfPlaceCode', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -111,12 +111,13 @@ export default {
|
|
{ title: '最大库容', dataIndex: 'maxQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '最大库容', dataIndex: 'maxQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '错误原因', dataIndex: 'remark', width: '25%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
{ title: '错误原因', dataIndex: 'remark', width: '25%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
],
|
|
],
|
|
- unLoadData: [],
|
|
|
|
|
|
+ unLoadData: [], // 错误数据
|
|
loading: false,
|
|
loading: false,
|
|
disabled: false
|
|
disabled: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 获取数据
|
|
getData () {
|
|
getData () {
|
|
const paramsData = JSON.parse(JSON.stringify(this.paramsData))
|
|
const paramsData = JSON.parse(JSON.stringify(this.paramsData))
|
|
this.loadData = paramsData.rightList || []
|
|
this.loadData = paramsData.rightList || []
|
|
@@ -141,7 +142,7 @@ export default {
|
|
this.isShow = false
|
|
this.isShow = false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- // 导出
|
|
|
|
|
|
+ // 导出错误项
|
|
handleError () {
|
|
handleError () {
|
|
const _this = this
|
|
const _this = this
|
|
if (_this.paramsData.errorList.length < 1) {
|
|
if (_this.paramsData.errorList.length < 1) {
|