IncidentTicketModal.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. <template>
  2. <a-modal
  3. title="编辑"
  4. width="85%"
  5. :visible="visible"
  6. :maskClosable="false"
  7. :confirmLoading="confirmLoading"
  8. @ok="handleOk"
  9. @cancel="handleCancel"
  10. destroyOnClose
  11. >
  12. <a-spin :spinning="confirmLoading">
  13. <!-- 主表单区域 -->
  14. <div class="table-page-search-wrapper">
  15. <div >
  16. <a-form-model layout="inline" ref="form" :model="formState" :rules="validatorRules" labelAlign="right">
  17. <a-row :gutter="24">
  18. <a-col :span="8" >
  19. <a-form-model-item label="日期" prop="accidentData" >
  20. <a-input v-model="formState.accidentData" placeholder="请输入" readOnly></a-input>
  21. </a-form-model-item>
  22. </a-col>
  23. <a-col :span="8" >
  24. <a-form-model-item label="质量事故单主题" prop="accidentTheme">
  25. <a-input v-model="formState.accidentTheme" placeholder="请输入" readOnly></a-input>
  26. </a-form-model-item>
  27. </a-col>
  28. <a-col :span="8">
  29. <a-form-model-item label="质量事故单号" prop="accidentNumber">
  30. <a-input v-model="formState.accidentNumber" placeholder="请输入" readOnly></a-input>
  31. </a-form-model-item>
  32. </a-col>
  33. </a-row>
  34. <a-row :gutter="24">
  35. <a-col :span="8" >
  36. <a-form-model-item label="客户" prop="customer" >
  37. <a-input v-model="formState.customer" placeholder="请输入" readOnly></a-input>
  38. </a-form-model-item>
  39. </a-col>
  40. <a-col :span="8" >
  41. <a-form-model-item label="工厂" prop="factory">
  42. <a-input v-model="formState.factory" placeholder="请输入" readOnly></a-input>
  43. </a-form-model-item>
  44. </a-col>
  45. <a-col :span="8" >
  46. <a-form-model-item label="责任单位" prop="responsibilityCompany">
  47. <a-input v-model="formState.responsibilityCompany" placeholder="请输入" readOnly></a-input>
  48. </a-form-model-item>
  49. </a-col>
  50. </a-row>
  51. <a-divider />
  52. <a-row :gutter="24">
  53. <a-col :span="6" >
  54. <a-form-model-item label="责任人1" prop="responsibilityPerson1" >
  55. <j-search-select-tag v-model="formState.responsibilityPerson1" placeholder=""
  56. dict="sys_user,realname,username" @search="searchName" :disabled="true"/>
  57. </a-form-model-item>
  58. </a-col>
  59. <a-col :span="6" >
  60. <a-form-model-item label="责任人2" prop="responsibilityPerson2" >
  61. <j-search-select-tag v-model="formState.responsibilityPerson2" placeholder=""
  62. dict="sys_user,realname,username" @search="searchName" :disabled="true"/>
  63. </a-form-model-item>
  64. </a-col>
  65. <a-col :span="6" >
  66. <a-form-model-item label="责任人3" prop="responsibilityPerson3">
  67. <j-search-select-tag v-model="formState.responsibilityPerson3" placeholder=""
  68. dict="sys_user,realname,username" @search="searchName" :disabled="true"/>
  69. </a-form-model-item>
  70. </a-col>
  71. <a-col :span="6" >
  72. <a-form-model-item label="责任人4" prop="responsibilityPerson4">
  73. <j-search-select-tag v-model="formState.responsibilityPerson4" placeholder=""
  74. dict="sys_user,realname,username" @search="searchName" :disabled="true"/>
  75. </a-form-model-item>
  76. </a-col>
  77. </a-row>
  78. <a-row :gutter="24">
  79. <a-col :span="6" >
  80. <a-form-model-item label="金额1" prop="sum1" >
  81. <a-input v-model="formState.sum1" placeholder="请输入" readOnly></a-input>
  82. </a-form-model-item>
  83. </a-col>
  84. <a-col :span="6" >
  85. <a-form-model-item label="金额2" prop="sum2" >
  86. <a-input v-model="formState.sum2" placeholder="请输入" readOnly></a-input>
  87. </a-form-model-item>
  88. </a-col>
  89. <a-col :span="6" >
  90. <a-form-model-item label="金额3" prop="sum3">
  91. <a-input v-model="formState.sum3" placeholder="请输入" readOnly></a-input>
  92. </a-form-model-item>
  93. </a-col>
  94. <a-col :span="6" >
  95. <a-form-model-item label="金额4" prop="sum4">
  96. <a-input v-model="formState.sum4" placeholder="请输入" readOnly></a-input>
  97. </a-form-model-item>
  98. </a-col>
  99. </a-row>
  100. <a-divider />
  101. <a-row :gutter="24">
  102. <a-col :span="8" >
  103. <a-form-model-item label="币种" prop="moneyType">
  104. <a-input v-model="formState.moneyType" placeholder="请输入" readOnly></a-input>
  105. </a-form-model-item>
  106. </a-col>
  107. <a-col :span="8" >
  108. <a-form-model-item label="总金额" prop="totalMoney" >
  109. <a-input v-model="formState.totalMoney" placeholder="请输入" readOnly></a-input>
  110. </a-form-model-item>
  111. </a-col>
  112. <a-col :span="8" >
  113. <a-form-model-item label="业务类型" prop="businessType">
  114. <a-input v-model="formState.businessType" placeholder="请输入" readOnly></a-input>
  115. </a-form-model-item>
  116. </a-col>
  117. </a-row>
  118. <a-row :gutter="24">
  119. <a-col :span="8" >
  120. <a-form-model-item label="成衣销售订单号" prop="garmentSalesOrder">
  121. <a-input v-model="formState.garmentSalesOrder" placeholder="请输入" readOnly></a-input>
  122. </a-form-model-item>
  123. </a-col>
  124. <a-col :span="8" >
  125. <a-form-model-item label="款号" prop="styleNumber" >
  126. <a-input v-model="formState.styleNumber" placeholder="请输入" readOnly></a-input>
  127. </a-form-model-item>
  128. </a-col>
  129. <a-col :span="8" >
  130. <a-form-model-item label="物料" prop="material">
  131. <a-input v-model="formState.material" placeholder="请输入" readOnly></a-input>
  132. </a-form-model-item>
  133. </a-col>
  134. </a-row>
  135. <a-row :gutter="24">
  136. <a-col :span="8" >
  137. <a-form-model-item label="计划员" prop="planPersonnel">
  138. <a-input v-model="formState.planPersonnel" placeholder="请输入" readOnly></a-input>
  139. </a-form-model-item>
  140. </a-col>
  141. <a-col :span="8" >
  142. <a-form-model-item label="业务员" prop="businessPeople" >
  143. <j-search-select-tag v-model="formState.businessPeople" placeholder=""
  144. dict="sys_user,realname,username" @search="searchName" :disabled="true"/>
  145. </a-form-model-item>
  146. </a-col>
  147. <a-col :span="8" >
  148. <a-form-model-item label="QC" prop="qualityControl">
  149. <j-search-select-tag v-model="formState.qualityControl" placeholder=""
  150. dict="sys_user,realname,username" @search="searchName" :disabled="true"/>
  151. </a-form-model-item>
  152. </a-col>
  153. </a-row>
  154. </a-form-model>
  155. </div>
  156. <!-- 子表单区域 -->
  157. <!-- <a-button type="primary" @click="addList" style="margin-bottom: 1%;">增行</a-button> -->
  158. <a-table
  159. bordered
  160. :columns="incidentTicketChildrenTable.columns"
  161. :data-source="incidentTicketChildrenTable.dataSource"
  162. :loading="incidentTicketChildrenTable.loading"
  163. :scroll="{x: 1500,y:300 }"
  164. :pagination="false"
  165. >
  166. <!-- 自定义表头 -->
  167. <!-- <span slot="zhanghaoIdTitle" class="form-table-heard">
  168. 账套号
  169. </span> -->
  170. <span slot="exchangeRateTitle" class="form-table-heard">
  171. 汇率
  172. </span>
  173. <span slot="practicalSumTitle" class="form-table-heard">
  174. 实际事故金额
  175. </span>
  176. <!-- 汇率 -->
  177. <span slot="exchangeRate" slot-scope="text, record, index">
  178. <a-input placeholder="请输入" v-model="record.exchangeRate" @change="changeExchangeRate(record)"/>
  179. </span>
  180. <!-- 实际事故金额 -->
  181. <span slot="practicalSum" slot-scope="text, record, index">
  182. <a-input placeholder="请输入" v-model="record.practicalSum" @blur="changepracticalSum(record)"/>
  183. </span>
  184. <!-- U8生成运费发票号 -->
  185. <span slot="u8Invoice" slot-scope="text, record, index">
  186. <a-input placeholder="请输入" v-model="record.u8Invoice" />
  187. </span>
  188. <!-- 账套号 -->
  189. <span slot="zhanghaoId" slot-scope="text, record, index">
  190. <a-select v-model="record.zhanghaoId" @change="handleChange(record)" style="width: 100%;">
  191. <a-select-option value="101">101</a-select-option>
  192. <a-select-option value="102">102</a-select-option>
  193. <a-select-option value="103">103</a-select-option>
  194. </a-select>
  195. </span>
  196. <!-- 备注 -->
  197. <span slot="remark" slot-scope="text, record, index">
  198. <a-input placeholder="请输入" v-model="record.remark" />
  199. </span>
  200. </a-table>
  201. <a-form-model layout="inline" ref="form" :model="formState" :rules="validatorRules">
  202. <a-row :gutter="24">
  203. <a-col :span="24" style="height: 290px;">
  204. <a-form-model-item label="情况说明" prop="presentationCondition" class="fff">
  205. <a-input v-model="formState.presentationCondition" type="textarea" placeholder="请输入" readOnly></a-input>
  206. </a-form-model-item>
  207. </a-col>
  208. </a-row>
  209. <a-row :gutter="24">
  210. <a-col :span="8" >
  211. <a-form-model-item label="附件上传" prop="accessory" class="ff">
  212. <j-upload v-model="accessory" :disabled="true"></j-upload>
  213. </a-form-model-item>
  214. </a-col>
  215. <a-col :span="8" >
  216. <a-form-model-item label="工厂签章" prop="factorySignature" class="ff">
  217. <j-upload v-model="factorySignature" :disabled="true"></j-upload>
  218. </a-form-model-item>
  219. </a-col>
  220. </a-row>
  221. <a-row :gutter="24">
  222. <a-col :span="24" style="height: 125px;">
  223. <a-form-model-item label="财务备注" prop="financeRemark" class="nresume" >
  224. <a-input v-model="formState.financeRemark" type="textarea" placeholder="请输入"></a-input>
  225. </a-form-model-item>
  226. </a-col>
  227. </a-row>
  228. <a-row :gutter="24">
  229. <a-col :span="8">
  230. <a-form-model-item label="财务添加附件" prop="accessory2" class="ff">
  231. <j-upload v-model="accessory2" ></j-upload>
  232. <!-- <a-input v-model="formState.accessory2" placeholder="请输入"></a-input> -->
  233. </a-form-model-item>
  234. </a-col>
  235. <a-col :span="8">
  236. <a-form-model-item label="通知人" prop="Noticer">
  237. <a-input v-model="formState.Noticer" placeholder="请输入"></a-input>
  238. </a-form-model-item>
  239. </a-col>
  240. </a-row>
  241. <a-row :gutter="24">
  242. <a-col :span="8" >
  243. <a-form-model-item label="填报人" prop="informant">
  244. <a-input v-model="formState.informant" placeholder="请输入" readOnly></a-input>
  245. </a-form-model-item>
  246. </a-col>
  247. </a-row>
  248. </a-form-model>
  249. <!-- <j-editable-table
  250. :ref="refKeys[0]"
  251. :loading="incidentTicketChildrenTable.loading"
  252. :columns="incidentTicketChildrenTable.columns"
  253. :dataSource="incidentTicketChildrenTable.dataSource"
  254. :maxHeight="300"
  255. :rowNumber="true"
  256. :rowSelection="true"
  257. :actionButton="true"/> -->
  258. <!-- <div class="table-page-search-wrapper">
  259. <a-form-model layout="inline" ref="form" :model="formState" :rules="validatorRules">
  260. <a-row :gutter="24">
  261. <a-col :md="24" :sm="8">
  262. <a-form-model-item label="财务备注" class="nresume" style="height:100px !important">
  263. <a-input type="textarea" placeholder="请输入" v-model="formState.demo"/>
  264. </a-form-model-item>
  265. </a-col>
  266. </a-row>
  267. </a-form-model>
  268. </div> -->
  269. <!-- </a-tab-pane> -->
  270. </div>
  271. </a-spin>
  272. </a-modal>
  273. </template>
  274. <script>
  275. import pick from 'lodash.pick'
  276. import { FormTypes,getRefPromise } from '@/utils/JEditableTableUtil'
  277. import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
  278. import { validateDuplicateValue } from '@/utils/util'
  279. import JDictSelectTag from "@/components/dict/JDictSelectTag"
  280. import JUpload from '@/components/jeecg/JUpload'
  281. import { putAction,getAction } from '@/api/manage'
  282. import JSearchSelectTag from '@/components/dict/JSearchSelectTag'
  283. export default {
  284. name: 'IncidentTicketModal',
  285. mixins: [JEditableTableMixin],
  286. components: {
  287. JDictSelectTag,
  288. JUpload,
  289. JSearchSelectTag
  290. },
  291. data() {
  292. return {
  293. labelCol: {
  294. span: 8
  295. },
  296. wrapperCol: {
  297. span: 16
  298. },
  299. labelCol2: {
  300. span: 3
  301. },
  302. wrapperCol2: {
  303. span: 20
  304. },
  305. formState:{},
  306. // 新增时子表默认添加几行空数据
  307. addDefaultRowNum: 1,
  308. validatorRules: {
  309. financeRemark:[{required: true, message: '财务备注不能为空!'}],
  310. },
  311. refKeys: ['incidentTicketChildren', ],
  312. tableKeys:['incidentTicketChildren', ],
  313. activeKey: 'incidentTicketChildren',
  314. accessory2:[],
  315. accessory:[],
  316. factorySignature:[],
  317. // 森_工厂质量事故单-子表
  318. incidentTicketChildrenTable: {
  319. loading: false,
  320. dataSource: [],
  321. columns: [
  322. {
  323. title: '计划单号',
  324. align: "center",
  325. dataIndex: 'planNumber',
  326. width: '7%',
  327. // scopedSlots: { customRender: 'planNumber' },
  328. },
  329. {
  330. title: '事故类型',
  331. align: "center",
  332. dataIndex: 'accidentType',
  333. width: '7%',
  334. // scopedSlots: { customRender: 'accidentType' },
  335. },
  336. {
  337. title: '事故金额',
  338. align: "center",
  339. dataIndex: 'accidentSum',
  340. width: '7%',
  341. // scopedSlots: { customRender: 'accidentSum' },
  342. },
  343. {
  344. // title: '汇率',
  345. align: "center",
  346. dataIndex: 'exchangeRate',
  347. width: '9%',
  348. scopedSlots: { customRender: 'exchangeRate' },
  349. slots:{title:'exchangeRateTitle'},
  350. },
  351. {
  352. // title: '实际事故金额',
  353. align: "center",
  354. dataIndex: 'practicalSum',
  355. width: '7%',
  356. scopedSlots: { customRender: 'practicalSum' },
  357. slots:{title:'practicalSumTitle'},
  358. },
  359. {
  360. title: 'U8生成运费发票号',
  361. align: "center",
  362. dataIndex: 'u8Invoice',
  363. width: '9%',
  364. scopedSlots: { customRender: 'u8Invoice' },
  365. },
  366. {
  367. title: '账套号',
  368. align: "center",
  369. dataIndex: 'zhanghaoId',
  370. width: '9%',
  371. scopedSlots: { customRender: 'zhanghaoId' },
  372. // slots:{title:'zhanghaoIdTitle'},
  373. },
  374. {
  375. title: '备注',
  376. align: "center",
  377. dataIndex: 'remark',
  378. width: '20%',
  379. scopedSlots: { customRender: 'remark' },
  380. },
  381. ]
  382. },
  383. url: {
  384. add: "/oa/incidentTicket/add",
  385. edit: "/oa/incidentTicket/edit",
  386. incidentTicketChildren: {
  387. list: '/oa/incidentTicket/queryIncidentTicketChildrenByMainId'
  388. },
  389. }
  390. }
  391. },
  392. methods: {
  393. getHeaderList(id){
  394. getAction('/oa/incidentTicket/queryById', {id:id}).then((res) => {
  395. if(res.success){
  396. var zhuId = '' //主表id
  397. this.formState=res.result //详情
  398. this.accessory2 = this.formState.accessory2?JSON.parse(this.formState.accessory2):[]
  399. var accessory2Z =[]
  400. this.accessory2.map(item=>{
  401. accessory2Z.push(item.url)
  402. })
  403. this.accessory2 = accessory2Z
  404. this.accessory = this.formState.accessory?JSON.parse(this.formState.accessory):[]
  405. var accessoryZ=[]
  406. this.accessory.map(item =>{
  407. accessoryZ.push(item.url)
  408. })
  409. this.accessory =accessoryZ
  410. this.factorySignature = this.formState.factorySignature?JSON.parse(this.formState.factorySignature):[]
  411. var factorySignatureZ=[]
  412. this.factorySignature.map(item =>{
  413. factorySignatureZ.push(item.url)
  414. })
  415. this.factorySignature =factorySignatureZ
  416. zhuId = res.result.id
  417. this.getTable(zhuId)
  418. this.getNotifier(zhuId)
  419. }else{
  420. this.$message.warning(res.message)
  421. }
  422. })
  423. },
  424. getTable(id){
  425. getAction('/oa/incidentTicket/queryIncidentTicketChildrenByMainId', {id:id}).then((res) => {
  426. if(res.success){
  427. this.incidentTicketChildrenTable.dataSource = res.result
  428. this.incidentTicketChildrenTable.dataSource.map(item=>{
  429. if(item.practicalSum==''||!item.practicalSum){
  430. item.practicalSum = item.accidentSum
  431. }
  432. if(item.exchangeRate==''||!item.exchangeRate){
  433. item.exchangeRate = '1'
  434. }
  435. })
  436. }else{
  437. this.$message.warning(res.message)
  438. }
  439. })
  440. },
  441. getNotifier(id){
  442. getAction('/oa/incidentTicketMsg/queryByMainId', {id:id}).then((res) => {
  443. if(res.success){
  444. var noticeList =[]
  445. res.result.map(item=>{
  446. noticeList.push(item.userName)
  447. })
  448. this.formState.Noticer = noticeList.toString()
  449. console.log(this.formState.Noticer)
  450. this.$forceUpdate()
  451. }
  452. })
  453. },
  454. handleOk(){
  455. this.formState.accessory2 = [{"type":"file","name":this.accessory2,"status":"done","uid":1673507319016,"url":"http://220.191.168.86:18087/jeecg-boot/sys/common/static/"+this.accessory2}]
  456. this.formState.accessory2 = JSON.stringify(this.formState.accessory2)
  457. var addData = 'yes'
  458. this.incidentTicketChildrenTable.dataSource.every(item=>{
  459. // if(item.zhanghaoId==''||!item.zhanghaoId){
  460. // this.$message.warning('请选择账套号!')
  461. // addData = 'no'
  462. // return false;
  463. // }
  464. if(item.exchangeRate=='' || !item.exchangeRate){
  465. this.$message.warning('请填写汇率!')
  466. addData = 'no'
  467. return false;
  468. }
  469. if(item.practicalSum=='' || !item.practicalSum){
  470. this.$message.warning('请填写实际事故金额!')
  471. addData = 'no'
  472. return false;
  473. }
  474. return true
  475. })
  476. this.$refs.form.validate(valid => {
  477. if (valid) {
  478. if(addData=='yes'){
  479. var obj = this.formState
  480. obj.incidentTicketChildrenList = this.incidentTicketChildrenTable.dataSource
  481. putAction('/oa/incidentTicket/edit', obj).then((res) => {
  482. if(res.success){
  483. this.$message.success('编辑成功')
  484. this.handleCancel()
  485. this.$emit('close')
  486. }else{
  487. this.$message.warning(res.message)
  488. }
  489. })
  490. }
  491. }
  492. })
  493. },
  494. // 改变账套号
  495. handleChange(record){
  496. this.incidentTicketChildrenTable.dataSource.map(item=>{
  497. item.zhanghaoId = record.zhanghaoId
  498. })
  499. },
  500. changepracticalSum(record){
  501. record.practicalSum = Number(record.practicalSum).toFixed(2)
  502. this.$forceUpdate()
  503. },
  504. changeExchangeRate(record){
  505. this.incidentTicketChildrenTable.dataSource.map(item=>{
  506. item.exchangeRate = record.exchangeRate
  507. })
  508. },
  509. //关闭
  510. handleCancel(){
  511. this.incidentTicketChildrenTable.dataSource =[]
  512. this.formState = {}
  513. this.visible = false
  514. this.$emit('close')
  515. },
  516. // getAllTable() {
  517. // let values = this.tableKeys.map(key => getRefPromise(this, key))
  518. // return Promise.all(values)
  519. // },
  520. /** 调用完edit()方法之后会自动调用此方法 */
  521. // editAfter() {
  522. // let fieldval = pick(this.model,'accidentData','accidentTheme','accidentPersonLiable','supplier','personLiable','accidentNumber','customer','factory','responsibilityPerson1','responsibilityPerson2','responsibilityPerson3','responsibilityPerson4','responsibilityPerson5','sum1','sum2','sum3','sum4','sum5','responsibilityCompany','moneyType','totalMoney','businessType','garmentSalesOrder','styleNumber','material','planPersonnel','businessPeople','qualityControl','planNumber','accidentType','accidentSum','presentationCondition','accessory','informant','factorySignature','financeRemark','accessory2','isLeaders','incidentTicketId','tableNameChildren')
  523. // this.$nextTick(() => {
  524. // this.form.setFieldsValue(fieldval)
  525. // })
  526. // // 加载子表数据
  527. // if (this.model.id) {
  528. // let params = { id: this.model.id }
  529. // this.requestSubTableData(this.url.incidentTicketChildren.list, params, this.incidentTicketChildrenTable)
  530. // }
  531. // },
  532. /** 整理成formData */
  533. classifyIntoFormData(allValues) {
  534. let main = Object.assign(this.model, allValues.formValue)
  535. return {
  536. ...main, // 展开
  537. incidentTicketChildrenList: allValues.tablesValue[0].values,
  538. }
  539. },
  540. validateError(msg){
  541. this.$message.error(msg)
  542. },
  543. popupCallback(row){
  544. this.form.setFieldsValue(pick(row,'accidentData','accidentTheme','accidentPersonLiable','supplier','personLiable','accidentNumber','customer','factory','responsibilityPerson1','responsibilityPerson2','responsibilityPerson3','responsibilityPerson4','responsibilityPerson5','sum1','sum2','sum3','sum4','sum5','responsibilityCompany','moneyType','totalMoney','businessType','garmentSalesOrder','styleNumber','material','planPersonnel','businessPeople','qualityControl','planNumber','accidentType','accidentSum','presentationCondition','accessory','informant','factorySignature','financeRemark','accessory2','isLeaders','incidentTicketId','tableNameChildren'))
  545. },
  546. }
  547. }
  548. </script>
  549. <style lang="less" scoped>
  550. /deep/ .ant-table-wrapper{
  551. margin-bottom: 2%;
  552. }
  553. /deep/ .nresume .ant-input{
  554. height: 100px !important;
  555. }
  556. /deep/ .ff .ant-form-item-control {
  557. display: table;
  558. }
  559. /deep/ .ant-divider-horizontal{
  560. margin: 10px 0;
  561. }
  562. /deep/.table-page-search-wrapper .ant-form-inline .ant-form-item>.ant-form-item-label{
  563. width: 118px;
  564. }
  565. /deep/ .fff .ant-input{
  566. height: 280px !important;
  567. }
  568. /deep/.ant-table td { white-space: nowrap; }
  569. .form-table-heard:before {
  570. content: '*';
  571. color: red;
  572. }
  573. </style>