Browse Source

管理无法查看变更的bug修复

dev01 1 year ago
parent
commit
757915c47c

+ 2 - 1
js/component/manageCenter/order/orderNew/changeComponent/searchInput.js

@@ -77,11 +77,12 @@ class PrimarySelect extends Component {
 
   render() {
     const Datas = this.props.searchSelectData;
+    const newShiroList = window.adminData.shiroList.split(",") || [];
     return (
       <Select
         style={{ width: Datas.width, marginRight: 10 }}
         placeholder={Datas.placeholder}
-        disabled={this.props.shiroList == "yxgly" && Datas.placeholder == "审核状态"}
+        disabled={!newShiroList.includes("99") && this.props.shiroList == "yxgly" && Datas.placeholder == "审核状态"}
         value={this.state.value}
         onChange={e => {
           Datas.getValue(e);

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "afanti",
-  "version": "1.2.88",
+  "version": "1.2.89",
   "description": "",
   "main": "index.js",
   "scripts": {