| | |
| | | <el-tag v-if="row.status==='1'" size="small" type="danger">停用</el-tag> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="存货属性" |
| | | sortable="custom" |
| | |
| | | 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 { |
| | |
| | | |
| | | 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 => { |