detailPage.vue 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058
  1. <template>
  2. <div>
  3. <div class="customer-head">
  4. <div class="customer-back" v-if="!home">
  5. <el-button
  6. type="danger"
  7. style="border: none;background: none;color: red"
  8. icon="el-icon-arrow-left"
  9. @click="backToList(0)"
  10. >返回列表
  11. </el-button>
  12. </div>
  13. <div class="customer-back" v-else>
  14. <el-button
  15. type="danger"
  16. style="border: none;background: none;color: red"
  17. icon="el-icon-arrow-left"
  18. @click="backToList(1)"
  19. >返回列表
  20. </el-button>
  21. <el-button
  22. type="danger"
  23. style="border: none;background: none;color: red"
  24. icon="el-icon-arrow-left"
  25. @click="backToList(2)"
  26. >返回台账
  27. </el-button>
  28. </div>
  29. </div>
  30. <containerTitle title="委托信息" style="margin-top: 50px"></containerTitle>
  31. <basic-container>
  32. <avue-form :option="goodsOptionForm" v-model="goodsForm">
  33. <template slot-scope="scope" slot="corpId">
  34. <crop-select
  35. v-model="goodsForm.corpId"
  36. disabled
  37. ></crop-select>
  38. </template>
  39. <template slot-scope="scope" slot="station">
  40. <port-info
  41. v-model="goodsForm.station"
  42. :disabled="goodsForm.status >= 1"
  43. />
  44. </template>
  45. <template slot-scope="scope" slot="agentId">
  46. <crop-select
  47. :disabled="goodsForm.status >= 1"
  48. v-model="goodsForm.agentId"
  49. ></crop-select>
  50. </template>
  51. <template slot-scope="scope" slot="polId">
  52. <port-info
  53. v-model="goodsForm.polId"
  54. :disabled="goodsForm.status >= 1"
  55. />
  56. </template>
  57. <template slot-scope="scope" slot="podId">
  58. <port-info
  59. v-model="goodsForm.podId"
  60. :disabled="goodsForm.status >= 1"
  61. />
  62. </template>
  63. </avue-form>
  64. </basic-container>
  65. <containerTitle title="其他信息"></containerTitle>
  66. <basic-container :showBtn="true" ref="other">
  67. <avue-form :option="goodsOptionFormTwo" v-model="goodsForm">
  68. <template slot-scope="scope" slot="corpId">
  69. <crop-select
  70. v-model="goodsForm.corpId"
  71. disabled
  72. ></crop-select>
  73. </template>
  74. <template slot-scope="scope" slot="station">
  75. <port-info
  76. v-model="goodsForm.station"
  77. :disabled="goodsForm.status >= 1"
  78. />
  79. </template>
  80. <template slot-scope="scope" slot="agentId">
  81. <crop-select
  82. :disabled="goodsForm.status >= 1"
  83. v-model="goodsForm.agentId"
  84. ></crop-select>
  85. </template>
  86. <template slot-scope="scope" slot="polId">
  87. <port-info
  88. v-model="goodsForm.polId"
  89. type="id"
  90. :disabled="goodsForm.status >= 1"
  91. />
  92. </template>
  93. <template slot-scope="scope" slot="podId">
  94. <port-info
  95. v-model="goodsForm.podId"
  96. type="id"
  97. :disabled="goodsForm.status >= 1"
  98. />
  99. </template>
  100. </avue-form>
  101. </basic-container>
  102. <containerTitle
  103. title="起止地信息"></containerTitle>
  104. <basic-container>
  105. <el-table
  106. ref="singleTable"
  107. :data="tableData"
  108. size="mini"
  109. :header-cell-style="{color:'#000',background:'#fafafa'}"
  110. style="width: 100%">
  111. <el-table-column
  112. property="date"
  113. align="center"
  114. width="40">
  115. <template slot-scope="scope">
  116. <span v-if="scope.$index == 0">
  117. <el-button type="primary" size="mini" circle>起</el-button>
  118. </span>
  119. <span v-else-if="scope.$index === tableData.length-1">
  120. <el-button type="success" size="mini" circle>止</el-button>
  121. </span>
  122. <span v-else>
  123. <el-button type="warning" size="mini" circle>途</el-button>
  124. <!-- <el-button v-if="goodsForm.status === 2" type="warning" size="mini" circle>途</el-button>-->
  125. <!-- <el-tooltip v-else class="item" effect="dark" content="删除" placement="right">-->
  126. <!-- <el-button type="danger" icon="el-icon-delete" size="mini" circle-->
  127. <!-- @click="deleteAddress(scope)"></el-button>-->
  128. <!-- </el-tooltip>-->
  129. </span>
  130. </template>
  131. </el-table-column>
  132. <el-table-column
  133. type="index"
  134. label="序号"
  135. align="center"
  136. width="60">
  137. </el-table-column>
  138. <el-table-column
  139. property="corpName"
  140. label="货运地点"
  141. align="center"
  142. show-overflow-tooltip
  143. width="200">
  144. </el-table-column>
  145. <!-- <el-table-column-->
  146. <!-- property="province"-->
  147. <!-- label="省市区"-->
  148. <!-- align="center"-->
  149. <!-- width="280">-->
  150. <!-- <template slot-scope="scope">-->
  151. <!-- <el-cascader-->
  152. <!-- size="small"-->
  153. <!-- style="width: 100%;"-->
  154. <!-- v-model="scope.row.region"-->
  155. <!-- disabled-->
  156. <!-- :props="treeOption"></el-cascader>-->
  157. <!-- </template>-->
  158. <!-- </el-table-column>-->
  159. <el-table-column
  160. property="contacts"
  161. align="center"
  162. width="150"
  163. show-overflow-tooltip
  164. label="联系人">
  165. </el-table-column>
  166. <el-table-column
  167. property="tel"
  168. align="center"
  169. width="180"
  170. show-overflow-tooltip
  171. label="电话">
  172. </el-table-column>
  173. <el-table-column
  174. property="address"
  175. align="center"
  176. show-overflow-tooltip
  177. label="详细地址">
  178. </el-table-column>
  179. <el-table-column
  180. property="remarks"
  181. align="center"
  182. show-overflow-tooltip
  183. label="备注">
  184. </el-table-column>
  185. </el-table>
  186. </basic-container>
  187. <containerTitle title="车辆信息"></containerTitle>
  188. <basic-container>
  189. <avue-crud
  190. :data="entrustList"
  191. @selection-change="selectionChange"
  192. :option="entrustOptionTwoT"
  193. ref="crudBoxTwo"
  194. v-if="KeyBoxTwo>0"
  195. @resetColumn="resetColumnBoxTwo"
  196. @saveColumn="saveColumnBoxTwo"
  197. @row-save="(row,done,loading)=>{rowSaveT(row,0,done,loading)}"
  198. @row-update="rowSaveWell">
  199. <template slot="menuLeft" slot-scope="{size}">
  200. <el-button type="success" icon="el-icon-check" :size="size" @click="batchScheduling"
  201. :disabled="selectionList.length === 0" v-if="roleNameTwo.indexOf('总调度') === -1">批量调度
  202. </el-button>
  203. </template>
  204. <template slot="plateNo" slot-scope="{row}">
  205. <span class="el-button--text" style="cursor: pointer"
  206. @click="openTrack(row)">{{ row.plateNo }}</span>
  207. </template>
  208. <template slot-scope="{row}" slot="fleetId">
  209. <crop-select
  210. v-if="row.$cellEdit"
  211. v-model="row.fleetId"
  212. @getCorpData="(data)=>{getfleetIdT(data,row)}"
  213. corpType="CD"
  214. ></crop-select>
  215. <span v-else>{{ row.fleetName }}</span>
  216. </template>
  217. <template slot-scope="{row,index}" slot="menu">
  218. <el-button
  219. type="text"
  220. size="small"
  221. v-if="row.status===0"
  222. @click="rowSaveT(row,index)"
  223. >{{ row.$cellEdit ? '保 存' : '修 改' }}
  224. </el-button>
  225. <el-button
  226. size="small"
  227. type="text"
  228. @click="designate(row, index)"
  229. v-if="row.status === 0"
  230. >调 度
  231. </el-button>
  232. <el-button
  233. size="small"
  234. type="text"
  235. @click="cancelDesignate(row, index)"
  236. v-if="row.status===1"
  237. >取消调度
  238. </el-button>
  239. <el-button
  240. size="small"
  241. type="text"
  242. @click="changeFleetT(row, index)"
  243. v-if="row.status !== 0 || row.status !==1 || row.status !==4"
  244. >变 更
  245. </el-button>
  246. <el-button
  247. size="small"
  248. type="text"
  249. @click="recordsOfChanges(row, index)"
  250. v-if="row.status > 1"
  251. >变更记录
  252. </el-button>
  253. </template>
  254. </avue-crud>
  255. </basic-container>
  256. <span>
  257. <!-- <containerTitle title="费用明细"></containerTitle>-->
  258. <!-- <basic-container>-->
  259. <!-- <el-tabs v-model="activeIndex" @tab-click="handleSelect">-->
  260. <!-- <el-tab-pane label="应收" name="1"></el-tab-pane>-->
  261. <!-- <el-tab-pane label="应付" name="2"></el-tab-pane>-->
  262. <!-- </el-tabs>-->
  263. <!-- <avue-crud-->
  264. <!-- v-if="activeIndex === '1'"-->
  265. <!-- :data="collectionList"-->
  266. <!-- :option="collectionOption"-->
  267. <!-- ref="collection"-->
  268. <!-- @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"-->
  269. <!-- @row-update="rowSave"-->
  270. <!-- @row-del="makeDel">-->
  271. <!-- <template slot-scope="{row}" slot="corpId">-->
  272. <!-- <crop-select-->
  273. <!-- v-if="row.$cellEdit"-->
  274. <!-- v-model="row.corpId"-->
  275. <!-- @getCorpData="(data)=>{getfleetId(data,row)}"-->
  276. <!-- ></crop-select>-->
  277. <!-- <span v-else>{{row.corpName}}</span>-->
  278. <!-- </template>-->
  279. <!-- <template slot-scope="{row}" slot="feeId">-->
  280. <!-- <breakdown-select-->
  281. <!-- v-if="row.$cellEdit"-->
  282. <!-- v-model="row.feeId"-->
  283. <!-- @selectValue="(value) => selectValue(value,row)"-->
  284. <!-- :configuration="breakConfiguration"-->
  285. <!-- >-->
  286. <!-- </breakdown-select>-->
  287. <!-- <span v-else>{{ row.feeName }}</span>-->
  288. <!-- </template>-->
  289. <!-- <template slot-scope="{row,index}" slot="menu">-->
  290. <!-- <el-button-->
  291. <!-- type="text"-->
  292. <!-- size="small"-->
  293. <!-- :icon="row.$cellEdit?'el-icon-circle-plus-outline':'el-icon-edit'"-->
  294. <!-- @click="rowCell(row,index)"-->
  295. <!-- >{{row.$cellEdit?'保存':'编辑'}}</el-button>-->
  296. <!-- <el-button type="text"-->
  297. <!-- icon="el-icon-delete"-->
  298. <!-- size="small"-->
  299. <!-- @click="$refs.collection.rowDel(row,index)"-->
  300. <!-- >删除</el-button>-->
  301. <!-- </template>-->
  302. <!-- <template slot="menuLeft">-->
  303. <!-- <el-button type="primary" icon="el-icon-plus" @click="addRowCollection" size="small">录入明细</el-button>-->
  304. <!-- </template>-->
  305. <!-- </avue-crud>-->
  306. <!-- <avue-crud-->
  307. <!-- v-if="activeIndex === '2'"-->
  308. <!-- :data="paymentList"-->
  309. <!-- :option="paymentOption"-->
  310. <!-- ref="payment"-->
  311. <!-- @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"-->
  312. <!-- @row-update="rowSave"-->
  313. <!-- @row-del="feeDel"-->
  314. <!-- >-->
  315. <!-- <template slot-scope="{row}" slot="corpId">-->
  316. <!-- <crop-select-->
  317. <!-- v-if="row.$cellEdit"-->
  318. <!-- v-model="row.corpId"-->
  319. <!-- @getCorpData="(data)=>{getfleetId(data,row)}"-->
  320. <!-- ></crop-select>-->
  321. <!-- <span v-else>{{row.corpName}}</span>-->
  322. <!-- </template>-->
  323. <!-- <template slot-scope="{row}" slot="feeId">-->
  324. <!-- <breakdown-select-->
  325. <!-- v-if="row.$cellEdit"-->
  326. <!-- v-model="row.feeId"-->
  327. <!-- @selectValue="(value) => selectValue(value,row)"-->
  328. <!-- :configuration="breakConfiguration"-->
  329. <!-- >-->
  330. <!-- </breakdown-select>-->
  331. <!-- <span v-else>{{ row.feeName }}</span>-->
  332. <!-- </template>-->
  333. <!-- <template slot-scope="{row,index}" slot="menu">-->
  334. <!-- <el-button-->
  335. <!-- type="text"-->
  336. <!-- size="small"-->
  337. <!-- :icon="row.$cellEdit?'el-icon-circle-plus-outline':'el-icon-edit'"-->
  338. <!-- @click="paymentRowCell(row,index)"-->
  339. <!-- >{{row.$cellEdit?'保存':'编辑'}}</el-button>-->
  340. <!-- <el-button type="text"-->
  341. <!-- icon="el-icon-delete"-->
  342. <!-- size="small"-->
  343. <!-- @click="$refs.payment.rowDel(row,index)"-->
  344. <!-- >删除</el-button>-->
  345. <!-- </template>-->
  346. <!-- <template slot="menuLeft">-->
  347. <!-- <el-button type="primary" icon="el-icon-plus" @click="addRowPayment" size="small">录入明细</el-button>-->
  348. <!-- </template>-->
  349. <!-- </avue-crud>-->
  350. <!-- </basic-container>-->
  351. </span>
  352. <containerTitle title="杂费明细"></containerTitle>
  353. <basic-container>
  354. <el-tabs v-model="activeIndex" @tab-click="handleSelect">
  355. <el-tab-pane label="应收" name="1"></el-tab-pane>
  356. <el-tab-pane label="应付" name="2"></el-tab-pane>
  357. </el-tabs>
  358. <avue-crud
  359. v-if="activeIndex === '1'"
  360. :data="collectionList"
  361. :key="key"
  362. :option="collectionOption"
  363. ref="collection"
  364. @resetColumn="resetColumnCollection"
  365. @saveColumn="saveColumnCollection"
  366. @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
  367. @row-update="rowSave"
  368. @row-del="makeDel">
  369. <template slot-scope="{row}" slot="corpId">
  370. <crop-select
  371. v-if="row.$cellEdit"
  372. v-model="row.corpId"
  373. @getCorpData="(data)=>{getfleetId(data,row)}"
  374. ></crop-select>
  375. <span v-else>{{ row.corpName }}</span>
  376. </template>
  377. <template slot="plateNoHeader" slot-scope="{column}">
  378. {{ column.label }}<span style="color:#F56C6C">*</span>
  379. </template>
  380. <template slot="feeIdHeader" slot-scope="{column}">
  381. {{ column.label }}<span style="color:#F56C6C">*</span>
  382. </template>
  383. <template slot-scope="{row}" slot="feeId">
  384. <breakdown-select
  385. v-if="row.$cellEdit"
  386. v-model="row.feeId"
  387. @selectValue="(value) => selectValue(value,row)"
  388. :configuration="breakConfiguration"
  389. >
  390. </breakdown-select>
  391. <span v-else>{{ row.feeName }}</span>
  392. </template>
  393. <template slot-scope="{row,index}" slot="menu">
  394. <el-button
  395. type="text"
  396. size="small"
  397. :icon="row.$cellEdit?'el-icon-circle-plus-outline':'el-icon-edit'"
  398. @click="rowCell(row,index)"
  399. >{{ row.$cellEdit ? '保存' : '编辑' }}
  400. </el-button>
  401. <el-button type="text"
  402. icon="el-icon-delete"
  403. size="small"
  404. @click="$refs.collection.rowDel(row,index)"
  405. >删除
  406. </el-button>
  407. <el-button
  408. size="small"
  409. type="text"
  410. icon="el-icon-s-order"
  411. @click="annexOpen(row, index)"
  412. >附 件
  413. </el-button>
  414. </template>
  415. <template slot="menuLeft">
  416. <el-button
  417. v-if="roleNameTwo.indexOf('总调度') === -1"
  418. type="primary" icon="el-icon-plus" @click="addRowCollection"
  419. size="small">录入明细
  420. </el-button>
  421. </template>
  422. </avue-crud>
  423. <avue-crud
  424. v-if="activeIndex === '2'"
  425. :data="paymentList"
  426. :option="paymentOption"
  427. ref="payment"
  428. @resetColumn="resetColumnPayment"
  429. @saveColumn="saveColumnPayment"
  430. @row-save="(row,done,loading)=>{rowSave(row,0,done,loading)}"
  431. @row-update="rowSave"
  432. @row-del="feeDel"
  433. >
  434. <template slot-scope="{row}" slot="corpId">
  435. <crop-select
  436. v-if="row.$cellEdit"
  437. v-model="row.corpId"
  438. @getCorpData="(data)=>{getfleetId(data,row)}"
  439. ></crop-select>
  440. <span v-else>{{ row.corpName }}</span>
  441. </template>
  442. <template slot="plateNoHeader" slot-scope="{column}">
  443. {{ column.label }}<span style="color:#F56C6C">*</span>
  444. </template>
  445. <template slot="feeIdHeader" slot-scope="{column}">
  446. {{ column.label }}<span style="color:#F56C6C">*</span>
  447. </template>
  448. <template slot-scope="{row}" slot="feeId">
  449. <breakdown-select
  450. v-if="row.$cellEdit"
  451. v-model="row.feeId"
  452. @selectValue="(value) => selectValue(value,row)"
  453. :configuration="breakConfiguration"
  454. >
  455. </breakdown-select>
  456. <span v-else>{{ row.feeName }}</span>
  457. </template>
  458. <template slot-scope="{row,index}" slot="menu">
  459. <el-button
  460. type="text"
  461. size="small"
  462. :icon="row.$cellEdit?'el-icon-circle-plus-outline':'el-icon-edit'"
  463. @click="paymentRowCell(row,index)"
  464. >{{ row.$cellEdit ? '保存' : '编辑' }}
  465. </el-button>
  466. <el-button type="text"
  467. icon="el-icon-delete"
  468. size="small"
  469. :disabled="goodsForm.status === 1"
  470. @click="$refs.payment.rowDel(row,index)"
  471. >删除
  472. </el-button>
  473. <el-button
  474. size="small"
  475. type="text"
  476. icon="el-icon-s-order"
  477. @click="annexOpen(row, index)"
  478. >附 件
  479. </el-button>
  480. </template>
  481. <template slot="menuLeft">
  482. <el-button
  483. v-if="roleNameTwo.indexOf('总调度') === -1"
  484. type="primary" icon="el-icon-plus" @click="addRowPayment"
  485. size="small">录入明细
  486. </el-button>
  487. </template>
  488. </avue-crud>
  489. </basic-container>
  490. <containerTitle title="上传附件"></containerTitle>
  491. <c-upload
  492. typeUpload="CD"
  493. :data="orderFilesList"
  494. disabled
  495. :display="false"
  496. deleteUrl="/api/blade-client/common-file/remove"
  497. :enumerationValue="86.2"
  498. ></c-upload>
  499. <el-dialog
  500. title="批量调度"
  501. :visible.sync="dialogVisible"
  502. append-to-body
  503. width="70%">
  504. <avue-form :option="option" v-model="form" ref="form">
  505. <template slot="fleetId">
  506. <crop-select
  507. v-model="form.fleetId"
  508. corpType="CD"
  509. ></crop-select>
  510. </template>
  511. </avue-form>
  512. <span slot="footer" class="dialog-footer">
  513. <el-button @click="dialogVisible = false" size="small">取 消</el-button>
  514. <el-button type="primary" @click="saveScheduling" size="small">调 度</el-button>
  515. </span>
  516. </el-dialog>
  517. <el-dialog
  518. title="变更"
  519. :visible.sync="dialogChange"
  520. append-to-body
  521. width="70%">
  522. <avue-form :option="optionData" v-model="formData" ref="saveForm">
  523. <template slot="fleetId">
  524. <crop-select
  525. v-model="formData.fleetId"
  526. corpType="CD"
  527. @getCorpData="getCorpData"
  528. ></crop-select>
  529. </template>
  530. </avue-form>
  531. <span slot="footer" class="dialog-footer">
  532. <el-button @click="dialogChange = false" size="small">关 闭</el-button>
  533. <el-button type="primary" @click="confirmChange" size="small">确 定</el-button>
  534. </span>
  535. </el-dialog>
  536. <el-dialog
  537. title="变更记录"
  538. :visible.sync="dialogRecord"
  539. append-to-body
  540. width="70%">
  541. <avue-crud :data="dataRecord" :option="optionRecord" style="margin-top: -43px"></avue-crud>
  542. <span slot="footer" class="dialog-footer">
  543. <el-button @click="dialogRecord = false" size="small">关 闭</el-button>
  544. </span>
  545. </el-dialog>
  546. <el-dialog
  547. title="附件"
  548. :visible.sync="enclosure"
  549. append-to-body
  550. width="70%">
  551. <c-upload
  552. typeUpload="GZ"
  553. :basic="true"
  554. deleteUrl="/api/blade-client/common-file/remove"
  555. :data="orderList"
  556. :enumerationValue="76"
  557. ></c-upload>
  558. <span slot="footer" class="dialog-footer">
  559. <el-button @click="enclosure = false" size="small">取 消</el-button>
  560. <el-button type="primary" @click="saveAnnex" size="small">保 存</el-button>
  561. </span>
  562. </el-dialog>
  563. <track-playback :dialogVisible="dialogVisibleTwo" :lineArr="lineArr" ref="playback"></track-playback>
  564. </div>
  565. </template>
  566. <script>
  567. import {getLazyTree} from "@/api/base/region";
  568. import {
  569. saveDelegationList,
  570. detailDelegationList,
  571. removeCollection,
  572. dispatchCollection,
  573. queryVehicle,
  574. cancelDispatchCollection,
  575. dispatchBatch,
  576. fleetDriverSave,
  577. recordingDetails,
  578. changeFleet,
  579. incidentalSubmit, saveFile, getFee, fleetList
  580. } from "@/api/landTransportation";
  581. import website from "@/config/website";
  582. import {getDeptTree} from "@/api/system/dept";
  583. import {customerList} from "@/api/basicData/basicFeesDesc";
  584. import {gaude, location} from "@/api/gaude";
  585. export default {
  586. props: {
  587. id: {
  588. type: String
  589. },
  590. home: {
  591. type: Boolean
  592. }
  593. },
  594. data() {
  595. return {
  596. formData: {},
  597. enclosure: false,
  598. dialogVisibleTwo:false,
  599. lineArr: [],
  600. formAnnex: {},
  601. key: 0,
  602. formDataList: {},
  603. orderList: [],
  604. dialogChange: false,
  605. optionData: {
  606. span: 12,
  607. menuBtn: false,
  608. column: [{
  609. label: "车队",
  610. prop: "fleetId",
  611. }, {
  612. label: "应付陆运费",
  613. prop: "landAmountC",
  614. precision: 2,
  615. controls: false,
  616. type: 'number',
  617. }, {
  618. label: '应收场站费',
  619. width: 100,
  620. precision: 2,
  621. controls: false,
  622. type: 'number',
  623. prop: 'oneFeeD'
  624. }, {
  625. label: '应收港杂费',
  626. width: 100,
  627. precision: 2,
  628. controls: false,
  629. type: 'number',
  630. prop: 'twoFeeD'
  631. }, {
  632. label: '应收扣款',
  633. width: 100,
  634. precision: 2,
  635. controls: false,
  636. type: 'number',
  637. prop: 'threeFeeD'
  638. }, {
  639. label: '应收待时费',
  640. width: 100,
  641. precision: 2,
  642. controls: false,
  643. type: 'number',
  644. prop: 'fourFeeD'
  645. }, {
  646. label: '应收其他',
  647. width: 100,
  648. precision: 2,
  649. type: 'number',
  650. controls: false,
  651. prop: 'fiveFeeD'
  652. }, {
  653. label: '应收费用备注',
  654. width: 245,
  655. prop: 'feeRemarksD'
  656. }]
  657. },
  658. form: {},
  659. dataRecord: [],
  660. dialogRecord: false,
  661. optionRecord: {
  662. stripe: true,
  663. refreshBtn: false,
  664. columnBtn: false,
  665. menu: false,
  666. addBtn: false,
  667. align: 'center',
  668. column: [
  669. {
  670. label: '变更内容',
  671. prop: 'content'
  672. }, {
  673. label: '变更人',
  674. prop: 'changeUserName'
  675. }, {
  676. label: '变更时间',
  677. prop: 'changeTime'
  678. }
  679. ]
  680. },
  681. option: {
  682. span: 12,
  683. menuBtn: false,
  684. column: [{
  685. label: "车队",
  686. prop: "fleetId",
  687. rules: [{
  688. required: true,
  689. message: " ",
  690. trigger: "blur"
  691. }]
  692. }, {
  693. label: "应付陆运费",
  694. prop: "landAmountC",
  695. precision: 2,
  696. controls: false,
  697. type: 'number',
  698. }]
  699. },
  700. activeIndex: '1',
  701. dialogVisible: false,
  702. goodsForm: {},
  703. orderFilesList: [],
  704. selectionList: [],
  705. roleName: localStorage.getItem("roleName").split(',')[0],
  706. roleNameTwo: localStorage.getItem("roleName").split(','),
  707. breakConfiguration: {
  708. multipleChoices: false,
  709. multiple: false,
  710. disabled: false,
  711. searchShow: true,
  712. collapseTags: false,
  713. clearable: true,
  714. placeholder: '请点击右边按钮选择',
  715. dicData: []
  716. },
  717. advantageProjectData: [],
  718. treeOption: {
  719. label: 'title',
  720. value: 'id',
  721. lazy: true,
  722. lazyLoad(node, resolve) {
  723. const parentId = node.level === 0 ? '00' : node.data.id;
  724. getLazyTree(parentId).then(res => {
  725. resolve(
  726. res.data.data.map(item => {
  727. return {
  728. ...item,
  729. leaf: !item.hasChildren
  730. };
  731. })
  732. );
  733. });
  734. }
  735. },
  736. tableData: [],
  737. entrustListT: [],
  738. KeyBoxTwo: 0,
  739. entrustOptionTwoTBackup: {
  740. selectable: (row, index) => {
  741. return row.status === 0
  742. },
  743. align: 'center',
  744. menuAlign: 'center',
  745. index: true,
  746. cellBtn: false,
  747. refreshBtn: false,
  748. selection: true,
  749. selectionWidth: 55,
  750. tip: false,
  751. addBtn: false,
  752. cancelBtn: false,
  753. editBtn: false,
  754. addRowBtn: false,
  755. delBtn: false,
  756. showSummary: true,
  757. // editBtn:false,
  758. summaryText: "合计",
  759. sumColumnList: [
  760. {
  761. name: 'landWeight',
  762. type: 'sum',
  763. decimals: 2
  764. }, {
  765. name: 'landAmountC',
  766. type: 'sum',
  767. decimals: 2
  768. }, {
  769. name: 'landAmountD',
  770. type: 'sum',
  771. decimals: 2
  772. }, {
  773. name: 'oneFeeD',
  774. type: 'sum',
  775. decimals: 2
  776. }, {
  777. name: 'twoFeeD',
  778. type: 'sum',
  779. decimals: 2
  780. }, {
  781. name: 'threeFeeD',
  782. type: 'sum',
  783. decimals: 2
  784. }, {
  785. name: 'fourFeeD',
  786. type: 'sum',
  787. decimals: 2
  788. }, {
  789. name: 'fiveFeeD',
  790. type: 'sum',
  791. decimals: 2
  792. }, {
  793. name: 'oneFeeC',
  794. type: 'sum',
  795. decimals: 2
  796. }, {
  797. name: 'twoFeeC',
  798. type: 'sum',
  799. decimals: 2
  800. }, {
  801. name: 'threeFeeC',
  802. type: 'sum',
  803. decimals: 2
  804. }, {
  805. name: 'fourFeeC',
  806. type: 'sum',
  807. decimals: 2
  808. }, {
  809. name: 'fiveFeeC',
  810. type: 'sum',
  811. decimals: 2
  812. }, {
  813. name: 'landAmountD',
  814. type: 'sum',
  815. decimals: 2
  816. }, {
  817. name: 'ctnQuantity',
  818. type: 'sum',
  819. decimals: 0
  820. }],
  821. column: [{
  822. label: '货运日期',
  823. type: "datetime",
  824. cell: true,
  825. format: 'yyyy-MM-dd HH:mm',
  826. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  827. width: 200,
  828. index: 1,
  829. prop: 'arrivalTime'
  830. }, {
  831. label: '实际到厂时间',
  832. prop: 'realArrivalTime',
  833. overHidden: true,
  834. type: "date",
  835. searchRange: true,
  836. defaultTime: ['00:00:00', '23:59:59'],
  837. format: "yyyy-MM-dd HH:mm",
  838. valueFormat: "yyyy-MM-dd HH:mm:ss",
  839. index: 2,
  840. width: 140,
  841. }, {
  842. label: '尺寸箱型',
  843. width: 100,
  844. slot: true,
  845. index: 3,
  846. prop: 'ctnType'
  847. }, {
  848. label: '箱量',
  849. width: 50,
  850. index: 4,
  851. prop: 'ctnQuantity'
  852. }, {
  853. label: '车队',
  854. width: 200,
  855. index: 5,
  856. prop: 'fleetId'
  857. }, {
  858. label: '车号',
  859. width: 150,
  860. index: 6,
  861. prop: 'plateNo'
  862. }, {
  863. label: '司机',
  864. width: 115,
  865. index: 7,
  866. prop: 'driverName'
  867. }, {
  868. label: '电话',
  869. width: 160,
  870. index: 8,
  871. prop: 'tel'
  872. }, {
  873. label: '完工日期',
  874. prop: 'finishedTime',
  875. overHidden: true,
  876. type: "date",
  877. searchRange: true,
  878. defaultTime: ['00:00:00', '23:59:59'],
  879. format: "yyyy-MM-dd HH:mm",
  880. valueFormat: "yyyy-MM-dd HH:mm:ss",
  881. index: 9,
  882. width: 140,
  883. }, {
  884. label: '货物名称',
  885. overHidden: true,
  886. width: 160,
  887. index: 10,
  888. prop: 'goods'
  889. }, {
  890. label: '件数',
  891. width: 100,
  892. overHidden: true,
  893. controls: false,
  894. cell: true,
  895. index: 11,
  896. prop: 'quantity',
  897. type: 'number',
  898. precision: 0
  899. }
  900. // , {
  901. // label: '包装',
  902. // width: 100,
  903. // overHidden: true,
  904. // cell: true,
  905. // prop: 'packing',
  906. // type: 'select',
  907. // dicUrl: "/api/blade-system/dict-biz/dictionary?code=packaging",
  908. // props: {
  909. // label: "dictValue",
  910. // value: "dictValue"
  911. // },
  912. // }
  913. , {
  914. label: '重量',
  915. width: 160,
  916. prop: 'landWeight',
  917. controls: false,
  918. precision: 2,
  919. index: 12,
  920. type: 'number'
  921. }, {
  922. label: '尺码',
  923. width: 100,
  924. overHidden: true,
  925. cell: true,
  926. index: 13,
  927. prop: 'size',
  928. }, {
  929. label: '单柜运费',
  930. index: 14,
  931. prop: 'landAmountD'
  932. },
  933. {
  934. label: '状态',
  935. width: 100,
  936. index: 15,
  937. type: 'select',
  938. dicUrl: "/api/blade-system/dict-biz/dictionary?code=land_order_status",
  939. props: {
  940. label: "dictValue",
  941. value: "dictKey"
  942. },
  943. dataType: "string",
  944. prop: 'status'
  945. }, {
  946. label: '应付陆运费',
  947. cell: true,
  948. index: 16,
  949. prop: 'landAmountC'
  950. }, {
  951. label: '委托备注',
  952. width: 245,
  953. index: 17,
  954. prop: 'remarks'
  955. }, {
  956. label: '车队备注',
  957. width: 245,
  958. index: 18,
  959. prop: 'fleetRemarks'
  960. }, {
  961. label: '司机备注',
  962. width: 245,
  963. index: 19,
  964. prop: 'driverRemarks'
  965. }, {
  966. label: '应收场站费',
  967. width: 100,
  968. precision: 2,
  969. index: 20,
  970. controls: false,
  971. cell: true,
  972. type: 'number',
  973. prop: 'oneFeeD'
  974. }, {
  975. label: '应收港杂费',
  976. width: 100,
  977. precision: 2,
  978. cell: true,
  979. index: 21,
  980. controls: false,
  981. type: 'number',
  982. prop: 'twoFeeD'
  983. }, {
  984. label: '应收扣款',
  985. width: 100,
  986. index: 22,
  987. precision: 2,
  988. cell: true,
  989. controls: false,
  990. type: 'number',
  991. prop: 'threeFeeD'
  992. }, {
  993. label: '应收待时费',
  994. width: 100,
  995. precision: 2,
  996. index: 23,
  997. cell: true,
  998. controls: false,
  999. type: 'number',
  1000. prop: 'fourFeeD'
  1001. }, {
  1002. label: '应收其他',
  1003. width: 100,
  1004. index: 24,
  1005. precision: 2,
  1006. cell: true,
  1007. type: 'number',
  1008. controls: false,
  1009. prop: 'fiveFeeD'
  1010. }, {
  1011. label: '应收费用备注',
  1012. width: 245,
  1013. index: 25,
  1014. cell: true,
  1015. prop: 'feeRemarksD'
  1016. }, {
  1017. label: '应付场站费',
  1018. width: 100,
  1019. index: 26,
  1020. precision: 2,
  1021. cell: true,
  1022. controls: false,
  1023. type: 'number',
  1024. prop: 'oneFeeC'
  1025. }, {
  1026. label: '应付港杂费',
  1027. width: 100,
  1028. precision: 2,
  1029. index: 27,
  1030. cell: true,
  1031. controls: false,
  1032. type: 'number',
  1033. prop: 'twoFeeC'
  1034. }, {
  1035. label: '应付扣款',
  1036. width: 100,
  1037. index: 28,
  1038. precision: 2,
  1039. controls: false,
  1040. type: 'number',
  1041. cell: true,
  1042. prop: 'threeFeeC'
  1043. }, {
  1044. label: '应付待时费',
  1045. width: 100,
  1046. precision: 2,
  1047. index: 29,
  1048. controls: false,
  1049. cell: true,
  1050. type: 'number',
  1051. prop: 'fourFeeC'
  1052. }, {
  1053. label: '应付其他',
  1054. width: 100,
  1055. precision: 2,
  1056. index: 30,
  1057. type: 'number',
  1058. cell: true,
  1059. controls: false,
  1060. prop: 'fiveFeeC'
  1061. }, {
  1062. label: '应付费用备注',
  1063. width: 245,
  1064. index: 31,
  1065. cell: true,
  1066. prop: 'feeRemarksC'
  1067. }
  1068. ]
  1069. },
  1070. entrustOptionTwoT: {},
  1071. entrustList: [],
  1072. goodsOptionForm: {
  1073. menuBtn: false,
  1074. disabled: true,
  1075. span: 8,
  1076. column: [{
  1077. label: '公司名称',
  1078. formslot: true,
  1079. prop: 'corpId',
  1080. rules: [{
  1081. required: true,
  1082. message: " ",
  1083. trigger: "change"
  1084. }],
  1085. }, {
  1086. label: '所属部门',
  1087. prop: 'salesmanDept',
  1088. type: "tree",
  1089. filter: false,
  1090. dicData: [],
  1091. props: {
  1092. label: "title"
  1093. }
  1094. }, {
  1095. label: '业务员',
  1096. prop: 'salesman',
  1097. type: "select",
  1098. dicUrl: "/api/blade-user/userList",
  1099. props: {
  1100. label: "realName",
  1101. value: "id"
  1102. },
  1103. rules: [{
  1104. required: true,
  1105. message: " ",
  1106. trigger: "blur"
  1107. }]
  1108. }, {
  1109. label: '调度公司',
  1110. prop: 'dispatchDept',
  1111. cascader: ['dispatcher'],
  1112. dicUrl: "/api/blade-system/dept/top-list",
  1113. type: "select",
  1114. props: {
  1115. label: "deptName",
  1116. value: "id"
  1117. },
  1118. rules: [{
  1119. required: true,
  1120. message: " ",
  1121. trigger: "blur"
  1122. }]
  1123. }, {
  1124. label: '调度员',
  1125. prop: 'dispatcher',
  1126. type: "select",
  1127. dicUrl: "/api/blade-user/userList?deptPid={{key}}",
  1128. props: {
  1129. label: "realName",
  1130. value: "id"
  1131. }
  1132. }, {
  1133. label: '委托日期',
  1134. prop: 'bsDate',
  1135. type: "datetime",
  1136. format: 'yyyy-MM-dd HH:mm',
  1137. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  1138. }, {
  1139. label: '票据号',
  1140. prop: 'receiptNo'
  1141. }, {
  1142. label: '联系电话',
  1143. prop: 'tel'
  1144. }, {
  1145. label: '提单号',
  1146. prop: 'billNo',
  1147. rules: [{
  1148. required: true,
  1149. message: " ",
  1150. trigger: "blur"
  1151. }],
  1152. }, {
  1153. label: '场站',
  1154. prop: 'station',
  1155. rules: [{
  1156. required: true,
  1157. message: " ",
  1158. trigger: "blur"
  1159. }],
  1160. },
  1161. // {
  1162. // label: '货运日期',
  1163. // type: "datetime",
  1164. // format: 'yyyy-MM-dd HH:mm:ss',
  1165. // valueFormat: 'yyyy-MM-dd HH:mm:ss',
  1166. // prop: 'arrivalTime',
  1167. // rules: [{
  1168. // required: true,
  1169. // message: " ",
  1170. // trigger: "blur"
  1171. // }],
  1172. // },
  1173. {
  1174. label: '备注',
  1175. span: 24,
  1176. minRows: 2,
  1177. prop: 'remarks',
  1178. type: 'textarea'
  1179. }]
  1180. },
  1181. goodsOptionFormTwo: {
  1182. menuBtn: false,
  1183. disabled: true,
  1184. span: 8,
  1185. column: [
  1186. // {
  1187. // label: '所属公司',
  1188. // formslot: true,
  1189. // prop: 'belongCompany',
  1190. // rules: [{
  1191. // required: false,
  1192. // message: " ",
  1193. // trigger: "blur"
  1194. // }],
  1195. // },
  1196. {
  1197. label: '船名航次',
  1198. prop: 'factory',
  1199. rules: [{
  1200. required: false,
  1201. message: " ",
  1202. trigger: "blur"
  1203. }],
  1204. }
  1205. // , {
  1206. // label: '货物名称',
  1207. // prop: 'goods',
  1208. // rules: [{
  1209. // required: false,
  1210. // message: " ",
  1211. // trigger: "blur"
  1212. // }],
  1213. // }
  1214. , {
  1215. label: '开船日期',
  1216. prop: 'etd',
  1217. type: 'date'
  1218. }, {
  1219. label: '预配箱量',
  1220. prop: 'expectCtnQty',
  1221. }, {
  1222. label: '起运港',
  1223. prop: 'polId'
  1224. }, {
  1225. label: '目的港',
  1226. prop: 'podId'
  1227. }, {
  1228. label: '截港日期',
  1229. prop: 'etc',
  1230. type: 'date'
  1231. }, {
  1232. label: '截单日期',
  1233. prop: 'siCutoffDate',
  1234. type: 'date'
  1235. }, {
  1236. label: '订舱代理',
  1237. prop: 'agentId'
  1238. }]
  1239. },
  1240. entrustOptionTwo: {
  1241. align: 'center',
  1242. menuAlign: 'center',
  1243. addBtnText: '录入箱信息',
  1244. index: true,
  1245. cellBtn: true,
  1246. addBtn: false,
  1247. addRowBtn: true,
  1248. showSummary: true,
  1249. summaryText: "合计",
  1250. sumColumnList: [
  1251. {
  1252. name: 'landWeight',
  1253. type: 'sum',
  1254. decimals: 2
  1255. }, {
  1256. name: 'landAmountD',
  1257. type: 'sum',
  1258. decimals: 2
  1259. }, {
  1260. name: 'ctnQuantity',
  1261. type: 'sum',
  1262. decimals: 7
  1263. }],
  1264. column: [{
  1265. label: '尺寸箱型',
  1266. cell: true,
  1267. prop: 'ctnType',
  1268. type: 'select',
  1269. width: 100,
  1270. dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxType",
  1271. props: {
  1272. label: "dictValue",
  1273. value: "dictKey"
  1274. }
  1275. }, {
  1276. label: '箱量',
  1277. cell: true,
  1278. prop: 'ctnQuantity',
  1279. controls: false,
  1280. precision: 0,
  1281. width: 100,
  1282. type: 'number'
  1283. }, {
  1284. label: '总重量(吨)',
  1285. cell: true,
  1286. prop: 'landWeight',
  1287. controls: false,
  1288. width: 200,
  1289. precision: 2,
  1290. type: 'number'
  1291. }, {
  1292. label: '单柜运费',
  1293. cell: true,
  1294. prop: 'landAmountD',
  1295. controls: false,
  1296. width: 200,
  1297. precision: 2,
  1298. type: 'number'
  1299. }, {
  1300. label: '备注',
  1301. cell: true,
  1302. width: 200,
  1303. prop: 'remarks'
  1304. }
  1305. ]
  1306. },
  1307. collectionList: [],
  1308. collectionOption: {},
  1309. collectionOptionBackup: {
  1310. align: 'center',
  1311. menuAlign: 'center',
  1312. index: true,
  1313. cancelBtn: false,
  1314. editBtn: false,
  1315. delBtn: false,
  1316. cellBtn: false,
  1317. addBtn: false,
  1318. addRowBtn: false,
  1319. showSummary: true,
  1320. addBtnText: '录入明细',
  1321. summaryText: "合计",
  1322. sumColumnList: [{
  1323. name: 'price',
  1324. type: 'sum',
  1325. decimals: 2
  1326. }, {
  1327. name: 'amount',
  1328. type: 'sum',
  1329. decimals: 2
  1330. }, {
  1331. name: 'quantity',
  1332. type: 'sum',
  1333. decimals: 1
  1334. }],
  1335. column: [{
  1336. label: '客户名称',
  1337. slot: true,
  1338. width: 300,
  1339. prop: 'corpId'
  1340. }, {
  1341. label: '车号',
  1342. cell: true,
  1343. prop: 'plateNo',
  1344. type: "select",
  1345. props: {
  1346. label: "label",
  1347. value: "label"
  1348. },
  1349. }, {
  1350. label: '费用名称',
  1351. slot: true,
  1352. width: 200,
  1353. prop: 'feeId'
  1354. }, {
  1355. label: '计价单位',
  1356. cell: true,
  1357. prop: 'unit',
  1358. type: "select",
  1359. dicUrl: "/api/blade-system/dict-biz/dictionary?code=unit",
  1360. props: {
  1361. label: "dictValue",
  1362. value: "dictKey"
  1363. }
  1364. }, {
  1365. label: '单价',
  1366. cell: true,
  1367. type: 'number',
  1368. controls: false,
  1369. prop: 'price'
  1370. }, {
  1371. label: '数量',
  1372. cell: true,
  1373. controls: false,
  1374. type: 'number',
  1375. prop: 'quantity'
  1376. }, {
  1377. label: '金额',
  1378. cell: true,
  1379. type: 'number',
  1380. controls: false,
  1381. prop: 'amount'
  1382. }, {
  1383. label: '税率',
  1384. cell: true,
  1385. prop: 'taxRate'
  1386. }, {
  1387. label: '币别',
  1388. cell: true,
  1389. prop: 'currency',
  1390. type: "select",
  1391. dicUrl: "/api/blade-system/dict-biz/dictionary?code=currency",
  1392. props: {
  1393. label: "dictValue",
  1394. value: "dictKey"
  1395. },
  1396. }
  1397. ]
  1398. },
  1399. paymentList: [],
  1400. paymentOption: {},
  1401. paymentOptionBackup: {
  1402. align: 'center',
  1403. menuAlign: 'center',
  1404. index: true,
  1405. cancelBtn: false,
  1406. editBtn: false,
  1407. delBtn: false,
  1408. cellBtn: false,
  1409. addBtn: false,
  1410. addRowBtn: false,
  1411. showSummary: true,
  1412. addBtnText: '录入明细',
  1413. summaryText: "合计",
  1414. sumColumnList: [{
  1415. name: 'price',
  1416. type: 'sum',
  1417. decimals: 2
  1418. }, {
  1419. name: 'amount',
  1420. type: 'sum',
  1421. decimals: 2
  1422. }, {
  1423. name: 'quantity',
  1424. type: 'sum',
  1425. decimals: 1
  1426. }],
  1427. column: [{
  1428. label: '客户名称',
  1429. cell: true,
  1430. width: 300,
  1431. prop: 'fleetId',
  1432. type: "select",
  1433. cascader: ['plateNo'],
  1434. props: {
  1435. label: "fleetName",
  1436. value: "fleetId"
  1437. },
  1438. change:(data)=>{
  1439. data.row.plateNo = ''
  1440. }
  1441. },
  1442. // {
  1443. // label: '客户名称',
  1444. // slot: true,
  1445. // width: 300,
  1446. // prop: 'corpId'
  1447. // },
  1448. {
  1449. label: '车号',
  1450. cell: true,
  1451. prop: 'plateNo',
  1452. type: "select",
  1453. props: {
  1454. label: "label",
  1455. value: "label"
  1456. }
  1457. }, {
  1458. label: '费用名称',
  1459. slot: true,
  1460. width: 200,
  1461. prop: 'feeId'
  1462. }, {
  1463. label: '计价单位',
  1464. cell: true,
  1465. prop: 'unit',
  1466. type: "select",
  1467. dicUrl: "/api/blade-system/dict-biz/dictionary?code=unit",
  1468. props: {
  1469. label: "dictValue",
  1470. value: "dictKey"
  1471. }
  1472. }, {
  1473. label: '单价',
  1474. cell: true,
  1475. controls: false,
  1476. type: 'number',
  1477. prop: 'price',
  1478. }, {
  1479. label: '数量',
  1480. cell: true,
  1481. controls: false,
  1482. type: 'number',
  1483. prop: 'quantity'
  1484. }, {
  1485. label: '金额',
  1486. cell: true,
  1487. controls: false,
  1488. type: 'number',
  1489. prop: 'amount'
  1490. }, {
  1491. label: '税率',
  1492. cell: true,
  1493. prop: 'taxRate'
  1494. }, {
  1495. label: '币别',
  1496. cell: true,
  1497. prop: 'currency',
  1498. type: "select",
  1499. dicUrl: "/api/blade-system/dict-biz/dictionary?code=currency",
  1500. props: {
  1501. label: "dictValue",
  1502. value: "dictKey"
  1503. },
  1504. },
  1505. ]
  1506. }
  1507. };
  1508. },
  1509. async created() {
  1510. this.entrustOptionTwoT = await this.getColumnData(this.getColumnName(86.1), this.entrustOptionTwoTBackup);
  1511. this.collectionOption = await this.getColumnData(this.getColumnName(86.4), this.collectionOptionBackup);
  1512. this.paymentOption = await this.getColumnData(this.getColumnName(86.5), this.paymentOptionBackup);
  1513. this.findObject(this.paymentOption.column, "fleetId").dicUrl = "/api/blade-land/order-fee/fleet?orderId=" + this.id
  1514. this.findObject(this.paymentOption.column, "plateNo").dicUrl = "api/blade-land/order-fee/plate-no?orderId=" + this.id + '&fleetId={{key}}'
  1515. this.findObject(this.paymentOption.column, "plateNo").dicFormatter = (data)=>{
  1516. let list = []
  1517. data.data.forEach(ele=>{
  1518. list.push({label:ele})
  1519. })
  1520. return list
  1521. }
  1522. this.findObject(this.collectionOption.column, "price").change = (data) => {
  1523. if (data.row.price && data.row.quantity) {
  1524. data.row.amount = Number(data.row.price) * Number(data.row.quantity)
  1525. }
  1526. }
  1527. this.findObject(this.collectionOption.column, "quantity").change = (data) => {
  1528. if (data.row.price && data.row.quantity) {
  1529. data.row.amount = Number(data.row.price) * Number(data.row.quantity)
  1530. }
  1531. }
  1532. this.findObject(this.paymentOption.column, "price").change = (data) => {
  1533. if (data.row.price && data.row.quantity) {
  1534. data.row.amount = Number(data.row.price) * Number(data.row.quantity)
  1535. }
  1536. }
  1537. this.findObject(this.paymentOption.column, "quantity").change = (data) => {
  1538. if (data.row.price && data.row.quantity) {
  1539. data.row.amount = Number(data.row.price) * Number(data.row.quantity)
  1540. }
  1541. }
  1542. this.KeyBoxTwo++
  1543. if (this.id) {
  1544. detailDelegationList({id: this.id, kind: '2'}).then(res => {
  1545. this.goodsForm = res.data.data
  1546. this.tableData = res.data.data.orderAddressList
  1547. this.entrustList = res.data.data.orderItemList
  1548. this.goodsList = res.data.data.orderItemList
  1549. this.orderFilesList = res.data.data.fileList
  1550. if (res.data.data.orderFeeList.length > 0) {
  1551. res.data.data.orderFeeList.forEach(item => {
  1552. if (item.type == 1) {
  1553. this.collectionList.push(item)
  1554. } else {
  1555. this.paymentList.push(item)
  1556. }
  1557. })
  1558. }
  1559. delete this.goodsForm.orderAddressList
  1560. delete this.goodsForm.orderItemList
  1561. delete this.goodsForm.orderFeeList
  1562. // this.tableData.forEach(item => {
  1563. // if (item.region) item.region = item.region.split(',')
  1564. // })
  1565. if (this.roleNameTwo.indexOf('总调度') !== -1){
  1566. this.entrustOptionTwoT.menu = false
  1567. this.collectionOption.menu = false
  1568. this.paymentOption.menu = false
  1569. }
  1570. })
  1571. }
  1572. queryVehicle({orderId: this.id}).then(res => {
  1573. const column = this.findObject(this.collectionOption.column, "plateNo");
  1574. column.dicData = []
  1575. res.data.data.forEach(item => {
  1576. column.dicData.push({label: item})
  1577. })
  1578. this.key++
  1579. });
  1580. // this.findObject(this.paymentOption.column, "plateNo").change = (data) => {
  1581. // const columnTwo = this.findObject(this.paymentOption.column, "plateNo");
  1582. // columnTwo.dicData = []
  1583. // queryVehicle({orderId: this.id,fleetId:data.row.fleetId}).then(res => {
  1584. // res.data.data.forEach(item => {
  1585. // columnTwo.dicData.push({label: item})
  1586. // })
  1587. // });
  1588. // this.key++
  1589. // }
  1590. this.$refs.other.show = false
  1591. // 非租户模式默认加载管理组数据
  1592. if (!website.tenantMode) {
  1593. this.initData(website.tenantId);
  1594. } else {
  1595. this.initData();
  1596. }
  1597. },
  1598. methods: {
  1599. openTrack(row){
  1600. gaude({itemId: row.id,plateNo:row.plateNo,tenantId:'234557',color:'2'}).then(res => {
  1601. this.lineArr = res.data.data.trackArray
  1602. this.dialogVisibleTwo = true
  1603. let this_=this
  1604. setTimeout(function(){
  1605. this_.$refs.playback.initMap();
  1606. },100)
  1607. })
  1608. // location({itemId: row.id,plateNo:'陕YH0008'}).then(res => {
  1609. // // console.log(res.data.data)
  1610. // // console.log(this.lineArr[this.lineArr.length - 1])
  1611. // })
  1612. },
  1613. //自定义列保存
  1614. async saveColumnBoxTwo() {
  1615. /**
  1616. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  1617. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  1618. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  1619. */
  1620. const inSave = await this.saveColumnData(this.getColumnName(86.1), this.entrustOptionTwoT);
  1621. if (inSave) {
  1622. this.$message.success("保存成功");
  1623. //关闭窗口
  1624. this.$refs.crudBoxTwo.$refs.dialogColumn.columnBox = false;
  1625. }
  1626. },
  1627. //自定义列重置
  1628. async resetColumnBoxTwo() {
  1629. this.entrustOptionTwoT = this.entrustOptionTwoTBackup;
  1630. const inSave = await this.delColumnData(this.getColumnName(86.1), this.entrustOptionTwoTBackup);
  1631. if (inSave) {
  1632. this.$message.success("重置成功");
  1633. this.$refs.crudBoxTwo.$refs.dialogColumn.columnBox = false;
  1634. }
  1635. },
  1636. //自定义列保存
  1637. async saveColumnCollection() {
  1638. /**
  1639. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  1640. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  1641. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  1642. */
  1643. const inSave = await this.saveColumnData(this.getColumnName(86.4), this.collectionOption);
  1644. if (inSave) {
  1645. this.$message.success("保存成功");
  1646. //关闭窗口
  1647. this.$refs.collection.$refs.dialogColumn.columnBox = false;
  1648. }
  1649. },
  1650. //自定义列重置
  1651. async resetColumnCollection() {
  1652. this.collectionOption = this.collectionOptionBackup;
  1653. const inSave = await this.delColumnData(this.getColumnName(86.4), this.collectionOptionBackup);
  1654. if (inSave) {
  1655. this.$message.success("重置成功");
  1656. this.$refs.collection.$refs.dialogColumn.columnBox = false;
  1657. }
  1658. },
  1659. //自定义列保存
  1660. async saveColumnPayment() {
  1661. /**
  1662. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  1663. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  1664. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  1665. */
  1666. const inSave = await this.saveColumnData(this.getColumnName(86.5), this.paymentOption);
  1667. if (inSave) {
  1668. this.findObject(this.paymentOption.column, "fleetId").dicUrl = "/api/blade-land/order-fee/fleet?orderId=" + this.id
  1669. this.findObject(this.paymentOption.column, "plateNo").dicUrl = "api/blade-land/order-fee/plate-no?orderId=" + this.id + '&fleetId={{key}}'
  1670. this.$message.success("保存成功");
  1671. //关闭窗口
  1672. this.$refs.payment.$refs.dialogColumn.columnBox = false;
  1673. }
  1674. },
  1675. //自定义列重置
  1676. async resetColumnPayment() {
  1677. this.paymentOption = this.paymentOptionBackup;
  1678. const inSave = await this.delColumnData(this.getColumnName(86.5), this.paymentOptionBackup);
  1679. if (inSave) {
  1680. this.$message.success("重置成功");
  1681. this.findObject(this.paymentOption.column, "fleetId").dicUrl = "/api/blade-land/order-fee/fleet?orderId=" + this.id
  1682. this.findObject(this.paymentOption.column, "plateNo").dicUrl = "api/blade-land/order-fee/plate-no?orderId=" + this.id + '&fleetId={{key}}'
  1683. this.$refs.payment.$refs.dialogColumn.columnBox = false;
  1684. }
  1685. },
  1686. //打开附件
  1687. annexOpen(row, index) {
  1688. this.enclosure = true
  1689. this.formAnnex = row
  1690. getFee({id: row.id}).then(res => {
  1691. this.orderList = res.data.data
  1692. })
  1693. },
  1694. //保存
  1695. saveAnnex() {
  1696. saveFile({
  1697. id: this.formAnnex.id,
  1698. fileList: this.orderList
  1699. }).then(res => {
  1700. this.$message.success("保存成功");
  1701. this.annexOpen(this.formAnnex)
  1702. })
  1703. },
  1704. getCorpData(val) {
  1705. this.formData.fleetName = val.cname
  1706. },
  1707. confirmChange() {
  1708. changeFleet({
  1709. ...this.formData,
  1710. id: this.formDataList.id,
  1711. orderId: this.goodsForm.id,
  1712. originalFleetName: this.formDataList.fleetName
  1713. }).then(res => {
  1714. this.$refs.saveForm.resetForm()
  1715. this.entrustList = res.data.data
  1716. this.dialogChange = false
  1717. this.$message.success("变更成功");
  1718. })
  1719. },
  1720. //查询业务部门
  1721. initData(tenantId) {
  1722. getDeptTree(tenantId).then(res => {
  1723. const column = this.findObject(this.goodsOptionForm.column, "salesmanDept");
  1724. column.dicData = res.data.data;
  1725. });
  1726. },
  1727. //多选触发
  1728. selectionChange(list) {
  1729. this.selectionList = list
  1730. },
  1731. //批量调度
  1732. batchScheduling() {
  1733. this.form = {}
  1734. this.dialogVisible = true
  1735. },
  1736. //提交调度
  1737. saveScheduling() {
  1738. this.$refs['form'].validate((valid, done) => {
  1739. done()
  1740. if (valid) {
  1741. let data = []
  1742. this.$confirm('是否确认调度?', '提示', {
  1743. confirmButtonText: '确定',
  1744. cancelButtonText: '取消',
  1745. type: 'warning'
  1746. }).then(() => {
  1747. this.selectionList.forEach(item => data.push(item.id))
  1748. dispatchBatch({
  1749. ...this.form,
  1750. idList: data,
  1751. orderId: this.goodsForm.id
  1752. }).then(res => {
  1753. this.entrustList = res.data.data
  1754. this.dialogVisible = false
  1755. })
  1756. }).catch(() => {
  1757. this.$message({
  1758. type: 'info',
  1759. message: '已取消'
  1760. });
  1761. });
  1762. } else {
  1763. return false
  1764. }
  1765. })
  1766. },
  1767. //刷新数据
  1768. refreshData() {
  1769. detailDelegationList({id: this.id, kind: '2'}).then(res => {
  1770. this.goodsForm = res.data.data
  1771. this.tableData = res.data.data.orderAddressList
  1772. this.entrustList = res.data.data.orderItemList
  1773. this.goodsList = res.data.data.orderItemList
  1774. this.orderFilesList = res.data.data.fileList
  1775. if (res.data.data.orderFeeList.length > 0) {
  1776. res.data.data.orderFeeList.forEach(item => {
  1777. if (item.type == 1) {
  1778. this.collectionList.push(item)
  1779. } else {
  1780. this.paymentList.push(item)
  1781. }
  1782. })
  1783. }
  1784. delete this.goodsForm.orderAddressList
  1785. delete this.goodsForm.orderItemList
  1786. delete this.goodsForm.orderFeeList
  1787. // this.tableData.forEach(item => {
  1788. // if (item.region) item.region = item.region.split(',')
  1789. // })
  1790. })
  1791. },
  1792. //切换收付费
  1793. handleSelect(tab, event) {
  1794. this.activeIndex = tab.name
  1795. },
  1796. //箱信息保存
  1797. rowSaveT(row, index, done, loading) {
  1798. if (row.$cellEdit) {
  1799. fleetDriverSave(row).then(res => {
  1800. this.$message.success("保存成功");
  1801. })
  1802. }
  1803. this.$refs.crudBoxTwo.rowCell(row, index)
  1804. },
  1805. rowSaveWell(row, index, done, loading) {
  1806. done()
  1807. },
  1808. //箱信息调度
  1809. designate(row, index) {
  1810. if (row.fleetId) {
  1811. this.$confirm('是否确定调度', '提示', {
  1812. confirmButtonText: '确定',
  1813. cancelButtonText: '取消',
  1814. type: 'warning'
  1815. }).then(() => {
  1816. dispatchCollection(row).then(res => {
  1817. this.$message.success('操作成功');
  1818. this.entrustList[index].status = res.data.data.status
  1819. })
  1820. }).catch(() => {
  1821. this.$message({
  1822. type: 'info',
  1823. message: '已取消'
  1824. });
  1825. });
  1826. } else {
  1827. this.$message.warning('请选择车队');
  1828. }
  1829. },
  1830. //变更车队
  1831. changeFleetT(row, index) {
  1832. this.formDataList = row
  1833. this.dialogChange = true
  1834. this.formData = {}
  1835. },
  1836. //打开变更记录
  1837. recordsOfChanges(row, index) {
  1838. this.dialogRecord = true
  1839. recordingDetails({itemId: row.id, kind: 2}).then(res => {
  1840. this.dataRecord = res.data.data
  1841. })
  1842. },
  1843. //取消调度
  1844. cancelDesignate(row, index) {
  1845. this.$confirm('是否确定取消调度', '提示', {
  1846. confirmButtonText: '确定',
  1847. cancelButtonText: '取消',
  1848. type: 'warning'
  1849. }).then(() => {
  1850. cancelDispatchCollection({id: row.id}).then(res => {
  1851. this.$message.success('操作成功');
  1852. this.entrustList[index].status = res.data.data.status
  1853. })
  1854. }).catch(() => {
  1855. this.$message({
  1856. type: 'info',
  1857. message: '已取消'
  1858. });
  1859. });
  1860. },
  1861. //箱信息选择车队
  1862. getfleetIdT(data, row) {
  1863. this.$set(row, 'fleetName', data.cname)
  1864. },
  1865. //地址新增
  1866. addAddress() {
  1867. this.tableData.splice(this.tableData.length - 1, 0, {leas: 1111})
  1868. },
  1869. //返回主列表
  1870. backToList(value) {
  1871. if (value === 0) {
  1872. this.$emit('backToList')
  1873. } else if (value === 1) {
  1874. this.$emit('backToList', true)
  1875. } else if (value === 2) {
  1876. this.$router.push({
  1877. path: '/landTransportation/reportAnalysis/index'
  1878. });
  1879. }
  1880. },
  1881. //删除途径地址
  1882. deleteAddress(scope) {
  1883. this.tableData.splice(scope.$index, 1);
  1884. },
  1885. //箱信息保存
  1886. rowSave(row, index, done, loading) {
  1887. row.$cellEdit = false
  1888. done()
  1889. },
  1890. rowCell(row, index) {
  1891. if (row.$cellEdit) {
  1892. if (row.plateNo) {
  1893. if (row.feeId){
  1894. incidentalSubmit(row).then(res => {
  1895. this.$refs.collection.rowCell(row, index)
  1896. row = res.data.data
  1897. this.$message.success("保存成功");
  1898. })
  1899. }else {
  1900. this.$message.error("请选择费用名称");
  1901. }
  1902. } else {
  1903. this.$message.error("请选择车号");
  1904. }
  1905. } else {
  1906. this.$refs.collection.rowCell(row, index)
  1907. }
  1908. },
  1909. paymentRowCell(row, index) {
  1910. if (row.$cellEdit) {
  1911. if (row.plateNo) {
  1912. if (row.feeId){
  1913. incidentalSubmit(row).then(res => {
  1914. row = res.data.data
  1915. this.$message.success("保存成功");
  1916. })
  1917. }else {
  1918. this.$message.error("请选择费用名称");
  1919. }
  1920. } else {
  1921. this.$message.error("请选择车号");
  1922. }
  1923. } else {
  1924. this.$refs.payment.rowCell(row, index)
  1925. }
  1926. },
  1927. //箱信息移除
  1928. rowDel(row, index) {
  1929. this.$confirm('此操作将永久删除该单据, 是否继续?', '提示', {
  1930. confirmButtonText: '确定',
  1931. cancelButtonText: '取消',
  1932. type: 'warning'
  1933. }).then(() => {
  1934. this.entrustList.splice(index, 1);
  1935. }).catch(() => {
  1936. this.$message({
  1937. type: 'info',
  1938. message: '已取消删除'
  1939. });
  1940. });
  1941. },
  1942. //保存
  1943. editCustomer() {
  1944. let data = JSON.parse(JSON.stringify(this.tableData))
  1945. // data.forEach(item => {
  1946. // if (item.region.length !== 0) item.region = item.region.join(',')
  1947. // })
  1948. saveDelegationList({
  1949. ...this.goodsForm,
  1950. kind: '2',
  1951. orderAddressList: data,
  1952. orderItemList: this.entrustList,
  1953. orderFeeList: this.collectionList.concat(this.paymentList)
  1954. }).then(res => {
  1955. this.$message.success('保存成功');
  1956. })
  1957. },
  1958. //收费新增
  1959. addRowCollection() {
  1960. customerList({size: 10, current: 1}).then(res => {
  1961. this.$refs.collection.rowCellAdd({
  1962. currency: '1',
  1963. type: '1',
  1964. feeId: res.data.data.records.length > 0 ? res.data.data.records[0].id : '',
  1965. unit: '件数',
  1966. corpId: this.goodsForm.corpId,
  1967. quantity: 1,
  1968. orderId: this.id,
  1969. $cellEdit: true
  1970. });
  1971. })
  1972. },
  1973. //付费新增
  1974. addRowPayment() {
  1975. customerList({size: 10, current: 1}).then(res => {
  1976. this.$refs.payment.rowCellAdd({
  1977. currency: '1',
  1978. type: '2',
  1979. feeId: res.data.data.records.length > 0 ? res.data.data.records[0].id : '',
  1980. unit: '件数',
  1981. quantity: 1,
  1982. // corpId: '1526835847238901762',
  1983. orderId: this.id,
  1984. $cellEdit: true
  1985. });
  1986. })
  1987. },
  1988. //选择费用
  1989. selectValue(value, row) {
  1990. this.$set(row, 'feeName', value.cname)
  1991. },
  1992. //选择客户信息触发
  1993. getfleetId(data, row) {
  1994. this.$set(row, 'corpName', data.cname)
  1995. },
  1996. //收款信息移除
  1997. makeDel(row, index) {
  1998. this.$confirm('此操作将永久删除该单据, 是否继续?', '提示', {
  1999. confirmButtonText: '确定',
  2000. cancelButtonText: '取消',
  2001. type: 'warning'
  2002. }).then(() => {
  2003. if (row.id) removeCollection(row.id)
  2004. this.collectionList.splice(index, 1);
  2005. }).catch(() => {
  2006. this.$message({
  2007. type: 'info',
  2008. message: '已取消删除'
  2009. });
  2010. });
  2011. },
  2012. //付款信息移除
  2013. feeDel(row, index) {
  2014. this.$confirm('此操作将永久删除该单据, 是否继续?', '提示', {
  2015. confirmButtonText: '确定',
  2016. cancelButtonText: '取消',
  2017. type: 'warning'
  2018. }).then(() => {
  2019. if (row.id) removeCollection(row.id)
  2020. this.paymentList.splice(index, 1);
  2021. }).catch(() => {
  2022. this.$message({
  2023. type: 'info',
  2024. message: '已取消删除'
  2025. });
  2026. });
  2027. },
  2028. //自定义表头
  2029. renderHeader(h) {
  2030. return (
  2031. <div>
  2032. <el-tooltip className="item" effect="dark" content="增加途径地址" placement="top">
  2033. <el-button type="primary" icon="el-icon-plus" size="mini" circle onClick={() => this.addAddress()}
  2034. style="margin-right: 1.25rem;"></el-button>
  2035. </el-tooltip>
  2036. </div>
  2037. )
  2038. }
  2039. }
  2040. }
  2041. </script>
  2042. <style scoped lang="scss">
  2043. ::v-deep .el-form-item {
  2044. margin-bottom: 8px;
  2045. }
  2046. ::v-deep .el-form-item__content {
  2047. line-height: 32px;
  2048. }
  2049. ::v-deep .el-card__body {
  2050. padding: 10px 15px;
  2051. font-size: 14px;
  2052. }
  2053. </style>