9.28 修改标的类型123
This commit is contained in:
@ -144,6 +144,7 @@ const entrust: React.FC<{}> = () => {
|
|||||||
//获取字典
|
//获取字典
|
||||||
const getDict: any = getDicData();
|
const getDict: any = getDicData();
|
||||||
const dictData = JSON.parse(getDict);
|
const dictData = JSON.parse(getDict);
|
||||||
|
const bidTypeMap = ["", "货物", "服务", "工程"];
|
||||||
const modalHeight = window.innerHeight * 96 / 100;
|
const modalHeight = window.innerHeight * 96 / 100;
|
||||||
const FormItem = Form.Item;
|
const FormItem = Form.Item;
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
@ -311,7 +312,7 @@ const entrust: React.FC<{}> = () => {
|
|||||||
form.setFieldsValue({
|
form.setFieldsValue({
|
||||||
...inquiry,
|
...inquiry,
|
||||||
inquiryModel: inquiry.inquiryModel == 0 ? '公开询价' : inquiry.inquiryModel == 1 ? '定向询价' : '',//询价模式
|
inquiryModel: inquiry.inquiryModel == 0 ? '公开询价' : inquiry.inquiryModel == 1 ? '定向询价' : '',//询价模式
|
||||||
bidType: inquiry.bidType == 1 ? '货物' : inquiry.bidType == 2 ? '服务' : inquiry.bidType == 3 ? '施工服务' : '',
|
bidType: inquiry.bidType.split(",").map((item: string | number) => bidTypeMap[item]).join(),
|
||||||
projectManagerName: data.projectManagerName,
|
projectManagerName: data.projectManagerName,
|
||||||
projectManagerPhone: data.projectManagerPhone,
|
projectManagerPhone: data.projectManagerPhone,
|
||||||
projectName: data.projectName,//项目名称
|
projectName: data.projectName,//项目名称
|
||||||
|
@ -111,6 +111,7 @@ const entrust: React.FC<{}> = () => {
|
|||||||
//获取字典
|
//获取字典
|
||||||
const getDict: any = getDicData();
|
const getDict: any = getDicData();
|
||||||
const dictData = JSON.parse(getDict);
|
const dictData = JSON.parse(getDict);
|
||||||
|
const bidTypeMap = ["", "货物", "服务", "工程"];
|
||||||
const { TextArea } = Input;
|
const { TextArea } = Input;
|
||||||
const FormItem = Form.Item;
|
const FormItem = Form.Item;
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
@ -241,7 +242,7 @@ const entrust: React.FC<{}> = () => {
|
|||||||
form.setFieldsValue({
|
form.setFieldsValue({
|
||||||
...inquiry,
|
...inquiry,
|
||||||
inquiryModel: inquiry.inquiryModel == 0 ? '公开询价' : inquiry.inquiryModel == 1 ? '定向询价' : '',//询价模式
|
inquiryModel: inquiry.inquiryModel == 0 ? '公开询价' : inquiry.inquiryModel == 1 ? '定向询价' : '',//询价模式
|
||||||
bidType: inquiry.bidType == 1 ? '货物' : inquiry.bidType == 2 ? '服务' : inquiry.bidType == 3 ? '施工服务' : '',
|
bidType: inquiry.bidType.split(",").map((item: string | number) => bidTypeMap[item]).join(),
|
||||||
projectManagerName: data.projectManagerName,
|
projectManagerName: data.projectManagerName,
|
||||||
projectManagerPhone: data.projectManagerPhone,
|
projectManagerPhone: data.projectManagerPhone,
|
||||||
projectName: data.projectName,//项目名称
|
projectName: data.projectName,//项目名称
|
||||||
|
@ -15,6 +15,7 @@ const entrust: React.FC<{}> = () => {
|
|||||||
//获取字典
|
//获取字典
|
||||||
const getDict: any = getDicData();
|
const getDict: any = getDicData();
|
||||||
const dictData = JSON.parse(getDict);
|
const dictData = JSON.parse(getDict);
|
||||||
|
const bidTypeMap = ["", "货物", "服务", "工程"];
|
||||||
const { TextArea } = Input;
|
const { TextArea } = Input;
|
||||||
const FormItem = Form.Item;
|
const FormItem = Form.Item;
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
@ -102,7 +103,7 @@ const entrust: React.FC<{}> = () => {
|
|||||||
form.setFieldsValue({
|
form.setFieldsValue({
|
||||||
...inquiry,
|
...inquiry,
|
||||||
inquiryModel: inquiry.inquiryModel == 0 ? '公开询价' : inquiry.inquiryModel == 1 ? '定向询价' : '',//询价模式
|
inquiryModel: inquiry.inquiryModel == 0 ? '公开询价' : inquiry.inquiryModel == 1 ? '定向询价' : '',//询价模式
|
||||||
bidType: inquiry.bidType == 1 ? '货物' : inquiry.bidType == 2 ? '服务' : inquiry.bidType == 3 ? '施工服务' : '',
|
bidType: inquiry.bidType.split(",").map((item: string | number) => bidTypeMap[item]).join(),
|
||||||
projectManagerName: data.projectManagerName,
|
projectManagerName: data.projectManagerName,
|
||||||
projectManagerPhone: data.projectManagerPhone,
|
projectManagerPhone: data.projectManagerPhone,
|
||||||
projectName: data.projectName,//项目名称
|
projectName: data.projectName,//项目名称
|
||||||
|
Reference in New Issue
Block a user