完善问题

This commit is contained in:
2024-08-05 14:26:27 +08:00
parent 86d69689ec
commit 6eeb0e5e63
3 changed files with 4 additions and 22 deletions

View File

@@ -799,6 +799,7 @@
this.formobj.purchaseBillDetailList.push({
"sid": value[i].sid != null ? value[i].sid : '',
"goodsSkuSid": value[i].sid != null ? value[i].sid : '',
"goodsSkuCode": value[i].goodsSkuCode != null ? value[i].goodsSkuCode : '',
"goodsSkuTitle": value[i].goodsName != null ? value[i].goodsName : '',
"goodsSN": value[i].barCode != null ? value[i].barCode : '',

View File

@@ -142,12 +142,6 @@
<el-input v-model="form.pageName" />
</td>
</tr>
<tr v-show="editMenuType=='2'">
<td>按钮Key</td>
<td>
<el-input v-model="form.btnKey" style="width:300px" />
</td>
</tr>
<tr v-show="editMenuType=='2'">
<td>权限标识</td>
<td>
@@ -264,12 +258,6 @@
<el-input v-model="form.pageName" style="width:300px" />
</td>
</tr>
<tr v-show="addMenuType=='2'">
<td>按钮Key</td>
<td>
<el-input v-model="form.btnKey" style="width:300px" />
</td>
</tr>
<tr v-show="addMenuType=='2'">
<td>权限标识</td>
<td>
@@ -348,7 +336,6 @@
remarks: '',
sortNo: 0,
cid: '',
btnKey: "",
sourceName: 'wms',
phoneFunction: "0",
sourceSid: 'd936f1ba-03c3-11ec-bf08-48452053aa44'
@@ -427,16 +414,10 @@
menuTypeChangeRadio(val) {
console.log('menuTypeChangeRadio', val)
if (val != '2') {
this.form.btnKey = ""
}
this.form.menuType = val
},
menuTypeChangeRadio2(val) {
console.log('menuTypeChangeRadio2', val)
if (val != '2') {
this.form.btnKey = ""
}
this.form.menuType = val
},
changeRadio(val) {
@@ -553,9 +534,9 @@
if (this.form.menuType == '2') {
if (this.form.btnKey == '') {
if (this.form.cid == '') {
this.$message({
message: '按钮Key不能为空',
message: '权限标识不能为空',
type: 'warning'
})
return

View File

@@ -434,7 +434,7 @@
this.roleForm.roleSid = []
this.roleDialog = true
this.roleForm.sid = row.sid
this.roleForm.userSid = row.sid
this.roleForm.userSid = window.sessionStorage.getItem('userSid')
this.roleForm.orgsid = window.sessionStorage.getItem('orgSid')
setRole(this.roleForm).then(res => {
this.roleList = res.data