hujie123456 hace 5 años
padre
commit
62aa0fce32

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

@@ -438,16 +438,16 @@ const NewService = Form.create()(
         theorgCodeUrl = picArr.join(",");
       }
       if (this.props.userDetaile) {
-        if (this.state.totalAmount === "") {
-          message.warning("签单金额不能为空");
-          this.refs.signFirstPayment.focus();
-          return false;
-        }
-        if (this.state.firstAmount === "") {
-          message.warning("首付金额不能为空");
-          this.refs.signFirstPayment.focus();
-          return false;
-        }
+        // if (this.state.totalAmount === "") {
+        //   message.warning("签单金额不能为空");
+        //   this.refs.signFirstPayment.focus();
+        //   return false;
+        // }
+        // if (this.state.firstAmount === "") {
+        //   message.warning("首付金额不能为空");
+        //   this.refs.signFirstPayment.focus();
+        //   return false;
+        // }
         if (!theorgCodeUrl) {
           message.warning("图片过大,上传失败");
           this.refs.signFirstPayment.focus();
@@ -1717,7 +1717,7 @@ const NewService = Form.create()(
                                   }}
                                   style={{ width: "240px" }}
                                 />
-                                <span className="mandatory">*</span>
+                                {/* <span className="mandatory">*</span> */}
                               </FormItem>
                               <FormItem
                                 className="half-item"
@@ -1735,7 +1735,7 @@ const NewService = Form.create()(
                                   }}
                                   style={{ width: "240px" }}
                                 />
-                                <span className="mandatory">*</span>
+                                {/* <span className="mandatory">*</span> */}
                               </FormItem>
                               <FormItem
                                 className="half-item"

+ 35 - 1
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJsjl.js

@@ -5,6 +5,7 @@ import Rizhi from "./rizhi.js";
 import { getProcessStatusNew } from "@/tools.js";
 import { shenghePeo } from "@/tools.js";
 import $ from "jquery/src/ajax";
+import tongguo from "../../../../../../image/tongguo.png";
 // import ReactToPrint from "react-to-print";
 
 const formItemLayout = {
@@ -342,6 +343,39 @@ class ChangeDetail extends Component {
             this.refs = e;
           }}
         >
+          <div
+            style={{
+              borderRadius: "50%",
+              width: 300,
+              height: 300,
+              position: "absolute",
+              top: 230,
+              left: 525,
+              transform: "rotate(-5deg)",
+              zIndex: 1,
+              display:
+                (this.props.data.processState == 7 ||
+                  this.props.data.processState == 8) &&
+                this.props.data.status == 4
+                  ? "block"
+                  : "none"
+            }}
+          >
+            {/* <span
+              style={{
+                fontSize: 29,
+                position: "absolute",
+                left: "50%",
+                top: "50%",
+                transform: "translate(-50%,-50%)",
+                color: "red"
+              }}
+            >
+              通过
+            </span> */}
+            <img src={tongguo} style={{ width: "100%" }} />
+          </div>
+
           <h2 style={{ textAlign: "center", marginBottom: 10 }}>
             合同变更记录
           </h2>
@@ -640,7 +674,7 @@ class ChangeDetail extends Component {
                   width: 120,
                   float: "left",
                   position: "relative",
-                  bottom: "0px",
+                  bottom: "28px",
                   right: "-600px"
                 }}
                 onChange={val => {

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

@@ -5,6 +5,7 @@ import Rizhi from "./rizhi.js";
 import { getProcessStatusNew } from "@/tools.js";
 import {shenghePeo} from "@/tools.js"
 import $ from "jquery/src/ajax";
+import tongguo from "../../../../../../image/tongguo.png";
 // import ReactToPrint from "react-to-print";
 const FormItem = Form.Item;
 const { TextArea } = Input;
@@ -332,6 +333,39 @@ class ChangeDetail extends Component {
             this.refs = e;
           }}
         >
+          <div
+            style={{
+              borderRadius: "50%",
+              width: 300,
+              height: 300,
+              position: "absolute",
+              top: 230,
+              left: 525,
+              transform: "rotate(-5deg)",
+              zIndex: 1,
+              display:
+                (this.props.data.processState == 7 ||
+                  this.props.data.processState == 8) &&
+                this.props.data.status == 4
+                  ? "block"
+                  : "none"
+            }}
+          >
+            {/* <span
+              style={{
+                fontSize: 29,
+                position: "absolute",
+                left: "50%",
+                top: "50%",
+                transform: "translate(-50%,-50%)",
+                color: "red"
+              }}
+            >
+              通过
+            </span> */}
+            <img src={tongguo} style={{ width: "100%" }} />
+          </div>
+
           <h2 style={{ textAlign: "center", marginBottom: 10 }}>
             合同变更记录
           </h2>
@@ -444,8 +478,12 @@ class ChangeDetail extends Component {
           )} */}
         </div>
         {this.props.processState === this.props.data.processState ? (
-          <div style={{ display: this.props.data.isExamine == 0 ? "block" : "none" }}>
-            <div className="clearfix">
+          <div
+            style={{
+              display: this.props.data.isExamine == 0 ? "block" : "none"
+            }}
+          >
+            <div className="clearfix" style={{ marginBottom: "10px" }}>
               <FormItem
                 style={{ height: "auto" }}
                 labelCol={{ span: 4 }}

+ 35 - 1
js/component/manageCenter/order/orderNew/changeComponent/changeDetailJszj.js

@@ -5,6 +5,7 @@ import Rizhi from "./rizhi.js";
 import { getProcessStatusNew } from "@/tools.js";
 import { shenghePeo } from "@/tools.js";
 import $ from "jquery/src/ajax";
+import tongguo from "../../../../../../image/tongguo.png";
 // import ReactToPrint from "react-to-print";
 
 const formItemLayout = {
@@ -336,6 +337,39 @@ class ChangeDetail extends Component {
             this.refs = e;
           }}
         >
+          <div
+            style={{
+              borderRadius: "50%",
+              width: 300,
+              height: 300,
+              position: "absolute",
+              top: 230,
+              left: 525,
+              transform: "rotate(-5deg)",
+              zIndex: 1,
+              display:
+                (this.props.data.processState == 7 ||
+                  this.props.data.processState == 8) &&
+                this.props.data.status == 4
+                  ? "block"
+                  : "none"
+            }}
+          >
+            {/* <span
+              style={{
+                fontSize: 29,
+                position: "absolute",
+                left: "50%",
+                top: "50%",
+                transform: "translate(-50%,-50%)",
+                color: "red"
+              }}
+            >
+              通过
+            </span> */}
+            <img src={tongguo} style={{ width: "100%" }} />
+          </div>
+
           <h2 style={{ textAlign: "center", marginBottom: 10 }}>
             合同变更记录
           </h2>
@@ -534,7 +568,7 @@ class ChangeDetail extends Component {
         (this.props.data.status == 1 || this.props.data.status == 3) ? (
           // this.state.buttonStatus ? (
           <div>
-            <div>
+            <div style={{ marginBottom: 10 }}>
               <Form.Item
                 label="备注"
                 labelCol={{ span: 4 }}

+ 34 - 0
js/component/manageCenter/order/orderNew/changeComponent/changeDetailYxgly.js

@@ -5,6 +5,7 @@ import Rizhi from "./rizhi.js";
 import { getProcessStatusNew } from "../../../../tools.js";
 import { shenghePeo } from "@/tools.js";
 import $ from "jquery/src/ajax";
+import tongguo from "../../../../../../image/tongguo.png";
 // import ReactToPrint from "react-to-print";
 const FormItem = Form.Item;
 const { TextArea } = Input;
@@ -328,6 +329,39 @@ class ChangeDetail extends Component {
             this.refs = e;
           }}
         >
+          <div
+            style={{
+              borderRadius: "50%",
+              width: 300,
+              height: 300,
+              position: "absolute",
+              top: 230,
+              left: 525,
+              transform: "rotate(-5deg)",
+              zIndex: 1,
+              display:
+                (this.props.data.processState == 7 ||
+                  this.props.data.processState == 8) &&
+                this.props.data.status == 4
+                  ? "block"
+                  : "none"
+            }}
+          >
+            {/* <span
+              style={{
+                fontSize: 29,
+                position: "absolute",
+                left: "50%",
+                top: "50%",
+                transform: "translate(-50%,-50%)",
+                color: "red"
+              }}
+            >
+              通过
+            </span> */}
+            <img src={tongguo} style={{ width: "100%" }} />
+          </div>
+
           <h2 style={{ textAlign: "center", marginBottom: 10 }}>
             合同变更记录
           </h2>

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

@@ -317,6 +317,39 @@ class ChangeDetail extends Component {
             this.refs = e;
           }}
         >
+          <div
+            style={{
+              borderRadius: "50%",
+              width: 300,
+              height: 300,
+              position: "absolute",
+              top: 230,
+              left: 525,
+              transform: "rotate(-5deg)",
+              zIndex: 1,
+              display:
+                (this.props.data.processState == 7 ||
+                  this.props.data.processState == 8) &&
+                this.props.data.status == 4
+                  ? "block"
+                  : "none"
+            }}
+          >
+            {/* <span
+              style={{
+                fontSize: 29,
+                position: "absolute",
+                left: "50%",
+                top: "50%",
+                transform: "translate(-50%,-50%)",
+                color: "red"
+              }}
+            >
+              通过
+            </span> */}
+            <img src={tongguo} style={{ width: "100%" }} />
+          </div>
+
           <h2 style={{ textAlign: "center", marginBottom: 0 }}>合同变更记录</h2>
           {pageData.map((item, index) => {
             return <Itemlist key={index} pageData={item} />;
@@ -475,7 +508,6 @@ class ChangeDetail extends Component {
               回收退票
             </h3>
 
-
             <Table
               pagination={false}
               bordered
@@ -484,7 +516,11 @@ class ChangeDetail extends Component {
             />
           </div>
 
-          <div style={{ display: this.props.data.processState > 5 ? "block" : "none"}}>
+          <div
+            style={{
+              display: this.props.data.processState > 5 ? "block" : "none"
+            }}
+          >
             <h3 style={{ marginLeft: 20, fontWeight: 800, marginBottom: 10 }}>
               当前财务状态(财务填写)
             </h3>

+ 1 - 1
package.json

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