diff --git a/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue b/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue index 14d14d13..dc18a8a6 100644 --- a/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/receive/receiveApply.vue @@ -94,8 +94,21 @@ - - + + + + + + @@ -672,6 +670,13 @@ export default { this.open = true; this.title = "新建"; }, + selectable(row){ + if(row.taskStatus==46){ + return true + }else{ + return false + } + }, // 多选框选中数据 handleSelectionChange(selection) { this.selectionList = selection @@ -679,8 +684,8 @@ export default { this.ids = selection.map(item => item.dictId) this.single = selection.length != 1 this.multiple = !selection.length - console.log(this.single) - console.log(this.multiple) + // console.log(this.checkResultOne) + console.log(this.checkResultOne) }, handleSee(row, type) { this.dialogTitle = '查看' diff --git a/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryAccept.vue b/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryAccept.vue index c1788aaf..d5bd585f 100644 --- a/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryAccept.vue +++ b/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryAccept.vue @@ -90,8 +90,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAdd" - v-hasPermi="['system:role:add']" + @click="handleAdd" >新建 @@ -101,8 +100,7 @@ icon="el-icon-edit" size="mini" :disabled="single" - @click="handleUpdate" - v-hasPermi="['system:role:edit']" + @click="handleUpdate" >采购验收管理 @@ -112,8 +110,7 @@ icon="el-icon-delete" size="mini" :disabled="multiple" - @click="handleDelete" - v-hasPermi="['system:role:remove']" + @click="handleDelete" >删除 @@ -122,8 +119,7 @@ plain icon="el-icon-download" size="mini" - @click="handleExport" - v-hasPermi="['system:role:export']" + @click="handleExport" >导出 @@ -145,15 +141,13 @@ size="mini" type="text" icon="el-icon-edit" - @click="handleUpdate(scope.row)" - v-hasPermi="['system:role:edit']" + @click="handleUpdate(scope.row)" >验收 删除 diff --git a/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryList.vue b/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryList.vue index ca5c9d03..06862934 100644 --- a/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryList.vue +++ b/sgzb-ui/src/views/store/newBuy/newAccessory/newAccessoryList.vue @@ -24,8 +24,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAccept" - v-hasPermi="['store:labelType:add']" + @click="handleAccept" >新增 @@ -34,8 +33,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAdd" - v-hasPermi="['store:labelType:add']" + @click="handleAdd" >发布入库 @@ -44,8 +42,7 @@ plain icon="el-icon-download" size="mini" - @click="handleExport" - v-hasPermi="['store:labelType:export']" + @click="handleExport" >导出 @@ -74,30 +71,26 @@ size="mini" type="text" icon="el-icon-edit" - @click="handleView(scope.row)" - v-hasPermi="['store:labelType:edit']" + @click="handleView(scope.row)" >查看 diff --git a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesArrival.vue b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesArrival.vue index 9934e346..9d38416b 100644 --- a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesArrival.vue +++ b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesArrival.vue @@ -184,8 +184,7 @@ size="mini" type="danger" icon="el-icon-delete" - @click="handleDelete(scope.row)" - v-hasPermi="['system:role:remove']" + @click="handleDelete(scope.row)" >删除 diff --git a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesCode.vue b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesCode.vue index d138af76..c2bbede6 100644 --- a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesCode.vue +++ b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesCode.vue @@ -24,8 +24,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAdd" - v-hasPermi="['store:labelType:add']" + @click="handleAdd" >新增 --> diff --git a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue index 91110db2..c3b6d439 100644 --- a/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue +++ b/sgzb-ui/src/views/store/newBuy/newDevices/newDevicesWarehousing.vue @@ -255,7 +255,7 @@ - + @@ -490,7 +490,15 @@ export default { this.resetForm("queryForm"); this.handleQuery(); }, - + //是否可用勾选框 + selectable(row){ + console.log(row) + if(row.status=='0'){ + return true + }else{ + return false + } + }, // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map(item => item) @@ -529,6 +537,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList() }else{ this.$modal.msgSuccess("审批失败"); } @@ -553,6 +562,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList() }else{ this.$modal.msgSuccess("审批失败"); } @@ -580,6 +590,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList() }else{ this.$modal.msgSuccess("审批失败"); } @@ -605,6 +616,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList() }else{ this.$modal.msgSuccess("审批失败"); } diff --git a/sgzb-ui/src/views/store/shelves/shelvesList.vue b/sgzb-ui/src/views/store/shelves/shelvesList.vue index 2c003a5d..925f7bf5 100644 --- a/sgzb-ui/src/views/store/shelves/shelvesList.vue +++ b/sgzb-ui/src/views/store/shelves/shelvesList.vue @@ -22,8 +22,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAdd" - v-hasPermi="['system:dept:add']" + @click="handleAdd" >新增 @@ -62,16 +61,14 @@ size="mini" type="primary" icon="el-icon-edit" - @click="handleUpdate(scope.row)" - v-hasPermi="['system:dept:edit']" + @click="handleUpdate(scope.row)" >编辑 删除 diff --git a/sgzb-ui/src/views/store/tools/accessory.vue b/sgzb-ui/src/views/store/tools/accessory.vue index 1e834a31..44780ed4 100644 --- a/sgzb-ui/src/views/store/tools/accessory.vue +++ b/sgzb-ui/src/views/store/tools/accessory.vue @@ -13,7 +13,7 @@ 新增 + >新增 展开/折叠 @@ -41,7 +41,7 @@ diff --git a/sgzb-ui/src/views/store/tools/keeper.vue b/sgzb-ui/src/views/store/tools/keeper.vue index 2df82592..6cabc92e 100644 --- a/sgzb-ui/src/views/store/tools/keeper.vue +++ b/sgzb-ui/src/views/store/tools/keeper.vue @@ -59,8 +59,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleSave" - v-hasPermi="['system:user:add']" + @click="handleSave" >保存 diff --git a/sgzb-ui/src/views/store/tools/repair.vue b/sgzb-ui/src/views/store/tools/repair.vue index d3e048e8..19a318f6 100644 --- a/sgzb-ui/src/views/store/tools/repair.vue +++ b/sgzb-ui/src/views/store/tools/repair.vue @@ -59,8 +59,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleSave" - v-hasPermi="['system:user:add']" + @click="handleSave" >保存 diff --git a/sgzb-ui/src/views/store/tools/safeTools.vue b/sgzb-ui/src/views/store/tools/safeTools.vue index 9e70c02b..d94af197 100644 --- a/sgzb-ui/src/views/store/tools/safeTools.vue +++ b/sgzb-ui/src/views/store/tools/safeTools.vue @@ -24,8 +24,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAdd" - v-hasPermi="['store:labelType:add']" + @click="handleAdd" >新增 @@ -56,8 +55,7 @@ plain icon="el-icon-download" size="mini" - @click="handleExport" - v-hasPermi="['store:labelType:export']" + @click="handleExport" >导出 @@ -66,8 +64,7 @@ plain icon="el-icon-refresh" size="mini" - @click="handleRefreshCache" - v-hasPermi="['store:labelType:remove']" + @click="handleRefreshCache" >刷新缓存 @@ -94,15 +91,13 @@ size="mini" type="primary" icon="el-icon-edit" - @click="handleUpdate(scope.row)" - v-hasPermi="['store:labelType:edit']" + @click="handleUpdate(scope.row)" >编辑 删除 diff --git a/sgzb-ui/src/views/store/tools/toolsSupplier.vue b/sgzb-ui/src/views/store/tools/toolsSupplier.vue index 09f8adc8..e7c22a4d 100644 --- a/sgzb-ui/src/views/store/tools/toolsSupplier.vue +++ b/sgzb-ui/src/views/store/tools/toolsSupplier.vue @@ -24,8 +24,7 @@ plain icon="el-icon-plus" size="mini" - @click="handleAdd" - v-hasPermi="['store:labelType:add']" + @click="handleAdd" >新增 @@ -101,15 +100,13 @@ size="mini" type="primary" icon="el-icon-edit" - @click="handleUpdate(scope.row)" - v-hasPermi="['store:labelType:edit']" + @click="handleUpdate(scope.row)" >编辑 删除 diff --git a/sgzb-ui/src/views/store/warehousing/accessoryWarehousing.vue b/sgzb-ui/src/views/store/warehousing/accessoryWarehousing.vue index 26b118cb..309247a4 100644 --- a/sgzb-ui/src/views/store/warehousing/accessoryWarehousing.vue +++ b/sgzb-ui/src/views/store/warehousing/accessoryWarehousing.vue @@ -66,8 +66,7 @@ icon="el-icon-plus" size="mini" :disabled="single" - @click="handleAdd" - v-hasPermi="['system:dict:add']" + @click="handleAdd" >入库审核 @@ -139,8 +138,7 @@ size="mini" type="primary" icon="el-icon-edit" - @click="handleUpdate(scope.row)" - v-hasPermi="['system:dict:edit']" + @click="handleUpdate(scope.row)" >审核 @@ -233,8 +231,7 @@ plain icon="el-icon-plus" size="mini" - :disabled="multiple" - v-hasPermi="['system:dict:add']" + :disabled="multiple" >批量通过 @@ -243,8 +240,7 @@ plain icon="el-icon-plus" size="mini" - :disabled="multiple" - v-hasPermi="['system:dict:add']" + :disabled="multiple" >批量不通过 @@ -278,15 +274,13 @@ 通过 不通过 diff --git a/sgzb-ui/src/views/store/warehousing/devicesWarehousing.vue b/sgzb-ui/src/views/store/warehousing/devicesWarehousing.vue index 68bf9fcd..e8170699 100644 --- a/sgzb-ui/src/views/store/warehousing/devicesWarehousing.vue +++ b/sgzb-ui/src/views/store/warehousing/devicesWarehousing.vue @@ -112,9 +112,8 @@ - - - + + @@ -266,15 +263,13 @@ 通过 不通过 diff --git a/sgzb-ui/src/views/store/warehousing/repairWarehousing.vue b/sgzb-ui/src/views/store/warehousing/repairWarehousing.vue index 1c71232c..12fc080c 100644 --- a/sgzb-ui/src/views/store/warehousing/repairWarehousing.vue +++ b/sgzb-ui/src/views/store/warehousing/repairWarehousing.vue @@ -487,6 +487,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList(); }else{ this.$modal.msgSuccess("审批失败"); } @@ -507,6 +508,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList(); }else{ this.$modal.msgSuccess("审批失败"); } @@ -534,6 +536,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList(); }else{ this.$modal.msgSuccess("审批失败"); } @@ -554,6 +557,7 @@ export default { if(response.code==200){ this.$modal.msgSuccess("审批成功"); this.getDialogTable(); + this.getList(); }else{ this.$modal.msgSuccess("审批失败"); }