ArriveGoodsFormForm.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. <template>
  2. <a-spin :spinning="loading">
  3. <JFormContainer :disabled="disabled">
  4. <template #detail>
  5. <a-form v-bind="formItemLayout" name="SaleOrderForm" ref="formRef">
  6. <a-row>
  7. <a-col :span="12">
  8. <a-form-item label="到货单号(bill code)" v-bind="validateInfos.billCode" id="SaleOrderForm-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="到货日期(arrival date)" v-bind="validateInfos.arrivalDate" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-arrivalDate" name="arrivalDate">
  14. <a-date-picker placeholder="请选择到货日期(arrival date)" v-model:value="formData.arrivalDate" 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="项目(project)" v-bind="validateInfos.projectName" id="SaleOrderForm-projectName" name="projectName">
  19. <a-input-search v-model:value="formData.projectName" placeholder="请输入项目(project)" :disabled="notAllowEdit" 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="供应商(supplier)" v-bind="validateInfos.supplierName" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-supplierName" name="supplierName">
  24. <JSelectInput v-model:value="formData.inquirySuppiler" placeholder="请选择" allow-clear :options="supplierOption" @change="changeSupplier"></JSelectInput>
  25. </a-form-item>
  26. </a-col>
  27. <a-col :span="12">
  28. <a-form-item label="优先级(priority)" v-bind="validateInfos.priority" id="SaleOrderForm-priority" name="priority">
  29. <JDictSelectTag v-model:value="formData.priority" placeholder="请选择" dictCode="priority" disabled/>
  30. </a-form-item>
  31. </a-col>
  32. <a-col :span="12">
  33. <a-form-item label="产品分类(production class)" v-bind="validateInfos.productionClass" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-productionClass" name="productionClass">
  34. <a-input v-model:value="formData.productionClass" placeholder="请输入" allow-clear disabled ></a-input>
  35. </a-form-item>
  36. </a-col>
  37. <a-col :span="12">
  38. <a-form-item label="机型(model)" v-bind="validateInfos.model" id="SaleOrderForm-model" name="model">
  39. <JDictSelectTag v-model:value="formData.model" placeholder="请选择" dictCode="model_typer" disabled />
  40. </a-form-item>
  41. </a-col>
  42. <a-col :span="12">
  43. <a-form-item label="厂家(maker)" v-bind="validateInfos.maker" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-maker" name="maker">
  44. <a-input v-model:value="formData.maker" placeholder="请输入厂家(maker)" allow-clear disabled></a-input>
  45. </a-form-item>
  46. </a-col>
  47. <a-col :span="12">
  48. <a-form-item label="发货方式(delivery)" v-bind="validateInfos.delivery" id="SaleOrderForm-delivery" name="delivery">
  49. <JDictSelectTag v-model:value="formData.delivery" placeholder="请选择" dictCode="delivery_methods" disabled/>
  50. </a-form-item>
  51. </a-col>
  52. <a-col :span="12">
  53. <a-form-item label="包装要求(package requirement)" v-bind="validateInfos.packagebRequirement" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-packagebRequirement" name="packagebRequirement">
  54. <a-input v-model:value="formData.packagebRequirement" placeholder="请输入包装要求(package requirement)" allow-clear disabled></a-input>
  55. </a-form-item>
  56. </a-col>
  57. <a-col :span="12">
  58. <a-form-item label="运单号(waybill number)" v-bind="validateInfos.waybillNumber" id="SaleOrderForm-waybillNumber" name="waybillNumber">
  59. <a-input v-model:value="formData.waybillNumber" placeholder="请输入运单号(waybill number)" allow-clear ></a-input>
  60. </a-form-item>
  61. </a-col>
  62. <a-col :span="12">
  63. <a-form-item label="收件人(recipient)" v-bind="validateInfos.recipient" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-recipient" name="recipient">
  64. <a-input v-model:value="formData.recipient" placeholder="请输入收件人(recipient)" allow-clear disabled></a-input>
  65. </a-form-item>
  66. </a-col>
  67. <a-col :span="12">
  68. <a-form-item label="收件人电话(recipient tel)" v-bind="validateInfos.recipientTel" id="SaleOrderForm-recipientTel" name="recipientTel">
  69. <a-input v-model:value="formData.recipientTel" placeholder="请输入收件人电话(recipient tel)" allow-clear disabled></a-input>
  70. </a-form-item>
  71. </a-col>
  72. <a-col :span="12">
  73. <a-form-item label="收件人地址(recipient address)" v-bind="validateInfos.recipientAddress" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-recipientAddress" name="recipientAddress">
  74. <a-input v-model:value="formData.recipientAddress" placeholder="请输入收件人地址(recipient address)" allow-clear disabled></a-input>
  75. </a-form-item>
  76. </a-col>
  77. <a-col :span="12">
  78. <a-form-item label="质保条款(warranty terms)" v-bind="validateInfos.warrantyTerms" id="SaleOrderForm-warrantyTerms" name="warrantyTerms">
  79. <a-input v-model:value="formData.warrantyTerms" placeholder="请输入质保条款(warranty terms)" allow-clear disabled></a-input>
  80. </a-form-item>
  81. </a-col>
  82. <a-col :span="12">
  83. <a-form-item label="采购部门(purchase department)" v-bind="validateInfos.purchaseDepartment" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-purchaseDepartment" name="purchaseDepartment">
  84. <a-input v-model:value="formData.purchaseDepartment" placeholder="请输入" allow-clear disabled></a-input>
  85. </a-form-item>
  86. </a-col>
  87. <a-col :span="12">
  88. <a-form-item label="采购员(purchasesman)" v-bind="validateInfos.purchaseman" id="SaleOrderForm-purchaseman" name="purchaseman">
  89. <a-input v-model:value="formData.purchaseman" placeholder="请输入采购员(salesman)" allow-clear disabled ></a-input>
  90. </a-form-item>
  91. </a-col>
  92. <a-col :span="12">
  93. <a-form-item label="发票/发货日期(delivery/invoice date)" v-bind="validateInfos.invoiceDate" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-invoiceDate" name="invoiceDate">
  94. <a-date-picker placeholder="请选择发票/发货日期(delivery/invoice date)" v-model:value="formData.invoiceDate" value-format="YYYY-MM-DD" style="width: 100%" allow-clear />
  95. </a-form-item>
  96. </a-col>
  97. <a-col :span="12">
  98. <a-form-item label="备注(notes)" v-bind="validateInfos.notes" id="SaleOrderForm-notes" name="notes">
  99. <a-input v-model:value="formData.notes"></a-input>
  100. </a-form-item>
  101. </a-col>
  102. <a-col :span="12">
  103. <a-form-item label="到货详情(arrival details)" v-bind="validateInfos.arrivalDetails" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="PuechaseInquiryFormForm-arrivalDetails" name="arrivalDetails" >
  104. <JUpload v-model:value="formData.arrivalDetails"></JUpload>
  105. </a-form-item>
  106. </a-col>
  107. </a-row>
  108. </a-form>
  109. </template>
  110. </JFormContainer>
  111. <!-- 子表单区域 -->
  112. <a-tabs v-model:activeKey="activeKey" animated style=" padding: 24px;padding-top: 0px;">
  113. <a-tab-pane tab="到货单 - 船明细(ship details)" key="ArriveGoodsFormShipFormShip" :forceRender="true">
  114. <j-vxe-table
  115. :keep-source="true"
  116. resizable
  117. ref="ArriveGoodsFormShipTableRef"
  118. :loading="ArriveGoodsFormShipFormShipTable.loading"
  119. :columns="ArriveGoodsFormShipFormShipTable.columns"
  120. :dataSource="ArriveGoodsFormShipFormShipTable.dataSource"
  121. :height="340"
  122. :disabled="disabled"
  123. :rowNumber="true"
  124. :rowSelection="true"
  125. >
  126. <template #action="props" >
  127. <a @click="viewAccessory(props)">查看配件信息(view accessory information)</a>
  128. </template>
  129. </j-vxe-table>
  130. </a-tab-pane>
  131. <a-tab-pane tab="到货单 - 到货明细(arrive details)" key="arriveDetailsFormProduct" :forceRender="true">
  132. <a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;" @click="selectPurchaseOrderList"> 选择采购单(select purchase order)</a-button>
  133. <j-vxe-table
  134. :keep-source="true"
  135. resizable
  136. ref="arriveDetailsFormProductTableRef"
  137. :loading="arriveDetailsFormProductTable.loading"
  138. :columns="arriveDetailsFormProductTable.columns"
  139. :dataSource="arriveDetailsFormProductTable.dataSource"
  140. :height="340"
  141. :disabled="disabled"
  142. :rowNumber="true"
  143. :rowSelection="true"
  144. asyncRemove
  145. >
  146. <template #action="props">
  147. <a-popconfirm title="确定删除吗?" @confirm="handleDelete(props)">
  148. <a>删除(delete)</a>
  149. </a-popconfirm>
  150. </template>
  151. </j-vxe-table>
  152. </a-tab-pane>
  153. </a-tabs>
  154. <SelectProjectModal ref="SelectProjectModalRef" @selectProject="addProject"></SelectProjectModal>
  155. <BaseShipArchiveAccessoriesModal ref="BaseShipArchiveAccessoriesModalRef"></BaseShipArchiveAccessoriesModal>
  156. <SelectPurchaseOrderModal ref="SelectPurchaseOrderModalRef" @selectPurchaseOrder="addAddiveGoods"></SelectPurchaseOrderModal>
  157. </a-spin>
  158. </template>
  159. <script lang="ts">
  160. import { defineComponent, ref, reactive, computed, toRaw} from 'vue';
  161. import { defHttp } from '/@/utils/http/axios';
  162. import { useValidateAntFormAndTable } from '/@/hooks/system/useJvxeMethods';
  163. import { queryArriveGoodsShipTable, queryArriveGoodsDetailByMainId, queryDataById, saveOrUpdate,Supplierlist} from '../ArriveGoodsForm.api';
  164. import { JVxeTable } from '/@/components/jeecg/JVxeTable';
  165. import {ArriveGoodsFormShipColumns, ArriveGoodsDetailColumns} from '../ArriveGoodsForm.data';
  166. import SelectProjectModal from '../../../publicComponents/SelectProjectModal.vue';
  167. import BaseShipArchiveAccessoriesModal from '../../../publicComponents/BaseShipArchiveAccessoriesModal.vue';
  168. import SelectPurchaseOrderModal from '../../../publicComponents/SelectPurchaseOrderModal.vue';
  169. import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
  170. import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue';
  171. import { JDictSelectTag} from '/@/components/Form';
  172. import JSelectInput from '/@/components/Form/src/jeecg/components/JSelectInput.vue';
  173. import { Form, message } from 'ant-design-vue';
  174. import { useUserStore } from '/@/store/modules/user';
  175. import moment from 'moment';
  176. const useForm = Form.useForm;
  177. export default defineComponent({
  178. name: "SaleOrderForm",
  179. components:{
  180. JVxeTable,
  181. JFormContainer,
  182. JUpload,
  183. JDictSelectTag,
  184. JSelectInput,
  185. SelectProjectModal,
  186. BaseShipArchiveAccessoriesModal,
  187. SelectPurchaseOrderModal,
  188. },
  189. props:{
  190. formDisabled:{
  191. type: Boolean,
  192. default: false
  193. },
  194. formData: { type: Object, default: ()=>{} },
  195. formBpm: { type: Boolean, default: true }
  196. },
  197. emits:['success'],
  198. setup(props, {emit}) {
  199. const userStore = useUserStore();
  200. const loading = ref(false);
  201. const formRef = ref();
  202. const ArriveGoodsFormShipTableRef = ref();
  203. const SelectProjectModalRef = ref()
  204. const BaseShipArchiveAccessoriesModalRef = ref();
  205. const SelectPurchaseOrderModalRef = ref();
  206. const ArriveGoodsFormShipFormShipTable = reactive<Record<string, any>>({
  207. loading: false,
  208. columns: ArriveGoodsFormShipColumns,
  209. dataSource: []
  210. });
  211. const arriveDetailsFormProductTableRef = ref();
  212. const arriveDetailsFormProductTable = reactive<Record<string, any>>({
  213. loading: false,
  214. columns: ArriveGoodsDetailColumns,
  215. dataSource: []
  216. });
  217. const activeKey = ref('ArriveGoodsFormShipFormShip');
  218. var notAllowEdit = ref(false);
  219. const formData = reactive<Record<string, any>>({
  220. id: '',
  221. status: undefined,
  222. delFlag: undefined,
  223. sourceCode:'',
  224. submit:'',
  225. billCode:'',
  226. arrivalDate: moment(new Date()).format('YYYY-MM-DD'),
  227. project: '',
  228. projectName:'',
  229. supplier:"",
  230. supplierName:'',
  231. priority: '',
  232. productionClass: '',
  233. model: '',
  234. maker: '',
  235. delivery:'',
  236. waybillNumber:'',
  237. packagebRequirement:'',
  238. recipient:'',
  239. recipientTel:'',
  240. recipientAddress:'',
  241. warrantyTerms:'',
  242. purchaseDepartment:'',
  243. purchaseman:'',
  244. invoiceDate:'',
  245. notes:'',
  246. arrivalDetails:"",
  247. });
  248. var supplierOption = ref([]);
  249. //表单验证
  250. const validatorRules = reactive({
  251. });
  252. const {resetFields, validate, validateInfos} = useForm(formData, validatorRules, {immediate: false});
  253. const dbData = {};
  254. const formItemLayout = {
  255. labelCol: {xs: {span: 24}, sm: {span: 5}},
  256. wrapperCol: {xs: {span: 24}, sm: {span: 16}},
  257. labelCol1: {xs: {span: 24}, sm: {span: 7}},
  258. wrapperCol1: {xs: {span: 24}, sm: {span: 15}},
  259. };
  260. // 表单禁用
  261. const disabled = computed(()=>{
  262. if(props.formBpm === true){
  263. if(props.formData.disabled === false){
  264. return false;
  265. }else{
  266. return true;
  267. }
  268. }
  269. return props.formDisabled;
  270. });
  271. function add() {
  272. resetFields();
  273. ArriveGoodsFormShipFormShipTable.dataSource = [];
  274. arriveDetailsFormProductTable.dataSource = [];
  275. activeKey.value = 'ArriveGoodsFormShipFormShip'
  276. formData.purchaseman=userStore.getUserInfo.username;
  277. formData.purchaseDepartment = userStore.getUserInfo.orgCode
  278. getSupplierOption()
  279. }
  280. async function edit(row) {
  281. //主表数据
  282. await queryMainData(row.id);
  283. //子表数据
  284. const ArriveGoodsFormShipFormShipDataList = await queryArriveGoodsShipTable(row['id']);
  285. ArriveGoodsFormShipFormShipTable.dataSource = [...ArriveGoodsFormShipFormShipDataList];
  286. const arriveDetailsFormProductDataList = await queryArriveGoodsDetailByMainId(row['id']);
  287. arriveDetailsFormProductTable.dataSource = [...arriveDetailsFormProductDataList];
  288. getSupplierOption()
  289. if(arriveDetailsFormProductTable.dataSource.length!==0){
  290. notAllowEdit.value = true
  291. }else{
  292. notAllowEdit.value = false
  293. }
  294. }
  295. async function queryMainData(id) {
  296. const row = await queryDataById(id);
  297. resetFields();
  298. const tmpData = {};
  299. Object.keys(formData).forEach((key) => {
  300. if(row.hasOwnProperty(key)){
  301. tmpData[key] = row[key]
  302. }
  303. })
  304. //赋值
  305. Object.assign(formData,tmpData);
  306. }
  307. const {getSubFormAndTableData, transformData} = useValidateAntFormAndTable(activeKey, {
  308. 'purDeliveryNodeShip': ArriveGoodsFormShipTableRef,
  309. 'purDeliveryNoteArrival': arriveDetailsFormProductTableRef,
  310. });
  311. async function getFormData() {
  312. try {
  313. // 触发表单验证
  314. await validate();
  315. } catch ({ errorFields }) {
  316. if (errorFields) {
  317. const firstField = errorFields[0];
  318. if (firstField) {
  319. formRef.value.scrollToField(firstField.name, { behavior: 'smooth', block: 'center' });
  320. }
  321. }
  322. return Promise.reject(errorFields);
  323. }
  324. return transformData(toRaw(formData))
  325. }
  326. async function submitForm() {
  327. const mainData = await getFormData();
  328. const subData = await getSubFormAndTableData();
  329. const values = Object.assign({}, dbData, mainData, subData);
  330. console.log('表单提交数据', values)
  331. const isUpdate = values.id ? true : false
  332. await saveOrUpdate(values, isUpdate);
  333. //关闭弹窗
  334. emit('success');
  335. }
  336. function setFieldsValue(values) {
  337. if(values){
  338. Object.keys(values).map(k=>{
  339. formData[k] = values[k];
  340. });
  341. }
  342. }
  343. function onSearchProject(){
  344. SelectProjectModalRef.value.getTable()
  345. }
  346. function selectPurchaseOrderList(){
  347. SelectPurchaseOrderModalRef.value.getTable(formData)
  348. }
  349. function getShipList(id){
  350. let params = {id:id}
  351. let url = '/purCode/purOrder/queryPurOrderShipByMainId'
  352. defHttp.get({url:url,params}, { isTransformResponse: false }).then(res=>{
  353. if(res){
  354. ArriveGoodsFormShipFormShipTable.dataSource = res.result
  355. }
  356. })
  357. }
  358. function addProject(data){
  359. formData.project = data[0].id
  360. formData.projectName = data[0].name
  361. }
  362. //查看配件信息
  363. function viewAccessory(prop){
  364. BaseShipArchiveAccessoriesModalRef.value.getTable(prop.row)
  365. }
  366. //产品明细-删除行
  367. function handleDelete(prop) {
  368. var newArray = [...arriveDetailsFormProductTable.dataSource]
  369. newArray.splice(prop.rowIndex, 1)
  370. arriveDetailsFormProductTable.dataSource = newArray
  371. if( arriveDetailsFormProductTable.dataSource.length!==0){
  372. var arr=[]
  373. arriveDetailsFormProductTable.dataSource.map(item=>{
  374. if(item.sourceId&&item.sourceId!==''){
  375. arr.push(item.sourceId)
  376. }
  377. })
  378. if(arr.length==0){
  379. formData.sourceCode = ''
  380. notAllowEdit.value=false
  381. }
  382. }else{
  383. notAllowEdit.value=false
  384. formData.sourceCode = ''
  385. }
  386. }
  387. function addAddiveGoods(data){
  388. debugger
  389. data.map(item=>{
  390. item.model = item.childModel
  391. })
  392. var arr = data.concat(arriveDetailsFormProductTable.dataSource)
  393. arriveDetailsFormProductTable.dataSource=arr
  394. notAllowEdit.value=true
  395. formData.sourceCode =data[0].billCode
  396. formData.project = data[0].project
  397. formData.projectName = data[0].projectName
  398. formData.supplierName = data[0].supplierName
  399. formData.supplier= data[0].supplier
  400. formData.priority =data[0].priority
  401. formData.productionClass =data[0].productionClass
  402. formData.model =data[0].headModel
  403. formData.maker =data[0].maker
  404. formData.delivery = data[0].delivery
  405. formData.packagebRequirement = data[0].packagebRequirement
  406. formData.recipient = data[0].recipient
  407. formData.recipientTel = data[0].recipientTel
  408. formData.recipientAddress = data[0].recipientAddress
  409. getShipList(data[0].headId)
  410. }
  411. function getSupplierOption(){
  412. defHttp
  413. .get({ url: '/cuspCode/cuspSupplierProfile/list'}, { isTransformResponse: false })
  414. .then((res) => {
  415. if (res.success) {
  416. supplierOption.value = []
  417. res.result.records.forEach(element => {
  418. var obj = {
  419. label: element.name?element.name:'无名称请维护',
  420. value: element.id?element.id:''
  421. };
  422. supplierOption.value.push( obj)
  423. });
  424. }
  425. })
  426. .finally(() => {
  427. // loading.value = false;
  428. });
  429. }
  430. function changeSupplier(prop){
  431. if(prop){
  432. supplierOption.value.map(item=>{
  433. if(item.value==prop){
  434. formData.supplierName = item.label
  435. }
  436. })
  437. }else{
  438. formData.supplier = ''
  439. formData.supplierName = ''
  440. }
  441. }
  442. /**
  443. * 值改变事件触发-树控件回调
  444. * @param key
  445. * @param value
  446. */
  447. function handleFormChange(key, value) {
  448. formData[key] = value;
  449. }
  450. return {
  451. ArriveGoodsFormShipTableRef,
  452. ArriveGoodsFormShipFormShipTable,
  453. arriveDetailsFormProductTableRef,
  454. arriveDetailsFormProductTable,
  455. validatorRules,
  456. validateInfos,
  457. activeKey,
  458. loading,
  459. formData,
  460. setFieldsValue,
  461. handleFormChange,
  462. formItemLayout,
  463. disabled,
  464. getFormData,
  465. submitForm,
  466. add,
  467. edit,
  468. formRef,
  469. onSearchProject,
  470. SelectProjectModalRef,
  471. addProject,
  472. handleDelete,
  473. BaseShipArchiveAccessoriesModalRef,
  474. viewAccessory,
  475. notAllowEdit,
  476. SelectPurchaseOrderModalRef,
  477. selectPurchaseOrderList,
  478. addAddiveGoods,
  479. Supplierlist,
  480. changeSupplier,
  481. supplierOption
  482. }
  483. }
  484. });
  485. </script>
  486. <style lang="less" scoped>
  487. /** 时间和数字输入框样式 */
  488. :deep(.ant-input-number) {
  489. width: 100%;
  490. }
  491. :deep(.ant-calendar-picker) {
  492. width: 100%;
  493. }
  494. /deep/.vxe-table--body-wrapper{
  495. height: 100% !important;
  496. }
  497. /deep/.ant-modal-body{
  498. padding: 24px !important;
  499. }
  500. /deep/.ant-form-item{
  501. margin-bottom: 8px !important;
  502. }
  503. </style>