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

busUser
anthonywj 2 years ago
parent ba46f6e41a
commit 7c1225cdae

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

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

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

Loading…
Cancel
Save