diff --git a/ruoyi-admin/src/main/resources/templates/system/property/propertychange/changeproperty.html b/ruoyi-admin/src/main/resources/templates/system/property/propertychange/changeproperty.html
index f7e2e78..7f4f0ef 100644
--- a/ruoyi-admin/src/main/resources/templates/system/property/propertychange/changeproperty.html
+++ b/ruoyi-admin/src/main/resources/templates/system/property/propertychange/changeproperty.html
@@ -93,7 +93,7 @@
align: 'center',
formatter: function(value, row, index) {
var actions = [];
- if (row.destoryState || row.destoryState===null){
+ if (row.destoryState===null){
actions.push('变更 ');
actions.push('报废');
}else{
diff --git a/ruoyi-admin/src/main/resources/templates/system/property/propertydestory/destoryproperty.html b/ruoyi-admin/src/main/resources/templates/system/property/propertydestory/destoryproperty.html
index 67f09de..d4c96e7 100644
--- a/ruoyi-admin/src/main/resources/templates/system/property/propertydestory/destoryproperty.html
+++ b/ruoyi-admin/src/main/resources/templates/system/property/propertydestory/destoryproperty.html
@@ -47,7 +47,7 @@
var destoryFlag = [[${@permission.hasPermi('system:destoryproperty:destory')}]];
var removeFlag = [[${@permission.hasPermi('system:destoryproperty:remove')}]];
var propertyTypeDatas = [[${@dict.getType('sys_sm_property')}]];
- var destoryTypeDatas = [[${@dict.getType('sys_baofei_type')}]];
+ var destoryTypeDatas = [[${@dict.getType('sys_property_destory')}]];
var prefix = ctx + "system/propertyDestory";
$(function() {
@@ -82,8 +82,8 @@
title: '资产SN码'
},
{
- field: 'destoryType',
- title: '报废状态',
+ field: 'destoryState',
+ title: '销毁状态',
formatter: function(value, row, index) {
return $.table.selectDictLabel(destoryTypeDatas, value);
}