loulijun2021
2024-01-09 844adb3a80b39f9a78dae89a6a27f19e58a931df
src/views/materialManager/inventoryList.vue
@@ -204,7 +204,6 @@
                  <el-tag v-if="row.status==='1'" size="small" type="danger">停用</el-tag>
                </template>
              </el-table-column>
              <el-table-column
                label="存货属性"
                sortable="custom"
@@ -218,12 +217,12 @@
                  {{ row.isMadeRequest === '1' ? '委外' : '' }}
                </template>
              </el-table-column>
              <el-table-column
                label="数据来源"
                prop="data_sources"
                sortable="custom"
                width="110"
              />
              <!--              <el-table-column-->
              <!--                label="数据来源"-->
              <!--                prop="data_sources"-->
              <!--                sortable="custom"-->
              <!--                width="110"-->
              <!--              />-->
              <el-table-column
                label="创建人员"
                prop="lm_user"
@@ -576,7 +575,7 @@
  TMaterielData, TMaterielDelete
} from '@/api/ProductModel'
import arrayToTree from 'array-to-tree'
import { UnitSerch } from '@/api/GeneralBasicData'
import { UnitSerch, WareHouse } from '@/api/GeneralBasicData'
import { SaveSearchMateriel_Info } from '@/api/ErpSyncMes'
export default {
@@ -703,7 +702,11 @@
      const { data: res2 } = await UnitSerch({ tunittype: 'S' })
      this.unitcodeSingleArr = res2
      const { data: res3 } = await WareHouse()
      this.idwarehouseArr = res3
    },
    async getTMaterielClassTree() {
      const res = await TMaterielClassTree()
      res.data.forEach(i => {