瀏覽代碼

操作日志时间显示

dev01 2 年之前
父節點
當前提交
c09aea9c7b

+ 12 - 11
js/component/manageCenter/order/orderNew/addService.jsx

@@ -7180,13 +7180,17 @@ const NewService = Form.create()(
                           {this.state.processStatus == 0 &&
                             <div
                               className="addSave"
-                              style={{ marginTop: "15px" }}
+                              style={{
+                                marginTop: "15px",
+                                display: "flex",
+                                justifyContent: "center",
+                              }}
                             >
                               <Button
                                 className="cancel"
                                 type="primary"
                                 onClick={this.handleCancels}
-                                style={{ marginLeft: "200px" }}
+                                style={{ margin: "0 25px" }}
                                 htmlType="submit"
                                 loading={this.state.loading}
                               >
@@ -7196,7 +7200,7 @@ const NewService = Form.create()(
                                 className="cancel"
                                 type="primary"
                                 onClick={this.handleCancelq}
-                                style={{ marginLeft: "50px" }}
+                                style={{ margin: "0 25px" }}
                                 htmlType="submit"
                                 loading={this.state.loading}
                               >
@@ -7214,7 +7218,7 @@ const NewService = Form.create()(
                                   className="cancel"
                                   type="danger"
                                   // onClick={this.examOks}
-                                  style={{ marginLeft: "50px" }}
+                                  style={{ margin: "0 25px" }}
                                   loading={this.state.loading}
                                 >
                                   订单作废
@@ -7224,7 +7228,7 @@ const NewService = Form.create()(
                                 className="cancel"
                                 type="ghost"
                                 onClick={this.handleCancelclose}
-                                style={{ marginLeft: "50px" }}
+                                style={{ margin: "0 25px" }}
                               >
                                 取消
                               </Button>
@@ -8009,6 +8013,8 @@ const NewService = Form.create()(
                                   item.status = "驳回";
                                 } else if (item.status == 4) {
                                   item.status = "完成";
+                                } else if (item.status == 5) {
+                                  item.status = "撤销";
                                 }
                                 return (
                                   <li
@@ -8020,12 +8026,7 @@ const NewService = Form.create()(
                                       marginBottom: "10px",
                                     }}
                                   >
-                                    {item.aname +
-                                      ":" +
-                                      "(" +
-                                      item.status +
-                                      ")" +
-                                      item.remarks}
+                                    {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                                   </li>
                                 );
                               })}

+ 4 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwjl.js

@@ -946,7 +946,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:changeColor(this.props.data.firstAmount),
+        dataA: changeColor(this.props.data.firstAmount),
       },
       {
         labelA: "变更原因",
@@ -1213,6 +1213,8 @@ class ChangeDetail extends Component {
                 item.status = "驳回";
               } else if (item.status == 4) {
                 item.status = "完成";
+              } else if (item.status == 5) {
+                item.status = "撤销";
               }
               return (
                 <li
@@ -1224,7 +1226,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 4 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwzj.js

@@ -378,7 +378,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:changeColor(this.props.data.firstAmount),
+        dataA: changeColor(this.props.data.firstAmount),
       },
       {
         labelA: "变更原因",
@@ -650,6 +650,8 @@ class ChangeDetail extends Component {
                 item.status = "驳回";
               } else if (item.status == 4) {
                 item.status = "完成";
+              } else if (item.status == 5) {
+                item.status = "撤销";
               }
               return (
                 <li
@@ -661,7 +663,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 4 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailCwzy.js

@@ -1000,7 +1000,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:changeColor(this.props.data.firstAmount),
+        dataA: changeColor(this.props.data.firstAmount),
       },
       {
         labelA: "变更原因",
@@ -1268,6 +1268,8 @@ class ChangeDetail extends Component {
                 item.status = "驳回";
               } else if (item.status == 4) {
                 item.status = "完成";
+              } else if (item.status == 5) {
+                item.status = "撤销";
               }
               return (
                 <li
@@ -1279,7 +1281,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 4 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJsjl.js

@@ -272,7 +272,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:changeColor(this.props.data.firstAmount),
+        dataA: changeColor(this.props.data.firstAmount),
       },
       {
         labelA: "变更原因",
@@ -514,6 +514,8 @@ class ChangeDetail extends Component {
                 item.status = "驳回";
               } else if (item.status == 4) {
                 item.status = "完成";
+              } else if (item.status == 5) {
+                item.status = "撤销";
               }
               return (
                 <li
@@ -525,7 +527,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 4 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJsy.js

@@ -257,7 +257,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:"***",
+        dataA: "***",
       },
       {
         labelA: "变更原因",
@@ -514,6 +514,8 @@ class ChangeDetail extends Component {
                 item.status = "驳回";
               } else if (item.status == 4) {
                 item.status = "完成";
+              } else if (item.status == 5) {
+                item.status = "撤销";
               }
               return (
                 <li
@@ -525,7 +527,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 4 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJszj.js

@@ -275,7 +275,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:changeColor(this.props.data.firstAmount),
+        dataA: changeColor(this.props.data.firstAmount),
       },
       {
         labelA: "变更原因",
@@ -528,6 +528,8 @@ class ChangeDetail extends Component {
                 item.status = "驳回";
               } else if (item.status == 4) {
                 item.status = "完成";
+              } else if (item.status == 5) {
+                item.status = "撤销";
               }
               return (
                 <li
@@ -539,7 +541,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 4 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailYxgly.js

@@ -327,7 +327,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:changeColor(this.props.data.firstAmount),
+        dataA: changeColor(this.props.data.firstAmount),
       },
       {
         labelA: "变更原因",
@@ -563,6 +563,8 @@ class ChangeDetail extends Component {
                 item.status = "驳回";
               } else if (item.status == 4) {
                 item.status = "完成";
+              } else if (item.status == 5) {
+                item.status = "撤销";
               }
               return (
                 <li
@@ -574,7 +576,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 2 - 2
js/component/manageCenter/order/orderNew/changeComponent/changeDetailYxy.js

@@ -361,7 +361,7 @@ class ChangeDetail extends Component {
       {
         labelA: "首付款(万元)",
         formItemLayoutA: formItemLayout,
-        dataA:changeColor(this.props.data.firstAmount),
+        dataA: changeColor(this.props.data.firstAmount),
       },
       {
         labelA: "变更原因",
@@ -577,7 +577,7 @@ class ChangeDetail extends Component {
                     marginBottom: "10px",
                   }}
                 >
-                  {item.aname + ":" + "(" + item.status + ")" + item.remarks}
+                  {item.aname + ":" + "【" + item.status + "】" + item.remarks + "(" + item.createTimes + ")"}
                 </li>
               );
             })}

+ 1 - 1
package.json

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