IncidentTicketModal.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  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-col :span="8" >
  118. <a-form-model-item label="成衣销售订单号" prop="garmentSalesOrder">
  119. <a-input v-model="formState.garmentSalesOrder" placeholder="请输入" readOnly></a-input>
  120. </a-form-model-item>
  121. </a-col>
  122. </a-row>
  123. <a-row :gutter="24">
  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-col :span="8" >
  135. <a-form-model-item label="计划员" prop="planPersonnel">
  136. <a-input v-model="formState.planPersonnel" placeholder="请输入" readOnly></a-input>
  137. </a-form-model-item>
  138. </a-col>
  139. </a-row>
  140. <a-row :gutter="24">
  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-row :gutter="24">
  155. <a-col :span="24" style="height: 290px;">
  156. <a-form-model-item label="情况说明" prop="presentationCondition" class="fff">
  157. <a-input v-model="formState.presentationCondition" type="textarea" placeholder="请输入" readOnly></a-input>
  158. </a-form-model-item>
  159. </a-col>
  160. </a-row>
  161. </a-form-model>
  162. </div>
  163. <!-- 子表单区域 -->
  164. <!-- <a-button type="primary" @click="addList" style="margin-bottom: 1%;">增行</a-button> -->
  165. <a-table
  166. bordered
  167. :columns="incidentTicketChildrenTable.columns"
  168. :data-source="incidentTicketChildrenTable.dataSource"
  169. :loading="incidentTicketChildrenTable.loading"
  170. :scroll="{x: 1200,y:300 }"
  171. :pagination="false"
  172. >
  173. <!-- 自定义表头 -->
  174. <!-- <span slot="zhanghaoIdTitle" class="form-table-heard">
  175. 账套号
  176. </span> -->
  177. <span slot="exchangeRateTitle" class="form-table-heard">
  178. 汇率
  179. </span>
  180. <span slot="practicalSumTitle" class="form-table-heard">
  181. 实际事故金额
  182. </span>
  183. <!-- 汇率 -->
  184. <span slot="exchangeRate" slot-scope="text, record, index">
  185. <a-input placeholder="请输入" v-model="record.exchangeRate" @change="changeExchangeRate(record,index)"/>
  186. </span>
  187. <!-- 实际事故金额 -->
  188. <span slot="practicalSum" slot-scope="text, record, index">
  189. <a-input placeholder="请输入" v-model="record.practicalSum" @blur="changepracticalSum(record)"/>
  190. </span>
  191. <!-- U8生成运费发票号 -->
  192. <span slot="u8Invoice" slot-scope="text, record, index">
  193. <a-input placeholder="请输入" v-model="record.u8Invoice" disabled="true"/>
  194. </span>
  195. <!-- 账套号 -->
  196. <span slot="zhanghaoId" slot-scope="text, record, index">
  197. <a-select v-model="record.zhanghaoId" @change="handleChange(record,index)" style="width: 100%;">
  198. <a-select-option value="101">101</a-select-option>
  199. <a-select-option value="102">102</a-select-option>
  200. <a-select-option value="103">103</a-select-option>
  201. </a-select>
  202. </span>
  203. <!-- 备注 -->
  204. <span slot="remark" slot-scope="text, record, index">
  205. <a-input placeholder="请输入" v-model="record.remark" />
  206. </span>
  207. </a-table>
  208. <a-form-model layout="inline" ref="form" :model="formState" :rules="validatorRules">
  209. <a-row :gutter="24">
  210. <a-col :span="10" >
  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="10" >
  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: 230px;">
  223. <a-form-model-item label="财务备注" prop="financeRemark" class="caiwu" >
  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. },
  328. {
  329. title: '事故类型',
  330. align: "center",
  331. dataIndex: 'accidentType',
  332. width: '7%',
  333. // scopedSlots: { customRender: 'accidentType' },
  334. },
  335. {
  336. title: '币种',
  337. align: "center",
  338. dataIndex: 'moneyType',
  339. width: '7%',
  340. // scopedSlots: { customRender: 'accidentType' },
  341. },
  342. {
  343. title: '事故金额',
  344. align: "center",
  345. dataIndex: 'accidentSum',
  346. width: '7%',
  347. // scopedSlots: { customRender: 'accidentSum' },
  348. },
  349. {
  350. // title: '汇率',
  351. align: "center",
  352. dataIndex: 'exchangeRate',
  353. width: '10%',
  354. scopedSlots: { customRender: 'exchangeRate' },
  355. slots:{title:'exchangeRateTitle'},
  356. },
  357. {
  358. // title: '实际事故金额',
  359. align: "center",
  360. dataIndex: 'practicalSum',
  361. width: '7%',
  362. scopedSlots: { customRender: 'practicalSum' },
  363. slots:{title:'practicalSumTitle'},
  364. },
  365. {
  366. title: 'U8生成运费发票号',
  367. align: "center",
  368. dataIndex: 'u8Invoice',
  369. width: '9%',
  370. scopedSlots: { customRender: 'u8Invoice' },
  371. },
  372. {
  373. title: '账套号',
  374. align: "center",
  375. dataIndex: 'zhanghaoId',
  376. width: '9%',
  377. scopedSlots: { customRender: 'zhanghaoId' },
  378. // slots:{title:'zhanghaoIdTitle'},
  379. },
  380. {
  381. title: '备注',
  382. align: "center",
  383. dataIndex: 'remark',
  384. width: '20%',
  385. scopedSlots: { customRender: 'remark' },
  386. },
  387. ]
  388. },
  389. url: {
  390. add: "/oa/incidentTicket/add",
  391. edit: "/oa/incidentTicket/edit",
  392. incidentTicketChildren: {
  393. list: '/oa/incidentTicket/queryIncidentTicketChildrenByMainId'
  394. },
  395. }
  396. }
  397. },
  398. methods: {
  399. getHeaderList(id){
  400. getAction('/oa/incidentTicket/queryById', {id:id}).then((res) => {
  401. if(res.success){
  402. var zhuId = '' //主表id
  403. this.formState=res.result //详情
  404. this.accessory2 = this.formState.accessory2?JSON.parse(this.formState.accessory2):[]
  405. var accessory2Z =[]
  406. this.accessory2.map(item=>{
  407. accessory2Z.push(item.url)
  408. })
  409. this.accessory2 = accessory2Z
  410. this.accessory = this.formState.accessory?JSON.parse(this.formState.accessory):[]
  411. var accessoryZ=[]
  412. this.accessory.map(item =>{
  413. accessoryZ.push(item.url)
  414. })
  415. this.accessory =accessoryZ
  416. this.factorySignature = this.formState.factorySignature?JSON.parse(this.formState.factorySignature):[]
  417. var factorySignatureZ=[]
  418. this.factorySignature.map(item =>{
  419. factorySignatureZ.push(item.url)
  420. })
  421. this.factorySignature =factorySignatureZ
  422. zhuId = res.result.id
  423. this.getTable(zhuId)
  424. this.getNotifier(zhuId)
  425. }else{
  426. this.$message.warning(res.message)
  427. }
  428. })
  429. },
  430. getTable(id){
  431. getAction('/oa/incidentTicket/queryIncidentTicketChildrenByMainId', {id:id}).then((res) => {
  432. if(res.success){
  433. this.incidentTicketChildrenTable.dataSource = res.result
  434. this.incidentTicketChildrenTable.dataSource.map(item=>{
  435. if(item.practicalSum==''||!item.practicalSum){
  436. item.practicalSum = item.accidentSum
  437. }
  438. if(item.exchangeRate==''||!item.exchangeRate){
  439. item.exchangeRate = '1'
  440. }
  441. })
  442. }else{
  443. this.$message.warning(res.message)
  444. }
  445. })
  446. },
  447. getNotifier(id){
  448. getAction('/oa/incidentTicketMsg/queryByMainId', {id:id}).then((res) => {
  449. if(res.success){
  450. var noticeList =[]
  451. res.result.map(item=>{
  452. noticeList.push(item.userName)
  453. })
  454. this.formState.Noticer = noticeList.toString()
  455. console.log(this.formState.Noticer)
  456. this.$forceUpdate()
  457. }
  458. })
  459. },
  460. handleOk(){
  461. this.formState.accessory2 = (this.accessory2.length!==0&&this.accessory2)?[{"type":"file","name":this.accessory2,"status":"done","uid":1673507319016,"url":"http://220.191.168.86:18087/jeecg-boot/sys/common/static/"+this.accessory2}]:[]
  462. this.formState.accessory2 = JSON.stringify(this.formState.accessory2)
  463. var addData = 'yes'
  464. this.incidentTicketChildrenTable.dataSource.every(item=>{
  465. // if(item.zhanghaoId==''||!item.zhanghaoId){
  466. // this.$message.warning('请选择账套号!')
  467. // addData = 'no'
  468. // return false;
  469. // }
  470. if(item.exchangeRate=='' || !item.exchangeRate){
  471. this.$message.warning('请填写汇率!')
  472. addData = 'no'
  473. return false;
  474. }
  475. if(item.practicalSum=='' || !item.practicalSum){
  476. this.$message.warning('请填写实际事故金额!')
  477. addData = 'no'
  478. return false;
  479. }
  480. return true
  481. })
  482. this.$refs.form.validate(valid => {
  483. if (valid) {
  484. if(addData=='yes'){
  485. var obj = this.formState
  486. obj.incidentTicketChildrenList = this.incidentTicketChildrenTable.dataSource
  487. putAction('/oa/incidentTicket/edit', obj).then((res) => {
  488. if(res.success){
  489. this.$message.success('编辑成功')
  490. this.handleCancel()
  491. this.$emit('close')
  492. }else{
  493. this.$message.warning(res.message)
  494. }
  495. })
  496. }
  497. }
  498. })
  499. },
  500. // 改变账套号
  501. handleChange(record,index){
  502. if(index==0){
  503. this.incidentTicketChildrenTable.dataSource.map(item=>{
  504. item.zhanghaoId = record.zhanghaoId
  505. })
  506. }
  507. },
  508. changepracticalSum(record){
  509. record.practicalSum = Number(record.practicalSum).toFixed(2)
  510. this.$forceUpdate()
  511. },
  512. changeExchangeRate(record,index){
  513. if(index == 0){
  514. this.incidentTicketChildrenTable.dataSource.map(item=>{
  515. item.exchangeRate = record.exchangeRate
  516. })
  517. }
  518. },
  519. //关闭
  520. handleCancel(){
  521. this.incidentTicketChildrenTable.dataSource =[]
  522. this.formState = {}
  523. this.visible = false
  524. this.$emit('close')
  525. },
  526. // getAllTable() {
  527. // let values = this.tableKeys.map(key => getRefPromise(this, key))
  528. // return Promise.all(values)
  529. // },
  530. /** 调用完edit()方法之后会自动调用此方法 */
  531. // editAfter() {
  532. // 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')
  533. // this.$nextTick(() => {
  534. // this.form.setFieldsValue(fieldval)
  535. // })
  536. // // 加载子表数据
  537. // if (this.model.id) {
  538. // let params = { id: this.model.id }
  539. // this.requestSubTableData(this.url.incidentTicketChildren.list, params, this.incidentTicketChildrenTable)
  540. // }
  541. // },
  542. /** 整理成formData */
  543. classifyIntoFormData(allValues) {
  544. let main = Object.assign(this.model, allValues.formValue)
  545. return {
  546. ...main, // 展开
  547. incidentTicketChildrenList: allValues.tablesValue[0].values,
  548. }
  549. },
  550. validateError(msg){
  551. this.$message.error(msg)
  552. },
  553. popupCallback(row){
  554. 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'))
  555. },
  556. }
  557. }
  558. </script>
  559. <style lang="less" scoped>
  560. /deep/ .ant-table-wrapper{
  561. margin-bottom: 2%;
  562. }
  563. /deep/ .nresume .ant-input{
  564. height: 100px !important;
  565. }
  566. /deep/ .ff .ant-form-item-control {
  567. display: table;
  568. }
  569. /deep/ .ant-divider-horizontal{
  570. margin: 10px 0;
  571. }
  572. /deep/.table-page-search-wrapper .ant-form-inline .ant-form-item>.ant-form-item-label{
  573. width: 118px;
  574. }
  575. /deep/ .fff .ant-input{
  576. height: 280px !important;
  577. }
  578. /deep/ .caiwu .ant-input{
  579. height: 226px !important;
  580. }
  581. /deep/.ant-table td { white-space: nowrap; }
  582. .form-table-heard:before {
  583. content: '*';
  584. color: red;
  585. }
  586. /deep/ .ant-table td {
  587. white-space: break-spaces !important;
  588. word-break: break-word;
  589. }
  590. </style>