|
@@ -940,11 +940,16 @@ const IntentionCustomer = Form.create()(
|
|
|
}
|
|
|
} else {
|
|
|
let thisdata = data.data;
|
|
|
- if (thisdata.approval == 2) {
|
|
|
- thisdata.approval = "特批通过";
|
|
|
- } else if (thisdata.approval == 3) {
|
|
|
- thisdata.approval = "特批驳回";
|
|
|
+ if (thisdata.approval == 0) {
|
|
|
+ thisdata.approval = 0;
|
|
|
+ } else {
|
|
|
+ thisdata.approval = 1;
|
|
|
}
|
|
|
+ // if (thisdata.approval == 2) {
|
|
|
+ // thisdata.approval = "特批通过";
|
|
|
+ // } else if (thisdata.approval == 3) {
|
|
|
+ // thisdata.approval = "特批驳回";
|
|
|
+ // }
|
|
|
this.setState({
|
|
|
id: thisdata.id,
|
|
|
orderUid: thisdata.uid,
|
|
@@ -995,7 +1000,7 @@ const IntentionCustomer = Form.create()(
|
|
|
initiateName: thisdata.initiateName, //驳回人
|
|
|
backDate: thisdata.backDate, //驳回时间
|
|
|
reason: thisdata.reason, //驳回原因
|
|
|
- approval: thisdata.approval.toString(), //特批状态
|
|
|
+ approval: thisdata.approval, //特批状态
|
|
|
organizationSearch: thisdata.orderDep,
|
|
|
//approval:thisdata.approval==0?thisdata.approval.toString():thisdata.approval,//特批状态
|
|
|
outsource: thisdata.outsource == 0 ? "否" : "是",
|
|
@@ -1407,7 +1412,6 @@ const IntentionCustomer = Form.create()(
|
|
|
},
|
|
|
//重新提交
|
|
|
examOk() {
|
|
|
- // if (this.state.flag) return;
|
|
|
let theorgCodeUrl = [];
|
|
|
if (this.state.orgCodeUrl.length) {
|
|
|
let picArr = [];
|
|
@@ -2063,18 +2067,15 @@ const IntentionCustomer = Form.create()(
|
|
|
<span>
|
|
|
{(["私有客户-", "签单客户-"][this.state.updatas.userType] || " ") +
|
|
|
(salesList[this.state.updatas.salesType] || "")}
|
|
|
- {
|
|
|
+ {/* {
|
|
|
this.state.updatas.other != null && this.state.updatas.other != "" &&
|
|
|
<Tooltip title={this.state.updatas.other}>
|
|
|
<span>
|
|
|
{"(" + this.state.updatas.other.toString().slice(0, 10) + (this.state.updatas.other.toString().length > 9 ? "...)" : ")")}
|
|
|
</span>
|
|
|
</Tooltip>
|
|
|
- }
|
|
|
+ } */}
|
|
|
</span>
|
|
|
-
|
|
|
- {/* <span>{(["私有客户-", "签单客户-"][this.state.updatas.userType] || " ") +
|
|
|
- (salesList[this.state.updatas.salesType] || "")}</span> */}
|
|
|
<UpdateSales
|
|
|
orderNo={this.state.orderNo}
|
|
|
updatas={this.state.updatas}
|
|
@@ -2083,8 +2084,8 @@ const IntentionCustomer = Form.create()(
|
|
|
let ups = this.state.updatas
|
|
|
ups.salesType = e.salesType
|
|
|
if (e.salesType == "3") {
|
|
|
- ups.channelId = e.channelid
|
|
|
- ups.other = e.channelname
|
|
|
+ ups.channelId = e.channelId
|
|
|
+ ups.other = e.other
|
|
|
} else if (e.salesType == "4" || e.salesType == "5") {
|
|
|
ups.other = e.other
|
|
|
}
|
|
@@ -2233,15 +2234,16 @@ const IntentionCustomer = Form.create()(
|
|
|
this.setState({ approval: e });
|
|
|
}}
|
|
|
>
|
|
|
- {/* {tepi.map(function(item) {
|
|
|
- return (
|
|
|
- <Select.Option key={item.value}>
|
|
|
- {item.key}
|
|
|
- </Select.Option>
|
|
|
- );
|
|
|
- })} */}
|
|
|
- <Select.Option key={0}>非特批</Select.Option>
|
|
|
- <Select.Option key={1}>特批</Select.Option>
|
|
|
+ {
|
|
|
+ [{ id: 0, name: "非特批" },
|
|
|
+ { id: 1, name: "特批" }].map(function (item) {
|
|
|
+ return (
|
|
|
+ <Select.Option key={item.id} value={item.id}>
|
|
|
+ {item.name}
|
|
|
+ </Select.Option>
|
|
|
+ );
|
|
|
+ })
|
|
|
+ }
|
|
|
</Select>
|
|
|
</FormItem>
|
|
|
<FormItem
|
|
@@ -2342,16 +2344,35 @@ const IntentionCustomer = Form.create()(
|
|
|
</Button>
|
|
|
</FormItem>
|
|
|
</div>
|
|
|
- <ContentUrl
|
|
|
+ {/* 服务内容 */}
|
|
|
+ {/* <ContentUrl
|
|
|
processStatus={this.state.processStatus}
|
|
|
domId={"rejectContent"}
|
|
|
contentUrl={this.state.contentUrl}
|
|
|
getContentUrl={this.getContentUrl}
|
|
|
imgId={"rejectImg1"}
|
|
|
- />
|
|
|
+ /> */}
|
|
|
<div className="clearfix">
|
|
|
<FormItem
|
|
|
labelCol={{ span: 4 }}
|
|
|
+ wrapperCol={{ span: 18 }}
|
|
|
+ label={
|
|
|
+ <span>
|
|
|
+ <strong style={{ color: "#f00" }}>*</strong>
|
|
|
+ 服务内容
|
|
|
+ </span>
|
|
|
+ }
|
|
|
+ >
|
|
|
+ <PicturesWall
|
|
|
+ domId={'rejectContent'}
|
|
|
+ fileList={this.getContentUrl}
|
|
|
+ pictureUrl={this.state.contentUrl}
|
|
|
+ />
|
|
|
+ <p><span style={{ color: "red", display: "inline-block" }}>(请将合同中的服务内容,截图上传!含服务年限,时间节点等;)</span>图片建议:要清晰。</p>
|
|
|
+ </FormItem>
|
|
|
+
|
|
|
+ <FormItem
|
|
|
+ labelCol={{ span: 4 }}
|
|
|
wrapperCol={{ span: 16 }}
|
|
|
label={
|
|
|
<span>
|