Commit be1f37af authored by 黄奎's avatar 黄奎

页面修改

parent 3f5481ce
......@@ -152,10 +152,11 @@
</div>
</td>
<td style="border:none">
<template>
<template v-if="AuthorityObj.isShowEdit">
<template v-if="!isEditOrder">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="editOrder(item)" v-if="AuthorityObj.isShowEdit" />
@click="editOrder(item)" />
</template>
</template>
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;">
<q-list>
......@@ -239,7 +240,6 @@
</q-item>
</q-list>
</q-btn-dropdown>
</template>
</td>
</tr>
<tr>
......@@ -491,7 +491,8 @@
<tr>
<td :rowspan="3" style="text-align: left">
<div style="font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold"
@click="goOrderdetails(item)">{{item.OrderId}}</div>
@click="goOrderdetails(item)">
{{item.OrderId}}</div>
<div>{{item.EnterName}}</div>
<div style="margin-top: 10px">{{item.CreateTime}}</div>
<div style="margin-top: 30px;margin-bottom: 10px">班级</div>
......@@ -845,7 +846,7 @@
chooseStudent: "", //收款单据,单选学生
isShowReward: false, // 是否可以修改额外金额
isEditOrder: false, //是否有【总经理】修改订单但权限
newModityOrderType:0,
newModityOrderType: 0,
}
},
created() {
......@@ -869,9 +870,19 @@
watch: {
modityOrderType: {
handler(newValue) {
if(this.isEditOrder){
this.newModityOrderType=3;
}else{
var localStorageData = window.localStorage["loginUserInfo"];
let ActionMenuList = JSON.parse(localStorageData).data.ActionMenuList
var isNewEditOrder = false;
if (ActionMenuList && ActionMenuList.length > 0) {
ActionMenuList.forEach(x => {
if (x.FunctionCode == 'Edit_Order') {
isNewEditOrder = true
}
})
}
if (isNewEditOrder) {
this.newModityOrderType = 3;
} else {
this.newModityOrderType = newValue;
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment