소스 검색

bug修复

chenrui 3 년 전
부모
커밋
5fa2825f3f

+ 1 - 0
src/views/financialManagement/inventoryConfirmation/list.vue

@@ -72,6 +72,7 @@ export default {
       spinning: false,
       tableHeight: 0,
       queryParam: { //  查询条件
+        deleteFlag: '0',
         state: 'WAIT_FINANCE_AUDIT',
         checkWarehouseNo: ''
       },

+ 3 - 3
src/views/inventoryManagement/inventoryCheck/list.vue

@@ -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' },

+ 1 - 0
src/views/inventoryManagement/makeInventory/list.vue

@@ -56,6 +56,7 @@ export default {
       tableHeight: 0,
       disabled: false, //  查询、重置按钮是否可操作
       queryParam: { //  查询条件
+        deleteFlag: '0',
         checkWarehouseNo: ''
       },
       columns: [

+ 1 - 0
src/views/inventoryManagement/supervisionDisk/list.vue

@@ -56,6 +56,7 @@ export default {
       tableHeight: 0,
       disabled: false, //  查询、重置按钮是否可操作
       queryParam: { //  查询条件
+        deleteFlag: '0',
         checkWarehouseNo: ''
       },
       columns: [