|
@@ -143,7 +143,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="replacementShowOrganId">
|
|
|
+ <el-form-item prop="replacementShowOrganId" v-if="tenantId==1">
|
|
|
<el-select
|
|
|
v-model.trim="searchForm.replacementShowOrganId"
|
|
|
clearable
|
|
@@ -315,7 +315,7 @@
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column> -->
|
|
|
- <el-table-column align="center" label="是否库存预警">
|
|
|
+ <el-table-column align="center" label="是否库存预警" v-if="tenantId==1">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="!scope.row.complementGoodsIdList">
|
|
|
{{ scope.row.stockWarning ? "是" : "否" }}
|
|
@@ -347,7 +347,7 @@
|
|
|
}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" prop="stockCount" label="内部库存">
|
|
|
+ <el-table-column align="center" prop="stockCount" label="内部库存" v-if="tenantId==1">
|
|
|
<template slot-scope="scope">
|
|
|
<!-- 先判断是否是组合商品 -->
|
|
|
<span v-if="scope.row.complementGoodsIdList">
|
|
@@ -365,7 +365,7 @@
|
|
|
<span v-else>{{ scope.row.taxStockCount }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="center" prop="stockType" label="库存类型">
|
|
|
+ <el-table-column align="center" prop="stockType" label="库存类型" v-if="tenantId==1">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.stockType | stockTypeStatus }}
|
|
|
</template>
|
|
@@ -1249,10 +1249,12 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
selectGoodsList: [],
|
|
|
+ tenantId:''
|
|
|
};
|
|
|
},
|
|
|
async mounted() {
|
|
|
// 获取分部
|
|
|
+ this.tenantId = this.$helpers.tenantId
|
|
|
await this.$store.dispatch("setBranchs");
|
|
|
this.init();
|
|
|
},
|