新增只有admin账号可撤回功能

busUser
anthonywj 2 years ago
parent ba46f6e41a
commit 7c1225cdae

@ -1,6 +1,6 @@
{
"BASE_URL": "http://121.36.152.129:9150/SPMS_SERVER/",
"SERVER_IP": "http://121.36.152.129:9150/SPMS_SERVER/",
"BASE_URL": "http://122.112.160.36:9150/SPMS_SERVER/",
"SERVER_IP": "http://122.112.160.36:9150/SPMS_SERVER/",
"hosp_name": "云霄县中医院"
}

@ -500,7 +500,6 @@
},
passRegister() {
debugger
this.checkQuery.roles = this.check;
if (this.$isBlank(this.rowData.companyName)) {

@ -127,7 +127,7 @@
</el-button
>
<el-button
v-if="isSp ==110"
v-if="isSp ==110 && adminId == 1"
type="text"
size="small"
@click.native="generOrder(scope.row)"
@ -144,13 +144,13 @@
</el-button>
</div>
<!-- <el-button-->
<!-- v-if="isSp ==110"-->
<!-- type="text"-->
<!-- size="small"-->
<!-- @click.native="rollback(scope.row)"-->
<!-- >撤回-->
<!-- </el-button>-->
<el-button
v-if="isSp ==110"
type="text"
size="small"
@click.native="rollback(scope.row)"
>撤回
</el-button>
</template>
</el-table-column>
@ -423,6 +423,7 @@ export default {
"4": "采购计划转换",
},
isSp: store.getters.customerId,
adminId:store.getters.adminId,
detailFormVisible: false,
stockOrderEditVisible: false,
stockChangeVisible: false,

Loading…
Cancel
Save