|
@@ -101,14 +101,14 @@ export default {
|
|
|
spinning: false,
|
|
|
tableHeight: 0,
|
|
|
queryParam: { // 查询条件
|
|
|
- deleteFlag: this.$route.params.type == '0' ? '' : '1',
|
|
|
+ deleteFlag: this.$route.params.type,
|
|
|
checkWarehouseNo: '',
|
|
|
checkState: undefined,
|
|
|
checkSuperviseState: undefined
|
|
|
},
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
|
tabPaneData: [
|
|
|
- { name: '正常', type: '' },
|
|
|
+ { name: '正常', type: '0' },
|
|
|
{ name: '已作废', type: '1' }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
@@ -136,7 +136,7 @@ export default {
|
|
|
computed: {
|
|
|
columns () {
|
|
|
let arr = []
|
|
|
- if (this.queryParam.deleteFlag == '') { // 正常
|
|
|
+ if (this.queryParam.deleteFlag == '0') { // 正常
|
|
|
arr = [
|
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
|
{ title: '盘点单号', dataIndex: 'checkWarehouseNo', width: '14%', align: 'center' },
|