ArriveGoodsFormForm.vue 22 KB

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