ソースを参照

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

dev01 1 年間 前
コミット
757915c47c
共有2 個のファイルを変更した3 個の追加2 個の削除を含む
  1. 2 1
      js/component/manageCenter/order/orderNew/changeComponent/searchInput.js
  2. 1 1
      package.json

+ 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": {