|
@@ -42,7 +42,7 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
- <template slot="memberBalance">
|
|
|
+ <template slot="memberBalance" v-if="sysitemType != 10">
|
|
|
<el-input-number v-model="form.memberBalance" disabled
|
|
|
placeholder="请输入" size="small" :controls="false">
|
|
|
</el-input-number>
|
|
@@ -154,6 +154,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ // 当前登陆用户的状态
|
|
|
+ sysitemType:null,
|
|
|
form: {},
|
|
|
switchDialog:false,
|
|
|
itemsForm: {},
|
|
@@ -408,10 +410,16 @@ export default {
|
|
|
billDetail,reportDialog
|
|
|
},
|
|
|
created() {
|
|
|
+ // 获取状态
|
|
|
+ this.sysitemType = localStorage.getItem('sysitemType')
|
|
|
+ if (this.sysitemType == 10) {
|
|
|
+ this.findObject(this.option.column, "memberBalance").display = false
|
|
|
+ }
|
|
|
+
|
|
|
isProcurement({param:"whether.display.member"}).then(res=>{
|
|
|
this.isProcurementfalse = res.data.data
|
|
|
if (this.isProcurementfalse == 1) {
|
|
|
- this.findObject(this.itemsOption.column, "memberBalance").hide = falses
|
|
|
+ this.findObject(this.itemsOption.column, "memberBalance").hide = false
|
|
|
}
|
|
|
})
|
|
|
|