SaleInquiryFormForm.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. <template>
  2. <a-spin :spinning="loading">
  3. <JFormContainer :disabled="disabled">
  4. <template #detail>
  5. <a-form v-bind="formItemLayout" name="SaleInquiryFormForm" ref="formRef">
  6. <a-row>
  7. <a-col :span="12">
  8. <a-form-item label="询价单号(bill code)" v-bind="validateInfos.billCode" id="SaleInquiryFormForm-billCode" name="billCode">
  9. <a-input v-model:value="formData.billCode" placeholder="请输入询价单号(bill code)" disabled></a-input>
  10. </a-form-item>
  11. </a-col>
  12. <a-col :span="12">
  13. <a-form-item label="单据日期(bill date)" v-bind="validateInfos.billDate" id="SaleInquiryFormForm-billDate" name="billDate">
  14. <a-date-picker placeholder="请选择单据日期(bill date)" v-model:value="formData.billDate" value-format="YYYY-MM-DD" style="width: 100%" allow-clear />
  15. </a-form-item>
  16. </a-col>
  17. <a-col :span="12">
  18. <a-form-item label="询价项目(inquiry project)" v-bind="validateInfos.projectName" id="SaleInquiryFormForm-inquiryProject" name="inquiryProject">
  19. <a-input-search v-model:value="formData.projectName" placeholder="请输入询价项目(inquiry project)" allow-clear enter-button="Search" @search="onSearchProject"></a-input-search>
  20. </a-form-item>
  21. </a-col>
  22. <a-col :span="12">
  23. <a-form-item label="询价客户(inquiry customer)" v-bind="validateInfos.inquiryCustomer" id="SaleInquiryFormForm-inquiryCustomer" name="inquiryCustomer">
  24. <JSelectInput v-model:value="formData.inquiryCustomer" placeholder="请选择" :options="customerOption" disabled></JSelectInput>
  25. </a-form-item>
  26. </a-col>
  27. <a-col :span="12">
  28. <a-form-item label="询价平台(inquiry platform)" v-bind="validateInfos.inquiryPlatform" id="SaleInquiryFormForm-inquiryPlatform" name="inquiryPlatform">
  29. <JDictSelectTag v-model:value="formData.inquiryPlatform" placeholder="请选择" dictCode="inquiry_platform"/>
  30. </a-form-item>
  31. </a-col>
  32. <a-col :span="12">
  33. <a-form-item label="客户询价单号(customer inquiry number)" v-bind="validateInfos.customerInquiryNumber" id="SaleInquiryFormForm-customerInquiryNumber" name="customerInquiryNumber">
  34. <a-input v-model:value="formData.customerInquiryNumber" placeholder="请输入客户询价单号(customer inquiry number)" allow-clear ></a-input>
  35. </a-form-item>
  36. </a-col>
  37. <a-col :span="12">
  38. <a-form-item label="询价有效期(inquiry period)" v-bind="validateInfos.inquiryPeriodEnd" id="SaleInquiryFormForm-inquiryPeriodEnd" name="inquiryPeriodEnd">
  39. <a-range-picker v-model:value="inquiryPeriod" :format="['YYYY-MM-DD','YYYY-MM-DD']" @change="onChangeInquiryPeriod" style="width: 100%" />
  40. </a-form-item>
  41. </a-col>
  42. <a-col :span="12">
  43. <a-form-item label="优先级(priority)" v-bind="validateInfos.priority" id="SaleInquiryFormForm-priority" name="priority">
  44. <JDictSelectTag v-model:value="formData.priority" placeholder="请选择" dictCode="priority"/>
  45. </a-form-item>
  46. </a-col>
  47. <a-col :span="12">
  48. <a-form-item label="产品分类(production class)" v-bind="validateInfos.productionClass" id="SaleInquiryFormForm-productionClass" name="productionClass">
  49. <JSelectInput v-model:value="formData.productionClass" placeholder="请选择" :options="classOption" ></JSelectInput>
  50. </a-form-item>
  51. </a-col>
  52. <a-col :span="12">
  53. <a-form-item label="机型(model)" v-bind="validateInfos.model" id="SaleInquiryFormForm-model" name="model">
  54. <JDictSelectTag v-model:value="formData.model" placeholder="请选择" dictCode="model_typer"/>
  55. </a-form-item>
  56. </a-col>
  57. <a-col :span="12">
  58. <a-form-item label="厂家(maker)" v-bind="validateInfos.maker" id="SaleInquiryFormForm-maker" name="maker">
  59. <a-input v-model:value="formData.maker" placeholder="请输入厂家(maker)" allow-clear ></a-input>
  60. </a-form-item>
  61. </a-col>
  62. <a-col :span="12">
  63. <a-form-item label="销售部门(sale department)" v-bind="validateInfos.saleDepartment" id="SaleInquiryFormForm-saleDepartment" name="saleDepartment">
  64. <a-input v-model:value="formData.saleDepartment" placeholder="" allow-clear disabled></a-input>
  65. </a-form-item>
  66. </a-col>
  67. <a-col :span="12">
  68. <a-form-item label="业务员(salesman)" v-bind="validateInfos.salesman" id="SaleInquiryFormForm-salesman" name="salesman">
  69. <a-input v-model:value="formData.salesman" placeholder="" allow-clear disabled></a-input>
  70. </a-form-item>
  71. </a-col>
  72. <a-col :span="12">
  73. <a-form-item label="交期(delivery time)" v-bind="validateInfos.deliveryTime" id="SaleInquiryFormForm-deliveryTime" name="deliveryTime">
  74. <a-date-picker placeholder="请选择交期(delivery time)" v-model:value="formData.deliveryTime" @change="changeDeliveryTime" value-format="YYYY-MM-DD" format="YYYY-MM-DD" style="width: 100%" allow-clear />
  75. </a-form-item>
  76. </a-col>
  77. <a-col :span="12">
  78. <a-form-item label="采购询价组(procurement inquiry team)" v-bind="validateInfos.inquiryTeam" id="SaleInquiryFormForm-inquiryTeam" name="inquiryTeam">
  79. <JDictSelectTag v-model:value="formData.inquiryTeam" placeholder="请选择" dictCode="procurement_inquiry_team"/>
  80. </a-form-item>
  81. </a-col>
  82. <a-col :span="12">
  83. <a-form-item label="询价备注(inquiry notes)" v-bind="validateInfos.inquiryNotes" id="SaleInquiryFormForm-inquiryNotes" name="inquiryNotes">
  84. <a-input v-model:value="formData.inquiryNotes" placeholder="请输入询价备注(inquiry notes)" allow-clear ></a-input>
  85. </a-form-item>
  86. </a-col>
  87. <a-col :span="12">
  88. <a-form-item label="附件(attachs)" v-bind="validateInfos.attachs" id="SaleInquiryFormForm-attachs" name="attachs">
  89. <JUpload v-model:value="formData.attachs"></JUpload>
  90. </a-form-item>
  91. </a-col>
  92. </a-row>
  93. </a-form>
  94. </template>
  95. </JFormContainer>
  96. <!-- 子表单区域 -->
  97. <a-tabs v-model:activeKey="activeKey" animated style=" padding: 24px;padding-top: 0px;">
  98. <a-tab-pane tab="销售询价单 - 船明细(ship details)" key="saleInquiryFormShip" :forceRender="true">
  99. <a-button type="primary" @click="selectShip"> 选择船(select ship)</a-button>
  100. <j-vxe-table
  101. :keep-source="true"
  102. resizable
  103. ref="saleInquiryFormShipTableRef"
  104. :loading="saleInquiryFormShipTable.loading"
  105. :columns="saleInquiryFormShipTable.columns"
  106. :dataSource="saleInquiryFormShipTable.dataSource"
  107. :height="340"
  108. :disabled="disabled"
  109. :rowNumber="true"
  110. :rowSelection="true"
  111. >
  112. <template #action="props" >
  113. <a @click="viewAccessory(props)" >查看配件信息(view accessory information)</a>
  114. <a-divider type="vertical"/>
  115. <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)">
  116. <a>删除(delete)</a>
  117. </a-popconfirm>
  118. </template>
  119. </j-vxe-table>
  120. </a-tab-pane>
  121. <a-tab-pane tab="销售询价单 - 产品明细(product details)" key="saleInquiryFormProduct" :forceRender="true">
  122. <a-button type="primary" @click="selectProducts" style="margin-right: 1%;margin-bottom: 1%;"> 选择产品(select product)</a-button>
  123. <a-button type="primary" @click="setNeed" style="margin-right: 1%;"> 设置需要船检证书(set need ship inspection certificate)</a-button>
  124. <a-button type="primary" @click="setNotNeed"> 设置不需要船检证书(set need not ship inspection certificate)</a-button>
  125. <j-vxe-table
  126. :keep-source="true"
  127. resizable
  128. ref="saleInquiryFormProductTableRef"
  129. :loading="saleInquiryFormProductTable.loading"
  130. :columns="saleInquiryFormProductTable.columns"
  131. :dataSource="saleInquiryFormProductTable.dataSource"
  132. :height="340"
  133. :disabled="disabled"
  134. :rowNumber="true"
  135. :rowSelection="true"
  136. asyncRemove
  137. >
  138. <template #action="props">
  139. <a-popconfirm title="确定删除吗?" @confirm="handleDelete1(props)">
  140. <a>删除(delete)</a>
  141. </a-popconfirm>
  142. </template>
  143. </j-vxe-table>
  144. </a-tab-pane>
  145. </a-tabs>
  146. <SelectShipSModal ref="SelectShipSModalRef" @select="addShip"></SelectShipSModal>
  147. <BaseShipArchiveAccessoriesList ref="BaseShipArchiveAccessoriesListRef"></BaseShipArchiveAccessoriesList>
  148. <SelectPrpductModal ref="SelectPrpductModalRef" @selectProduct="addProduct"></SelectPrpductModal>
  149. <SelectProjectModal ref="SelectProjectModalRef" @selectProject="addProject"></SelectProjectModal>
  150. </a-spin>
  151. </template>
  152. <script lang="ts">
  153. import { defineComponent, ref, reactive, computed, toRaw} from 'vue';
  154. import { defHttp } from '/@/utils/http/axios';
  155. import { useValidateAntFormAndTable } from '/@/hooks/system/useJvxeMethods';
  156. import { querySaleInquiryFormShipListByMainId, querySaleInquiryFormProductListByMainId, queryDataById, saveOrUpdate } from '../SaleInquiryForm.api';
  157. import { JVxeTable } from '/@/components/jeecg/JVxeTable';
  158. import {saleInquiryFormShipColumns, saleInquiryFormProductColumns} from '../SaleInquiryForm.data';
  159. import SelectShipSModal from './SelectShipSModal.vue';
  160. import BaseShipArchiveAccessoriesList from './BaseShipArchiveAccessoriesModal.vue';
  161. import SelectPrpductModal from './SelectPrpductModal.vue';
  162. import SelectProjectModal from './SelectProjectModal.vue';
  163. import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
  164. import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue';
  165. import { JDictSelectTag} from '/@/components/Form';
  166. import JSelectInput from '/@/components/Form/src/jeecg/components/JSelectInput.vue';
  167. import { Form } from 'ant-design-vue';
  168. import { useUserStore } from '/@/store/modules/user';
  169. import moment from 'moment';
  170. const userStore = useUserStore();
  171. const useForm = Form.useForm;
  172. export default defineComponent({
  173. name: "SaleInquiryFormForm",
  174. components:{
  175. JVxeTable,
  176. JFormContainer,
  177. SelectShipSModal,
  178. BaseShipArchiveAccessoriesList,
  179. SelectPrpductModal,
  180. JUpload,
  181. SelectProjectModal,
  182. JDictSelectTag,
  183. JSelectInput,
  184. },
  185. props:{
  186. formDisabled:{
  187. type: Boolean,
  188. default: false
  189. },
  190. formData: { type: Object, default: ()=>{} },
  191. formBpm: { type: Boolean, default: true }
  192. },
  193. emits:['success'],
  194. setup(props, {emit}) {
  195. const loading = ref(false);
  196. const formRef = ref();
  197. var SelectPrpductModalRef = ref()
  198. var SelectProjectModalRef = ref()
  199. var inquiryPeriod = ref([])
  200. const saleInquiryFormShipTableRef = ref();
  201. const saleInquiryFormShipTable = reactive<Record<string, any>>({
  202. loading: false,
  203. columns: saleInquiryFormShipColumns,
  204. dataSource: []
  205. });
  206. const saleInquiryFormProductTableRef = ref();
  207. const saleInquiryFormProductTable = reactive<Record<string, any>>({
  208. loading: false,
  209. columns: saleInquiryFormProductColumns,
  210. dataSource: []
  211. });
  212. var SelectShipSModalRef = ref();
  213. var BaseShipArchiveAccessoriesListRef = ref();
  214. const activeKey = ref('saleInquiryFormShip');
  215. var classOption = ref([]);
  216. var customerOption =ref([]);
  217. const formData = reactive<Record<string, any>>({
  218. id: '',
  219. status: undefined,
  220. delFlag: undefined,
  221. otherStatus: '',
  222. submit: '',
  223. billDate: moment(new Date()).format('YYYY-MM-DD'),
  224. billCode: '',
  225. inquiryProject: '',
  226. projectName:"",
  227. inquiryCustomer: '',
  228. customerName:'',
  229. inquiryPlatform: '',
  230. customerInquiryNumber: '',
  231. inquiryPeriodEnd: '',
  232. inquiryPeriodBegin: '',
  233. priority: '',
  234. productionClass: '',
  235. model: '',
  236. maker: '',
  237. saleDepartment: '',
  238. salesman: '',
  239. inquiryTeam: '',
  240. deliveryTime: '',
  241. attachs: '',
  242. inquiryNotes: '',
  243. });
  244. //表单验证
  245. const validatorRules = reactive({
  246. });
  247. const {resetFields, validate, validateInfos} = useForm(formData, validatorRules, {immediate: false});
  248. const dbData = {};
  249. const formItemLayout = {
  250. labelCol: {xs: {span: 24}, sm: {span: 5}},
  251. wrapperCol: {xs: {span: 24}, sm: {span: 16}},
  252. };
  253. // 表单禁用
  254. const disabled = computed(()=>{
  255. if(props.formBpm === true){
  256. if(props.formData.disabled === false){
  257. return false;
  258. }else{
  259. return true;
  260. }
  261. }
  262. return props.formDisabled;
  263. });
  264. function add() {
  265. resetFields();
  266. saleInquiryFormShipTable.dataSource = [];
  267. saleInquiryFormProductTable.dataSource = [];
  268. activeKey.value = 'saleInquiryFormShip'
  269. getOptiom()
  270. getCustomerOptions()
  271. inquiryPeriod.value = []
  272. formData.salesman=userStore.getUserInfo.username;
  273. formData.saleDepartment = userStore.getUserInfo.orgCode
  274. }
  275. async function edit(row) {
  276. //主表数据
  277. await queryMainData(row.id);
  278. //子表数据
  279. const saleInquiryFormShipDataList = await querySaleInquiryFormShipListByMainId(row['id']);
  280. saleInquiryFormShipTable.dataSource = [...saleInquiryFormShipDataList];
  281. const saleInquiryFormProductDataList = await querySaleInquiryFormProductListByMainId(row['id']);
  282. saleInquiryFormProductTable.dataSource = [...saleInquiryFormProductDataList];
  283. getOptiom()
  284. getCustomerOptions()
  285. inquiryPeriod.value[0]=formData.inquiryPeriodBegin?moment(formData.inquiryPeriodBegin):''
  286. inquiryPeriod.value[1]=formData.inquiryPeriodEnd?moment(formData.inquiryPeriodEnd):''
  287. }
  288. async function queryMainData(id) {
  289. const row = await queryDataById(id);
  290. resetFields();
  291. const tmpData = {};
  292. Object.keys(formData).forEach((key) => {
  293. if(row.hasOwnProperty(key)){
  294. tmpData[key] = row[key]
  295. }
  296. })
  297. //赋值
  298. Object.assign(formData,tmpData);
  299. }
  300. const {getSubFormAndTableData, transformData} = useValidateAntFormAndTable(activeKey, {
  301. 'saleInquiryFormShip': saleInquiryFormShipTableRef,
  302. 'saleInquiryFormProduct': saleInquiryFormProductTableRef,
  303. });
  304. async function getFormData() {
  305. try {
  306. // 触发表单验证
  307. await validate();
  308. } catch ({ errorFields }) {
  309. if (errorFields) {
  310. const firstField = errorFields[0];
  311. if (firstField) {
  312. formRef.value.scrollToField(firstField.name, { behavior: 'smooth', block: 'center' });
  313. }
  314. }
  315. return Promise.reject(errorFields);
  316. }
  317. return transformData(toRaw(formData))
  318. }
  319. async function submitForm() {
  320. const mainData = await getFormData();
  321. const subData = await getSubFormAndTableData();
  322. const values = Object.assign({}, dbData, mainData, subData);
  323. console.log('表单提交数据', values)
  324. const isUpdate = values.id ? true : false
  325. await saveOrUpdate(values, isUpdate);
  326. //关闭弹窗
  327. emit('success');
  328. }
  329. function setFieldsValue(values) {
  330. if(values){
  331. Object.keys(values).map(k=>{
  332. formData[k] = values[k];
  333. });
  334. }
  335. }
  336. /**
  337. * 值改变事件触发-树控件回调
  338. * @param key
  339. * @param value
  340. */
  341. function handleFormChange(key, value) {
  342. formData[key] = value;
  343. }
  344. async function handleDelete(prop) {
  345. var newArray = [...saleInquiryFormShipTable.dataSource]
  346. newArray.splice(prop.rowIndex, 1)
  347. saleInquiryFormShipTable.dataSource = newArray
  348. }
  349. async function handleDelete1(prop) {
  350. var newArray = [...saleInquiryFormProductTable.dataSource]
  351. newArray.splice(prop.rowIndex, 1)
  352. saleInquiryFormProductTable.dataSource = newArray
  353. }
  354. function selectShip(){
  355. SelectShipSModalRef.value.getTable()
  356. }
  357. function addShip(data){
  358. var arr = data.concat(saleInquiryFormShipTable.dataSource)
  359. arr.map(item=>item.shipowner = item.relateCustomer)
  360. saleInquiryFormShipTable.dataSource=arr
  361. }
  362. function addProduct(data){
  363. var arrProduct = data.concat(saleInquiryFormProductTable.dataSource)
  364. arrProduct.map(item=>{
  365. item.productClass = item.classId_dictText
  366. item.productCode = item.code
  367. item.unit = item.measurementUnit
  368. item.deliveryTime = formData.deliveryTime
  369. })
  370. saleInquiryFormProductTable.dataSource=arrProduct
  371. }
  372. function addProject(data) {
  373. formData.inquiryProject = data[0].id
  374. formData.projectName = data[0].name
  375. formData.inquiryCustomer =data[0].customerId
  376. formData.customerName =data[0].customerId_dictText
  377. customerOption.value.map(item=>{
  378. if(item.value==data[0].customerId){
  379. formData.priority =item.priority
  380. }
  381. })
  382. }
  383. function getCustomerOptions(){
  384. let params = {pageSize:'-1',status:1}
  385. defHttp.get({url:'/cuspCode/cuspCustomerProfile/list',params}, { isTransformResponse: false }).then(res=>{
  386. if(res){
  387. customerOption.value = []
  388. res.result.records.forEach(item=>{
  389. customerOption.value.push({
  390. label: item.name,
  391. value: item.id,
  392. priority:item.priority
  393. })
  394. })
  395. }
  396. })
  397. }
  398. function viewAccessory(prop){
  399. BaseShipArchiveAccessoriesListRef.value.getTable(prop.row)
  400. }
  401. function selectProducts(){
  402. SelectPrpductModalRef.value.getTable()
  403. }
  404. function setNeed(){
  405. const values = saleInquiryFormProductTableRef.value.getSelectionData()
  406. values.map(item=>{
  407. saleInquiryFormProductTable.dataSource.map(event=>{
  408. if(item.id == event.id){
  409. event.needShip = 1
  410. }
  411. })
  412. const xTable = saleInquiryFormProductTableRef.value!.getXTable();//关键代码 如果不更新 重新加载表格即可
  413. xTable.loadData(saleInquiryFormProductTable.dataSource)
  414. })
  415. }
  416. function setNotNeed(){
  417. const values = saleInquiryFormProductTableRef.value.getSelectionData()
  418. values.map(item=>{
  419. saleInquiryFormProductTable.dataSource.map(event=>{
  420. if(item.id == event.id){
  421. event.needShip = 0
  422. }
  423. })
  424. const xTable = saleInquiryFormProductTableRef.value!.getXTable();//关键代码 如果不更新 重新加载表格即可
  425. xTable.loadData(saleInquiryFormProductTable.dataSource)
  426. })
  427. }
  428. function onSearchProject(){
  429. SelectProjectModalRef.value.getTable()
  430. }
  431. function getOptiom(){
  432. defHttp
  433. .get({ url: 'baseCode/baseProductClass/list'}, { isTransformResponse: false })
  434. .then((res) => {
  435. if (res.success) {
  436. classOption.value = []
  437. res.result.records.forEach(element => {
  438. var obj = {
  439. label: element.name?element.name:'无名称请维护',
  440. value: element.id?element.id:''
  441. };
  442. classOption.value.push( obj)
  443. });
  444. }
  445. })
  446. .finally(() => {
  447. // loading.value = false;
  448. });
  449. }
  450. function onChangeInquiryPeriod(data){
  451. inquiryPeriod.value = data
  452. formData.inquiryPeriodBegin = data[0].format('YYYY-MM-DD')
  453. formData.inquiryPeriodEnd = data[1].format('YYYY-MM-DD')
  454. }
  455. function changeDeliveryTime(props){
  456. if(saleInquiryFormProductTable.dataSource.length>0){
  457. var newArr = [...saleInquiryFormProductTable.dataSource]
  458. newArr.map(item=>{
  459. item.deliveryTime = props
  460. })
  461. saleInquiryFormProductTable.dataSource = newArr
  462. }
  463. }
  464. return {
  465. saleInquiryFormShipTableRef,
  466. saleInquiryFormShipTable,
  467. saleInquiryFormProductTableRef,
  468. saleInquiryFormProductTable,
  469. validatorRules,
  470. validateInfos,
  471. activeKey,
  472. loading,
  473. formData,
  474. setFieldsValue,
  475. handleFormChange,
  476. formItemLayout,
  477. disabled,
  478. getFormData,
  479. submitForm,
  480. SelectShipSModalRef,
  481. add,
  482. edit,
  483. formRef,
  484. selectShip,
  485. addShip,
  486. addProduct,
  487. BaseShipArchiveAccessoriesListRef,
  488. viewAccessory,
  489. handleDelete,
  490. handleDelete1,
  491. selectProducts,
  492. setNeed,
  493. setNotNeed,
  494. SelectPrpductModalRef,
  495. SelectProjectModalRef,
  496. onSearchProject,
  497. addProject,
  498. getOptiom,
  499. classOption,
  500. getCustomerOptions,
  501. customerOption,
  502. inquiryPeriod,
  503. onChangeInquiryPeriod,
  504. changeDeliveryTime
  505. }
  506. }
  507. });
  508. </script>
  509. <style lang="less" scoped>
  510. /** 时间和数字输入框样式 */
  511. :deep(.ant-input-number) {
  512. width: 100%;
  513. }
  514. :deep(.ant-calendar-picker) {
  515. width: 100%;
  516. }
  517. /deep/.vxe-table--body-wrapper{
  518. height: 100% !important;
  519. }
  520. /deep/.ant-modal-body{
  521. padding: 24px !important;
  522. }
  523. /deep/.ant-form-item{
  524. margin-bottom: 8px !important;
  525. }
  526. </style>