|
@@ -1027,25 +1027,25 @@ class OrderEidt extends PureComponent {
|
|
|
ifSubmit: true
|
|
|
});
|
|
|
|
|
|
- if (this.state.underPaymentModeName == "在线支付") {
|
|
|
- // this.saveTempHandle(true);
|
|
|
- this.setState({ isSubBut: true });
|
|
|
+ // if (this.state.underPaymentModeName == "在线支付") {
|
|
|
+ // // this.saveTempHandle(true);
|
|
|
+ // this.setState({ isSubBut: true });
|
|
|
|
|
|
- dispatch({
|
|
|
- type: "orderEdit/saveTempOrder",
|
|
|
- payload: postData
|
|
|
- })
|
|
|
- .finally(() => {
|
|
|
- this.setState({
|
|
|
- loading: false
|
|
|
- });
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
+ // dispatch({
|
|
|
+ // type: "orderEdit/saveTempOrder",
|
|
|
+ // payload: postData
|
|
|
+ // })
|
|
|
+ // .finally(() => {
|
|
|
+ // this.setState({
|
|
|
+ // loading: false
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
- if (orderCredit && orderCredit.validMessage) {
|
|
|
- message.info(orderCredit.validMessage);
|
|
|
- }
|
|
|
+ // if (orderCredit && orderCredit.validMessage) {
|
|
|
+ // message.info(orderCredit.validMessage);
|
|
|
+ // }
|
|
|
// totalDealAmount: 0, // 订单成交金额
|
|
|
// totalAmount: 0, // 商品总金额(订单原金额)
|
|
|
// if (parseFloat(orderCredit) + parseFloat(postData.totalDealAmount) < parseFloat(postData.totalAmount)) {
|
|
@@ -1149,9 +1149,9 @@ class OrderEidt extends PureComponent {
|
|
|
if (!this.state.supplierId) {
|
|
|
msg += "供应商不能为空!";
|
|
|
}
|
|
|
- if (!this.state.underPaymentModeId) {
|
|
|
- msg += "请输入支付方式!";
|
|
|
- }
|
|
|
+ // if (!this.state.underPaymentModeId) {
|
|
|
+ // msg += "请输入支付方式!";
|
|
|
+ // }
|
|
|
// if (!postData.transportModeId) {
|
|
|
// msg += "运输方式不能为空!";
|
|
|
// }
|