Преглед изворни кода

项目派单驳回按钮判断

dev01 пре 1 година
родитељ
комит
b9a9e7c889
2 измењених фајлова са 10 додато и 14 уклоњено
  1. 9 13
      js/component/manageCenter/project/project/projectAssignment.jsx
  2. 1 1
      package.json

+ 9 - 13
js/component/manageCenter/project/project/projectAssignment.jsx

@@ -234,19 +234,15 @@ const PaiDan = React.createClass({
           render: (text, record) => {
             return (
               <div>
-                {record.settlementAmount == 0 ? (
-                  <Button
-                    type="primary"
-                    style={{ margin: "0 10px" }}
-                    onClick={e => {
-                      e.stopPropagation(), this.examNo(record);
-                    }}
-                  >
-                    驳回
-                  </Button>
-                ) : (
-                  ""
-                )}
+                <Button
+                  type="primary"
+                  style={{ margin: "0 10px" }}
+                  onClick={e => {
+                    e.stopPropagation(), this.examNo(record);
+                  }}
+                >
+                  驳回
+                </Button>
               </div>
             );
           }

+ 1 - 1
package.json

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