haoyahui
2023-11-22 9834dbff448908d2008d8c52a2544aad00c099b1
admin-web/src/views/stock/inventorycount/inventorytask/index.vue
@@ -21,6 +21,7 @@
            @close="inventorySetting.show = false"
            @search="search"
          />
          <detail v-if="inventoryDetail.show" :setting="inventoryDetail" @close="inventoryDetail.show = false" @search="search" />
        </el-card>
      </el-container>
    </el-container>
@@ -38,6 +39,7 @@
import SettingIplatform from '@/utils/settingIplatform';
import edit from './edit';
import inventory from './inventory';
import detail from './detail';
import * as finsystenant from '@/api/baseSetting/finsystenant';
import myImport from '@/views/components/myImport';
import { getBaseUrl } from '@/utils/base';
@@ -48,7 +50,7 @@
export default {
  name: 'index',
  components: { MyButton, MyTableV2, edit, myImport, inventory },
  components: { MyButton, MyTableV2, edit, myImport, inventory,detail },
  data() {
    return {
      // 搜索框
@@ -122,6 +124,12 @@
        show: false,
      },
      inventorySetting: {
        title: '',
        id: '',
        orgId: '',
        show: false,
      },
      inventoryDetail:{
        title: '',
        id: '',
        orgId: '',
@@ -338,14 +346,14 @@
    showInventory(row) {
      this.inventorySetting.id = row.id;
      this.inventorySetting.info = JSON.stringify(row);
      this.inventorySetting.title = '盘点';
      this.inventorySetting.title = '盘点任务';
      this.inventorySetting.show = true;
    },
    showInventoryDetail(row) {
      this.inventorySetting.id = row.id;
      this.inventorySetting.info = JSON.stringify(row);
      this.inventorySetting.title = '盘点';
      this.inventorySetting.show = true;
      this.inventoryDetail.id = row.id;
      this.inventoryDetail.info = JSON.stringify(row);
      this.inventoryDetail.title = '盘点详情';
      this.inventoryDetail.show = true;
    },
    // 查询table列表
    search(pageNum) {