10.17 算数错误调整优化
This commit is contained in:
@ -3,7 +3,7 @@ import { Table, Button, Space, Form, Radio, Select, Input, InputNumber, Upload,
|
||||
import { TableListItem } from './data';
|
||||
import ExtendUpload from "@/utils/ExtendUpload";
|
||||
import '@/assets/ld_style.less';
|
||||
import { findArithmeticError, getList, getRoomType, savePrice } from './service';
|
||||
import { findArithmeticError, getList, getResponseTitle, getRoomType, savePrice } from './service';
|
||||
import { getProMethod, getRoomId, getSessionRoleData, getSessionUserData } from '@/utils/session';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
|
||||
@ -45,6 +45,7 @@ const Index: React.FC<{}> = () => {
|
||||
let roomId = getRoomId();//sessionStorage.getItem('roomId');//sessionStorage.getItem('roomId')
|
||||
var roleId = getSessionUserData().roleIds;//操作员角色
|
||||
const [dateList, setDateList] = useState([]);
|
||||
const [dataListTitle, setDataListTitle] = useState<string>("");
|
||||
const [adjustForm] = Form.useForm();
|
||||
const [whetherReadonly, setWhetherReadonly] = useState<boolean>(false);
|
||||
const [editState, setEditState] = useState<boolean>(false);
|
||||
@ -66,7 +67,7 @@ const Index: React.FC<{}> = () => {
|
||||
}
|
||||
const columns: any[] = [ // 列表数据
|
||||
{ title: `${showNameT.tbr}名称`, dataIndex: 'tendererName', key: 'tendererName' },
|
||||
{ title: '最新不含税总价', dataIndex: 'evaluatingContent', key: 'evaluatingContent' },
|
||||
{ title: dataListTitle, dataIndex: 'evaluatingContent', key: 'evaluatingContent' },
|
||||
{
|
||||
title: '调整类别', dataIndex: 'type', key: 'type', render: (text: any, record: any, index: any) => {
|
||||
let a = "";
|
||||
@ -142,7 +143,12 @@ const Index: React.FC<{}> = () => {
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
await getResponseTitle(roomId).then(res => {
|
||||
if (res.success == true) {
|
||||
const data = res?.data;
|
||||
setDataListTitle(data?.name);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const setSelectChange = async (list: any) => {
|
||||
|
Reference in New Issue
Block a user