index.vue 69 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015
  1. <template>
  2. <div class="app-container">
  3. <el-collapse v-model="activeNames" @change="">
  4. <el-collapse-item title="基础资料" name="1">
  5. <el-form ref="form" v-model="form" label-width="130px" size="mini" class="selectForm">
  6. <el-row >
  7. <el-col :span="6" >
  8. <el-form-item label="订舱单位" prop="corpName">
  9. <el-input
  10. v-model="form.corpName"
  11. :disabled="doNot"
  12. size="small"
  13. style="width: 100%"
  14. />
  15. </el-form-item>
  16. </el-col>
  17. <el-col :span="6" >
  18. <el-form-item label="提单号" prop="fMblno">
  19. <el-input
  20. v-model="form.fMblno"
  21. :disabled="modify"
  22. size="small"
  23. style="width: 100%"
  24. placeholder="手工输入"
  25. />
  26. </el-form-item>
  27. </el-col>
  28. <el-col :span="6">
  29. <el-form-item label="起运港口" prop="loadportidName">
  30. <el-input
  31. v-model="form.loadportidName"
  32. size="small"
  33. style="width: 100%"
  34. :disabled="doNot"
  35. />
  36. </el-form-item>
  37. </el-col>
  38. <el-col :span="6">
  39. <el-form-item label="目的港口" prop="destportidName">
  40. <el-input
  41. v-model="form.destportidName"
  42. :disabled="doNot"
  43. size="small"
  44. style="width: 100%"
  45. />
  46. </el-form-item>
  47. </el-col>
  48. <el-col :span="6">
  49. <el-form-item label="预计装货时间" prop="fBsdate">
  50. <el-date-picker
  51. v-model="form.fBsdate"
  52. type="date"
  53. size="small"
  54. style="width: 100%"
  55. :disabled="doNot"
  56. placeholder="选择日期"
  57. format="yyyy-MM-dd">
  58. </el-date-picker>
  59. </el-form-item>
  60. </el-col>
  61. <el-col :span="6">
  62. <el-form-item label="运输条款" prop="serviceitemsName">
  63. <el-input
  64. v-model="form.serviceitemsName"
  65. :disabled="doNot"
  66. size="small"
  67. style="width: 100%"
  68. />
  69. </el-form-item>
  70. </el-col>
  71. <el-col :span="6">
  72. <el-form-item label="付款方式" prop="paymodeName">
  73. <el-input
  74. v-model="form.paymodeName"
  75. :disabled="doNot"
  76. size="small"
  77. style="width: 100%"
  78. />
  79. </el-form-item>
  80. </el-col>
  81. <el-col :span="6">
  82. <el-form-item label="售票方" prop="invoceobjName">
  83. <el-input
  84. v-model="form.invoceobjName"
  85. :disabled="doNot"
  86. size="small"
  87. style="width: 100%"
  88. />
  89. </el-form-item>
  90. </el-col>
  91. <el-col :span="6">
  92. <el-form-item label="箱内签收单" prop="signName">
  93. <el-input
  94. v-model="form.signName"
  95. :disabled="doNot"
  96. size="small"
  97. style="width: 100%"
  98. />
  99. </el-form-item>
  100. </el-col>
  101. <el-col :span="6">
  102. <el-form-item label="订舱人扣货" prop="detentioncargoName">
  103. <el-input
  104. v-model="form.detentioncargoName"
  105. :disabled="doNot"
  106. style="width: 100%"
  107. size="small"
  108. />
  109. </el-form-item>
  110. </el-col>
  111. <el-col :span="6">
  112. <el-form-item label="船名" prop="vslidName">
  113. <el-input
  114. v-model="form.vslidName"
  115. :disabled="doNot"
  116. size="small"
  117. style="width: 100%"
  118. />
  119. </el-form-item>
  120. </el-col>
  121. <el-col :span="6">
  122. <el-form-item label="航次" prop="voyidName">
  123. <el-input
  124. v-model="form.voyidName"
  125. :disabled="doNot"
  126. size="small"
  127. style="width: 100%"
  128. />
  129. </el-form-item>
  130. </el-col>
  131. <el-col :span="14">
  132. <el-form-item label="备注" prop="remarks">
  133. <el-input
  134. v-model="form.remarks"
  135. :disabled="doNot"
  136. size="small"
  137. style="width: 75%"
  138. >
  139. </el-input>
  140. <el-button type="primary" size="small" @click="check(1)">查看</el-button>
  141. </el-form-item>
  142. </el-col>
  143. </el-row>
  144. </el-form>
  145. </el-collapse-item>
  146. <el-collapse-item title="预计时间" name="2">
  147. <el-form v-model="estimatedTime" label-width="130px" size="mini">
  148. <el-row>
  149. <el-col :span="6">
  150. <el-form-item label="起运港口" prop="portofloadidName">
  151. <el-input
  152. v-model="estimatedTime.portofloadidName"
  153. :disabled="doNot"
  154. size="small"
  155. style="width: 100%"
  156. />
  157. </el-form-item>
  158. </el-col>
  159. <el-col :span="6">
  160. <el-form-item label="中转港口" prop="portoftransshipmentName">
  161. <el-input
  162. v-model="estimatedTime.portoftransshipmentName"
  163. :disabled="doNot"
  164. size="small"
  165. style="width: 100%"
  166. />
  167. </el-form-item>
  168. </el-col>
  169. <!-- <el-col :span="6">-->
  170. <!-- <el-form-item label="预计中转抵港日期" prop="fMblno">-->
  171. <!-- <el-input-->
  172. <!-- v-model="form.fMblno"-->
  173. <!-- :disabled="doNot"-->
  174. <!-- size="small"-->
  175. <!-- style="width: 100%"-->
  176. <!-- placeholder="手工输入"-->
  177. <!-- />-->
  178. <!-- </el-form-item>-->
  179. <!-- </el-col>-->
  180. <!-- <el-col :span="6">-->
  181. <!-- <el-form-item label="预计中转开航日期" prop="fMblno">-->
  182. <!-- <el-input-->
  183. <!-- v-model="form.fMblno"-->
  184. <!-- :disabled="doNot"-->
  185. <!-- size="small"-->
  186. <!-- style="width: 100%"-->
  187. <!-- placeholder="手工输入"-->
  188. <!-- />-->
  189. <!-- </el-form-item>-->
  190. <!-- </el-col>-->
  191. <el-col :span="6">
  192. <el-form-item label="目的港口" prop="portofdischargeidName">
  193. <el-input
  194. v-model="estimatedTime.portofdischargeidName"
  195. :disabled="doNot"
  196. size="small"
  197. style="width: 100%"
  198. />
  199. </el-form-item>
  200. </el-col>
  201. <el-col :span="6">
  202. <el-form-item label="预计开航日期" prop="fEtd">
  203. <el-input
  204. v-model="estimatedTime.fEtd"
  205. :disabled="doNot"
  206. size="small"
  207. style="width: 100%"
  208. />
  209. </el-form-item>
  210. </el-col>
  211. <el-col :span="6">
  212. <el-form-item label="预计抵港日期" prop="fEta">
  213. <el-input
  214. v-model="estimatedTime.fEta"
  215. :disabled="doNot"
  216. size="small"
  217. style="width: 100%"
  218. />
  219. </el-form-item>
  220. </el-col>
  221. </el-row>
  222. </el-form>
  223. </el-collapse-item>
  224. <el-collapse-item title="收发货人信息" name="3">
  225. <el-form v-model="form" label-width="130px" size="mini">
  226. <el-row>
  227. <el-col :span="6">
  228. <el-form-item label="发货人全称" prop="fShippername">
  229. <el-input
  230. v-model="form.fShippername"
  231. :disabled="doNot"
  232. size="small"
  233. style="width: 100%"
  234. placeholder="手工输入"
  235. />
  236. </el-form-item>
  237. </el-col>
  238. <el-col :span="6">
  239. <el-form-item label="发货人联系人" prop="fShipperattn">
  240. <el-input
  241. v-model="form.fShipperattn"
  242. :disabled="doNot"
  243. style="width: 100%"
  244. size="small"
  245. placeholder="手工输入"
  246. />
  247. </el-form-item>
  248. </el-col>
  249. <el-col :span="6">
  250. <el-form-item label="发货人电话" prop="fShippertel">
  251. <el-input
  252. v-model="form.fShippertel"
  253. :disabled="doNot"
  254. size="small"
  255. style="width: 100%"
  256. placeholder="手工输入"
  257. />
  258. </el-form-item>
  259. </el-col>
  260. </el-row>
  261. <el-row>
  262. <el-col :span="6">
  263. <el-form-item label="收货人全称" prop="fConsigneername">
  264. <el-input
  265. v-model="form.fConsigneername"
  266. :disabled="doNot"
  267. size="small"
  268. style="width: 100%"
  269. placeholder="手工输入"
  270. />
  271. </el-form-item>
  272. </el-col>
  273. <el-col :span="6">
  274. <el-form-item label="收货人联系人" prop="fConsigneeattn">
  275. <el-input
  276. v-model="form.fConsigneeattn"
  277. :disabled="doNot"
  278. style="width: 100%"
  279. size="small"
  280. placeholder="手工输入"
  281. />
  282. </el-form-item>
  283. </el-col>
  284. <el-col :span="6">
  285. <el-form-item label="收货人电话" prop="fConsigneetel">
  286. <el-input
  287. v-model="form.fConsigneetel"
  288. :disabled="doNot"
  289. style="width: 100%"
  290. size="small"
  291. placeholder="手工输入"
  292. />
  293. </el-form-item>
  294. </el-col>
  295. </el-row>
  296. </el-form>
  297. </el-collapse-item>
  298. <el-collapse-item title="费用信息" name="5" class="minHeight">
  299. <el-form v-model="form" label-width="130px" size="mini">
  300. <el-row>
  301. <el-col :span="6">
  302. <el-form-item label="是否办理保险" prop="insuranceName">
  303. <el-input
  304. v-model="form.insuranceName"
  305. :disabled="doNot"
  306. size="small"
  307. style="width: 100%"
  308. />
  309. </el-form-item>
  310. </el-col>
  311. <el-col :span="6">
  312. <el-form-item label="保险货值(万元)" prop="fInsuranceamt">
  313. <el-input
  314. v-model="form.fInsuranceamt"
  315. :disabled="doNot"
  316. style="width: 100%"
  317. size="small"
  318. />
  319. </el-form-item>
  320. </el-col>
  321. </el-row>
  322. </el-form>
  323. </el-collapse-item>
  324. <el-collapse-item title="货物信息" name="4">
  325. <el-table :data="goodsList" style="width: 100%;" align="center">
  326. <el-table-column label="行号" type="index" min-width="100px"/>
  327. <el-table-column label="货物名称" prop="goodsName" min-width="100px"/>
  328. <el-table-column label="货类" prop="typeidName" min-width="100px" />
  329. <el-table-column label="包装类型" prop="packageName" min-width="100px"/>
  330. <el-table-column label="箱型" prop="cntrName" min-width="100px"/>
  331. <el-table-column label="箱量" prop="fCntrcount" min-width="100px"/>
  332. <el-table-column label="单箱重量(吨)" prop="fCntrweight" min-width="120px"/>
  333. <el-table-column label="箱态" prop="fCntrstatus" min-width="100px"/>
  334. <el-table-column label="自备货柜" prop="fSoc" min-width="100px"/>
  335. <el-table-column label="设置温度(℃)" prop="fTemperature" min-width="120px"/>
  336. <el-table-column label="风门开度(%)" prop="fDraught" min-width="120px"/>
  337. <el-table-column label="湿度设置(%)" prop="fHumidity" min-width="120px"/>
  338. <el-table-column label="预冷要求" prop="fPrecooling" min-width="100px"/>
  339. <el-table-column label="是否化学品" prop="ifdangerName" min-width="100px">
  340. <template slot-scope="scope">
  341. <span>{{scope.row.ifdangerName}}</span>
  342. <el-button type="primary" size="small" @click="check(2)" style="margin-left: 5px;">查看</el-button>
  343. </template>
  344. </el-table-column>
  345. <el-table-column label="备注" prop="remark" min-width="100px"/>
  346. </el-table>
  347. </el-collapse-item>
  348. <el-collapse-item title="箱信息" name="6" class="minHeight">
  349. <div
  350. class="dialogTableTitle flex a-center jlr"
  351. style="
  352. display: flex;
  353. justify-content: space-between;
  354. align-items: center;
  355. margin: 10px 0;
  356. font-size: 16px;
  357. font-weight: bolder;
  358. "
  359. >
  360. <div>
  361. <el-button
  362. size="small"
  363. type="primary"
  364. :disabled="modify"
  365. @click.prevent="addList()"
  366. >新行
  367. </el-button>
  368. <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
  369. >删除
  370. </el-button> -->
  371. <el-button
  372. type="primary"
  373. size="small"
  374. :disabled="modify"
  375. @click="approval"
  376. >保 存</el-button
  377. >
  378. </div>
  379. </div>
  380. <el-table :data="dataList" style="width: 100%;">
  381. <el-table-column type="selection" width="55" align="center" />
  382. <el-table-column label="序号" type="index" width="80"/>
  383. <el-table-column label="箱号" align="center" prop="fCntrno">
  384. <template slot-scope="scope">
  385. <el-input v-model="scope.row.fCntrno" :disabled="scope.row.fManual == 0 || modify"/>
  386. </template>
  387. </el-table-column>
  388. <el-table-column label="铅封号" align="center" prop="fSealno">
  389. <template slot-scope="scope">
  390. <el-input v-model="scope.row.fSealno" :disabled="scope.row.fManual == 0 || modify"/>
  391. </template>
  392. </el-table-column>
  393. <el-table-column prop="fCntrweight" label="单箱重量(吨)" align="center">
  394. <template slot-scope="scope">
  395. <el-input v-model="scope.row.fCntrweight" :disabled="scope.row.fManual == 0 || modify" @input="cntrWeight"/>
  396. </template>
  397. </el-table-column>
  398. <el-table-column prop="fGoodsid" label="货名" align="center">
  399. <template slot-scope="scope">
  400. <el-select clearable v-model="scope.row.fGoodsid" :disabled="scope.row.fManual == 0 || modify">
  401. <el-option
  402. v-for="item in goodsOptions"
  403. :key="item.fId"
  404. :label="item.fName"
  405. :value="item.fId"/>
  406. </el-select>
  407. </template>
  408. </el-table-column>
  409. <el-table-column prop="fPackageid" label="包装类型" align="center">
  410. <template slot-scope="scope">
  411. <el-select clearable v-model="scope.row.fPackageid" :disabled="scope.row.fManual == 0 || modify">
  412. <el-option
  413. v-for="dict in packgeOptions"
  414. :key="dict.dictValue"
  415. :label="dict.dictLabel"
  416. :value="dict.dictValue"/>
  417. </el-select>
  418. </template>
  419. </el-table-column>
  420. <el-table-column prop="fCntrid" label="箱型" align="center">
  421. <template slot-scope="scope">
  422. <el-select clearable v-model="scope.row.fCntrid" :disabled="scope.row.fManual == 0 || modify">
  423. <el-option
  424. v-for="item in cntrOptions"
  425. :key="item.fId"
  426. :label="item.fNo"
  427. :value="item.fId"/>
  428. </el-select>
  429. </template>
  430. </el-table-column>
  431. <!-- <el-table-column prop="fManual" label="来源" align="center">-->
  432. <!-- <template slot-scope="scope">-->
  433. <!-- <el-select clearable v-model="scope.row.fManual" :disabled="modify">-->
  434. <!-- <el-option />-->
  435. <!-- </el-select>-->
  436. <!-- </template>-->
  437. <!-- </el-table-column>-->
  438. <el-table-column prop="address" label="操作" align="center">
  439. <template slot-scope="scope">
  440. <el-button size="small" :disabled="scope.row.fManual == 0 || modify" @click="deleteRow(scope.$index, dataList)">移除</el-button>
  441. </template>
  442. </el-table-column>
  443. </el-table>
  444. </el-collapse-item>
  445. <el-collapse-item>
  446. <template slot="title">
  447. <i class="el-icon-circle-plus"></i>应收费用
  448. </template>
  449. <div
  450. class="dialogTableTitle flex a-center jlr"
  451. style="
  452. display: flex;
  453. justify-content: space-between;
  454. align-items: center;
  455. margin: 10px 0;
  456. "
  457. >
  458. <div>
  459. <el-button
  460. size="small"
  461. type="primary"
  462. :disabled="modify"
  463. @click.prevent="addCollection()"
  464. >新行
  465. </el-button>
  466. <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
  467. >删除
  468. </el-button> -->
  469. <el-button
  470. type="primary"
  471. size="small"
  472. :disabled="modify"
  473. @click="approval"
  474. >保 存</el-button
  475. >
  476. <!-- <el-button @click.prevent="addAgreement()" type="warning">仓储费协议</el-button> -->
  477. <el-button
  478. size="small"
  479. @click.prevent="handleSelect(3)"
  480. :disabled="modify"
  481. type="danger"
  482. >导入协议</el-button
  483. >
  484. </div>
  485. </div>
  486. <el-table
  487. :data="warehouseDrList"
  488. ref="table"
  489. tooltip-effect="dark"
  490. border
  491. stripe
  492. show-summary
  493. @selection-change=""
  494. :summary-method="warehouseDrSummaries"
  495. >
  496. <el-table-column type="selection" width="55" align="center" />
  497. <el-table-column label="序号" type="index" width="80">
  498. </el-table-column>
  499. <el-table-column
  500. prop="fBusinessType"
  501. header-align="center"
  502. align="center"
  503. width="180px"
  504. label="业务类型"
  505. >
  506. <template slot-scope="scope">
  507. <el-select
  508. v-model="scope.row.fBusinessType"
  509. filterable
  510. remote
  511. :disabled="modify || scope.row.fSrcTypeId != 0"
  512. placeholder="请选择业务类型"
  513. >
  514. <el-option
  515. v-for="dict in businessTypeOptions"
  516. :key="dict.dictValue"
  517. :label="dict.dictLabel"
  518. :value="dict.dictValue"
  519. ></el-option>
  520. </el-select>
  521. </template>
  522. </el-table-column>
  523. <el-table-column
  524. prop="fCorpid"
  525. header-align="center"
  526. align="center"
  527. width="180px"
  528. label="客户名称"
  529. >
  530. <template slot-scope="scope">
  531. <el-select
  532. v-model="scope.row.fCorpid"
  533. filterable
  534. remote
  535. :disabled="modify || scope.row.fSrcTypeId != 0"
  536. placeholder="请选择客户名称"
  537. >
  538. <el-option
  539. v-for="item in nameOptions"
  540. :key="item.id"
  541. :label="item.name"
  542. :value="item.id"
  543. ></el-option>
  544. </el-select>
  545. </template>
  546. </el-table-column>
  547. <el-table-column
  548. prop="fFeeid"
  549. header-align="center"
  550. align="center"
  551. width="180px"
  552. label="费用名称"
  553. >
  554. <template slot-scope="scope">
  555. <el-select
  556. v-model="scope.row.fFeeid"
  557. filterable
  558. remote
  559. :disabled="modify || scope.row.fSrcTypeId !== 0"
  560. placeholder="请选择费用名称"
  561. >
  562. <el-option
  563. v-for="(dict, index) in fDNameOptions"
  564. :key="index.fId"
  565. :label="dict.fName"
  566. :value="dict.fId"
  567. ></el-option>
  568. </el-select>
  569. </template>
  570. </el-table-column>
  571. <el-table-column
  572. prop="fFeeUnitid"
  573. header-align="center"
  574. align="center"
  575. width="180px"
  576. label="计价单位"
  577. >
  578. <template slot-scope="scope">
  579. <el-select
  580. v-model="scope.row.fFeeUnitid"
  581. placeholder="请选择计价单位"
  582. @change="changeFeeUnit(scope.row)"
  583. clearable
  584. :disabled="modify || scope.row.fSrcTypeId !== 0"
  585. >
  586. <el-option
  587. v-for="(dict, index) in jFeetunitOptions"
  588. :key="index.dictValue"
  589. :label="dict.dictLabel"
  590. :value="dict.dictValue"
  591. />
  592. </el-select>
  593. </template>
  594. </el-table-column>
  595. <el-table-column
  596. prop="fQty"
  597. header-align="center"
  598. align="center"
  599. width="130px"
  600. label="数量"
  601. >
  602. <template slot-scope="scope">
  603. <el-input
  604. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  605. v-model="scope.row.fQty"
  606. placeholder="数量"
  607. :disabled="modify || scope.row.fSrcTypeId !== 0"
  608. @change="changeContractAmt(scope.row)"
  609. show-word-limit
  610. />
  611. </template>
  612. </el-table-column>
  613. <el-table-column
  614. prop="fUnitprice"
  615. header-align="center"
  616. align="center"
  617. width="130px"
  618. label="单价"
  619. >
  620. <template slot-scope="scope">
  621. <el-input
  622. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  623. v-model="scope.row.fUnitprice"
  624. placeholder="单价"
  625. :disabled="modify || scope.row.fSrcTypeId !== 0"
  626. @change="changeContractAmt(scope.row)"
  627. show-word-limit
  628. />
  629. </template>
  630. </el-table-column>
  631. <el-table-column
  632. prop="fAmount"
  633. header-align="center"
  634. align="center"
  635. width="130px"
  636. label="金额"
  637. >
  638. <template slot-scope="scope">
  639. <el-input
  640. disabled
  641. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  642. v-model="scope.row.fAmount"
  643. placeholder="金额"
  644. show-word-limit
  645. />
  646. </template>
  647. </el-table-column>
  648. <el-table-column
  649. prop="fStltypeid"
  650. header-align="center"
  651. align="center"
  652. width="130px"
  653. label="结算方式"
  654. >
  655. <template slot-scope="scope">
  656. <el-select
  657. v-model="scope.row.fStltypeid"
  658. placeholder="请选择结算表票结、月结"
  659. :disabled="modify || scope.row.fSrcTypeId !== 0"
  660. >
  661. <el-option
  662. v-for="(dict, index) in fStltypeOptions"
  663. :key="index.dictValue"
  664. :label="dict.dictLabel"
  665. :value="parseInt(dict.dictValue)"
  666. ></el-option>
  667. </el-select>
  668. </template>
  669. </el-table-column>
  670. <el-table-column
  671. prop="fCurrency"
  672. header-align="center"
  673. align="center"
  674. width="130px"
  675. label="币别"
  676. >
  677. <template slot-scope="scope">
  678. <el-input
  679. v-model="scope.row.fCurrency"
  680. :disabled="modify || scope.row.fSrcTypeId !== 0"
  681. placeholder="币别"
  682. show-word-limit
  683. />
  684. </template>
  685. </el-table-column>
  686. <el-table-column
  687. prop="fExrate"
  688. header-align="center"
  689. align="center"
  690. width="130px"
  691. label="汇率"
  692. >
  693. <template slot-scope="scope">
  694. <el-input
  695. v-model="scope.row.fExrate"
  696. :disabled="modify || scope.row.fSrcTypeId !== 0"
  697. placeholder="汇率"
  698. show-word-limit
  699. />
  700. </template>
  701. </el-table-column>
  702. <el-table-column
  703. prop="fTaxrate"
  704. header-align="center"
  705. align="center"
  706. width="130px"
  707. label="税率"
  708. >
  709. <template slot-scope="scope">
  710. <el-input
  711. v-model="scope.row.fTaxrate"
  712. :disabled="modify || scope.row.fSrcTypeId !== 0"
  713. placeholder="税率"
  714. show-word-limit
  715. />
  716. </template>
  717. </el-table-column>
  718. <el-table-column
  719. prop="fSrcTypeId"
  720. header-align="center"
  721. align="center"
  722. width="130px"
  723. label="来源"
  724. >
  725. <template slot-scope="scope">
  726. <span v-if="scope.row.fSrcTypeId === 0">录入</span>
  727. <span v-if="scope.row.fSrcTypeId !== 0">协议</span>
  728. </template>
  729. </el-table-column>
  730. <el-table-column
  731. prop="remarks"
  732. header-align="center"
  733. align="center"
  734. width="150px"
  735. label="备注"
  736. >
  737. <template slot-scope="scope">
  738. <el-input
  739. v-model="scope.row.Remarks"
  740. :disabled="modify || scope.row.fSrcTypeId !== 0"
  741. placeholder="备注"
  742. show-word-limit
  743. />
  744. </template>
  745. </el-table-column>
  746. <el-table-column
  747. header-align="center"
  748. align="center"
  749. label="操作"
  750. width="200px"
  751. >
  752. <template slot-scope="scope">
  753. <el-button
  754. @click.native.prevent="
  755. deleteRow(scope.$index, warehouseDrList)
  756. "
  757. size="small"
  758. :disabled="modify"
  759. >移除</el-button
  760. >
  761. </template>
  762. </el-table-column>
  763. </el-table>
  764. </el-collapse-item>
  765. <el-collapse-item>
  766. <template slot="title">
  767. <i class="el-icon-remove"></i>应付费用
  768. </template>
  769. <div
  770. class="dialogTableTitle flex a-center jlr"
  771. style="
  772. display: flex;
  773. justify-content: space-between;
  774. align-items: center;
  775. margin: 10px 0;
  776. "
  777. >
  778. <div>
  779. <el-button
  780. type="primary"
  781. :disabled="modify"
  782. @click.prevent="addpayment()"
  783. size="small"
  784. >新行
  785. </el-button>
  786. <el-button
  787. type="primary"
  788. size="small"
  789. @click="approval"
  790. :disabled="modify"
  791. >保 存</el-button
  792. >
  793. <el-button
  794. type="danger"
  795. size="small"
  796. @click.prevent="handleSelect(1)"
  797. :disabled="modify"
  798. >导入协议</el-button
  799. >
  800. </div>
  801. </div>
  802. <el-table
  803. :data="warehouseCrList"
  804. ref="table"
  805. tooltip-effect="dark"
  806. border
  807. stripe
  808. show-summary
  809. @selection-change=""
  810. :summary-method="warehouseDrSummaries"
  811. >
  812. <el-table-column type="selection" width="55" align="center" />
  813. <el-table-column label="序号" type="index" width="80">
  814. </el-table-column>
  815. <el-table-column
  816. prop="fCorpid"
  817. header-align="center"
  818. align="center"
  819. width="180px"
  820. label="业务类型"
  821. >
  822. <template slot-scope="scope">
  823. <el-select
  824. v-model="scope.row.fBusinessType"
  825. filterable
  826. remote
  827. :disabled="modify || scope.row.fSrcTypeId != 0"
  828. placeholder="请选择业务类型"
  829. >
  830. <el-option
  831. v-for="dict in businessTypeOptions"
  832. :key="dict.dictValue"
  833. :label="dict.dictLabel"
  834. :value="dict.dictValue"
  835. ></el-option>
  836. </el-select>
  837. </template>
  838. </el-table-column>
  839. <el-table-column
  840. prop="fCorpid"
  841. header-align="center"
  842. align="center"
  843. width="180px"
  844. label="客户名称"
  845. >
  846. <template slot-scope="scope">
  847. <el-select
  848. v-model="scope.row.fCorpid"
  849. filterable
  850. remote
  851. :disabled="modify || scope.row.fSrcTypeId != 0"
  852. placeholder="请选择客户名称"
  853. >
  854. <el-option
  855. v-for="item in nameOptions"
  856. :key="item.id"
  857. :label="item.name"
  858. :value="item.id"
  859. ></el-option>
  860. </el-select>
  861. </template>
  862. </el-table-column>
  863. <el-table-column
  864. prop="fFeeid"
  865. header-align="center"
  866. align="center"
  867. width="180px"
  868. label="费用名称"
  869. >
  870. <template slot-scope="scope">
  871. <el-select
  872. v-model="scope.row.fFeeid"
  873. filterable
  874. :disabled="modify || scope.row.fSrcTypeId !== 0"
  875. remote
  876. placeholder="请选择费用名称"
  877. >
  878. <el-option
  879. v-for="(dict, index) in fCNameOptions"
  880. :key="index.fId"
  881. :label="dict.fName"
  882. :value="dict.fId"
  883. ></el-option>
  884. </el-select>
  885. </template>
  886. </el-table-column>
  887. <el-table-column
  888. prop="fFeeUnitid"
  889. header-align="center"
  890. align="center"
  891. width="180px"
  892. label="计价单位"
  893. >
  894. <template slot-scope="scope">
  895. <el-select
  896. v-model="scope.row.fFeeUnitid"
  897. filterable
  898. remote
  899. @change="changeFeeUnit(scope.row)"
  900. :disabled="modify || scope.row.fSrcTypeId !== 0"
  901. placeholder="请选择计价单位"
  902. >
  903. <el-option
  904. v-for="(dict, index) in jFeetunitOptions"
  905. :key="index.dictValue"
  906. :label="dict.dictLabel"
  907. :value="dict.dictValue"
  908. ></el-option>
  909. </el-select>
  910. </template>
  911. </el-table-column>
  912. <el-table-column
  913. prop="fQty"
  914. header-align="center"
  915. align="center"
  916. width="150px"
  917. label="数量"
  918. >
  919. <template slot-scope="scope">
  920. <el-input
  921. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/, "$1$2.$3")'
  922. v-model="scope.row.fQty"
  923. :disabled="modify || scope.row.fSrcTypeId !== 0"
  924. @change="changeContractAmt(scope.row)"
  925. placeholder="数量"
  926. show-word-limit
  927. />
  928. </template>
  929. </el-table-column>
  930. <el-table-column
  931. prop="fUnitprice"
  932. header-align="center"
  933. align="center"
  934. width="150px"
  935. label="单价"
  936. >
  937. <template slot-scope="scope">
  938. <el-input
  939. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  940. v-model="scope.row.fUnitprice"
  941. :disabled="modify || scope.row.fSrcTypeId !== 0"
  942. @change="changeContractAmt(scope.row)"
  943. placeholder="单价"
  944. show-word-limit
  945. />
  946. </template>
  947. </el-table-column>
  948. <el-table-column
  949. prop="fAmount"
  950. header-align="center"
  951. align="center"
  952. width="150px"
  953. label="金额"
  954. >
  955. <template slot-scope="scope">
  956. <el-input
  957. disabled
  958. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  959. v-model="scope.row.fAmount"
  960. placeholder="金额"
  961. show-word-limit
  962. />
  963. </template>
  964. </el-table-column>
  965. <el-table-column
  966. prop="fStltypeid"
  967. header-align="center"
  968. align="center"
  969. width="130px"
  970. label="结算方式"
  971. >
  972. <template slot-scope="scope">
  973. <el-select
  974. v-model="scope.row.fStltypeid"
  975. placeholder="请选择结算表票结、月结"
  976. :disabled="modify || scope.row.fSrcTypeId !== 0"
  977. >
  978. <el-option
  979. v-for="(dict, index) in fStltypeOptions"
  980. :key="index.dictValue"
  981. :label="dict.dictLabel"
  982. :value="parseInt(dict.dictValue)"
  983. ></el-option>
  984. </el-select>
  985. </template>
  986. </el-table-column>
  987. <el-table-column
  988. prop="fCurrency"
  989. header-align="center"
  990. align="center"
  991. width="150px"
  992. label="币别"
  993. >
  994. <template slot-scope="scope">
  995. <el-input
  996. v-model="scope.row.fCurrency"
  997. :disabled="modify || scope.row.fSrcTypeId !== 0"
  998. placeholder="币别"
  999. show-word-limit
  1000. />
  1001. </template>
  1002. </el-table-column>
  1003. <el-table-column
  1004. prop="fExrate"
  1005. header-align="center"
  1006. align="center"
  1007. width="150px"
  1008. label="汇率"
  1009. >
  1010. <template slot-scope="scope">
  1011. <el-input
  1012. v-model="scope.row.fExrate"
  1013. :disabled="modify || scope.row.fSrcTypeId !== 0"
  1014. placeholder="汇率"
  1015. show-word-limit
  1016. />
  1017. </template>
  1018. </el-table-column>
  1019. <el-table-column
  1020. prop="fTaxrate"
  1021. header-align="center"
  1022. align="center"
  1023. width="150px"
  1024. label="税率"
  1025. >
  1026. <template slot-scope="scope">
  1027. <el-input
  1028. v-model="scope.row.fTaxrate"
  1029. :disabled="modify || scope.row.fSrcTypeId !== 0"
  1030. placeholder="税率"
  1031. show-word-limit
  1032. />
  1033. </template>
  1034. </el-table-column>
  1035. <el-table-column
  1036. prop="fSrcTypeId"
  1037. header-align="center"
  1038. align="center"
  1039. width="130px"
  1040. label="来源"
  1041. >
  1042. <template slot-scope="scope">
  1043. <span v-if="scope.row.fSrcTypeId === 0">录入</span>
  1044. <span v-if="scope.row.fSrcTypeId !== 0">协议</span>
  1045. </template>
  1046. </el-table-column>
  1047. <el-table-column
  1048. prop="remarks"
  1049. header-align="center"
  1050. align="center"
  1051. width="150px"
  1052. label="备注"
  1053. >
  1054. <template slot-scope="scope">
  1055. <el-input
  1056. v-model="scope.row.remarks"
  1057. :disabled="modify || scope.row.fSrcTypeId !== 0"
  1058. placeholder="备注"
  1059. show-word-limit
  1060. />
  1061. </template>
  1062. </el-table-column>
  1063. <el-table-column
  1064. header-align="center"
  1065. align="center"
  1066. width="200px"
  1067. label="操作"
  1068. >
  1069. <template slot-scope="scope">
  1070. <!-- <el-button size="small">审核费用</el-button> -->
  1071. <el-button
  1072. @click.native.prevent="
  1073. deleteRoww(scope.$index, warehouseCrList)
  1074. "
  1075. size="small"
  1076. :disabled="modify"
  1077. >移除</el-button
  1078. >
  1079. </template>
  1080. </el-table-column>
  1081. </el-table>
  1082. </el-collapse-item>
  1083. </el-collapse>
  1084. <div style="margin:60px;float: right">
  1085. <add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update>
  1086. <approval-comments v-if="addOrUpdateVisib" ref="ApprovalComments" @refreshDataList="returnData"></approval-comments>
  1087. <el-button type="info" :disabled="jumpDonot" v-if="this.form.fBillstatus == 11" @click="modify = false">修 改</el-button>
  1088. <el-button type="success" :disabled="modify" v-if="this.form.fBillstatus == 11" @click="approval">保 存</el-button>
  1089. <el-button type="primary" :disabled="modify" v-if="this.form.fBillstatus == 11" @click="feeSubmission">费用请核</el-button>
  1090. <el-button type="success" v-if="approVal" @click="addOrUpdateHand(form)">审 批</el-button>
  1091. <el-button type="danger" :disabled="disappear" v-if="form.moneyStatus === 4 && current == before" @click="revokeTwo">撤销请核</el-button>
  1092. <el-button type="primary" v-if="this.form.fBillstatus != 11 || this.form.moneyStatus != null && this.form.moneyStatus != 6"@click="addOrUpdateHandle(form)">查看审批</el-button>
  1093. <el-button icon="el-icon-arrow-left" type="danger" v-if="cancelButton === true" @click="cancel">返回列表</el-button>
  1094. <el-button icon="el-icon-arrow-left" type="danger" v-if="cancelButton === false" @click="cancelTwo"
  1095. >返回首页</el-button
  1096. >
  1097. </div>
  1098. <!-- 附件查看-->
  1099. <el-dialog
  1100. title="查看附件"
  1101. :visible.sync="dialogVisible"
  1102. width="60%"
  1103. v-dialogDrag>
  1104. <el-table
  1105. :data="relevantAttachments"
  1106. ref="table"
  1107. tooltip-effect="dark"
  1108. border
  1109. stripe
  1110. style="width: 100%"
  1111. height="150"
  1112. >
  1113. <el-table-column label="序号" type="index" width="80">
  1114. </el-table-column>
  1115. <el-table-column
  1116. prop="fName"
  1117. header-align="center"
  1118. align="center"
  1119. width="250px"
  1120. label="附件名称"
  1121. >
  1122. <template slot-scope="scope">
  1123. <el-input
  1124. v-model="scope.row.fName"
  1125. placeholder="附件名称"
  1126. show-word-limit
  1127. />
  1128. </template>
  1129. </el-table-column>
  1130. <el-table-column
  1131. prop="createTime"
  1132. header-align="center"
  1133. align="center"
  1134. width="250px"
  1135. label="上传时间"
  1136. >
  1137. <template slot-scope="scope">
  1138. <el-input
  1139. v-model="scope.row.createTime"
  1140. disabled
  1141. placeholder="上传时间"
  1142. ></el-input>
  1143. </template>
  1144. </el-table-column>
  1145. <el-table-column
  1146. prop="createBy"
  1147. header-align="center"
  1148. align="center"
  1149. width="150px"
  1150. label="上传人"
  1151. >
  1152. <template slot-scope="scope">
  1153. <el-input
  1154. v-model="scope.row.createBy"
  1155. disabled
  1156. placeholder="上传人"
  1157. show-word-limit
  1158. />
  1159. </template>
  1160. </el-table-column>
  1161. <el-table-column
  1162. prop="fUrl"
  1163. header-align="center"
  1164. align="center"
  1165. width="150px"
  1166. label="操作"
  1167. >
  1168. <template slot-scope="scope">
  1169. <!-- <el-upload-->
  1170. <!-- class="upload-demo"-->
  1171. <!-- :action="uploadImgUrl"-->
  1172. <!-- :on-success="(res,file)=>{handleSucces(scope,res,file)}"-->
  1173. <!-- :headers="headers"-->
  1174. <!-- style="width:25%;float: left"-->
  1175. <!-- :show-file-list="false"-->
  1176. <!-- :limit="1"-->
  1177. <!-- >-->
  1178. <!-- <el-button size="small" type="primary" style="margin-left:20px">点击上传</el-button>-->
  1179. <!-- </el-upload>-->
  1180. <el-button size="small" type="primary" @click="checkFile(scope)">查看</el-button>
  1181. <!-- <el-button size="small" type="primary" @click="deleteFile(scope)">删除</el-button>-->
  1182. </template>
  1183. </el-table-column>
  1184. </el-table>
  1185. <span slot="footer" class="dialog-footer">
  1186. <el-button @click="dialogVisible = false">取 消</el-button>
  1187. <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
  1188. </span>
  1189. </el-dialog>
  1190. </div>
  1191. </template>
  1192. <script>
  1193. import { listCorps, addmodify, getCntr, postApproval, listFees,getGoodName,getFName,getfee,getName} from '@/api/kaihe/domesticTrade/orderInformation'
  1194. import Global from '@/layout/components/global'
  1195. import { getToken } from '@/utils/auth'
  1196. import Cookies from 'js-cookie'
  1197. import draggable from 'vuedraggable'
  1198. import Vue from 'vue'
  1199. import AddOrUpdate from '@/views/viewApproval'
  1200. import ApprovalComments from '@/views/startApproval'
  1201. import { revoke, revokeTwo } from '@/api/warehouseBusiness/warehouseInStock'
  1202. import { queryUserVal } from '@/api/system/user'
  1203. Vue.directive('dialogDrag', {
  1204. bind(el, binding, vnode, oldVnode) {
  1205. const dialogHeaderEl = el.querySelector('.el-dialog__header')
  1206. const dragDom = el.querySelector('.el-dialog')
  1207. const enlarge = el.querySelector('.enlarge')
  1208. dialogHeaderEl.style.cursor = 'move'
  1209. // 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null);
  1210. const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null)
  1211. if(enlarge){
  1212. enlarge.onclick = (e) => {
  1213. dragDom.style.top = '0px'
  1214. dragDom.style.left = '0px'
  1215. }
  1216. }
  1217. dialogHeaderEl.onmousedown = (e) => {
  1218. // 鼠标按下,计算当前元素距离可视区的距离
  1219. const disX = e.clientX - dialogHeaderEl.offsetLeft
  1220. const disY = e.clientY - dialogHeaderEl.offsetTop
  1221. // 获取到的值带px 正则匹配替换
  1222. let styL, styT
  1223. // 注意在ie中 第一次获取到的值为组件自带50% 移动之后赋值为px
  1224. if (sty.left.includes('%')) {
  1225. styL = +document.body.clientWidth * (+sty.left.replace(/\%/g, '') / 100)
  1226. styT = +document.body.clientHeight * (+sty.top.replace(/\%/g, '') / 100)
  1227. } else {
  1228. styL = +sty.left.replace(/\px/g, '')
  1229. styT = +sty.top.replace(/\px/g, '')
  1230. }
  1231. document.onmousemove = function(e) {
  1232. // 通过事件委托,计算移动的距离
  1233. const l = e.clientX - disX
  1234. const t = e.clientY - disY
  1235. // 移动当前元素
  1236. if ((t + styT) >= 0){
  1237. dragDom.style.top = `${t + styT}px`
  1238. }
  1239. dragDom.style.left = `${l + styL}px`
  1240. // 将此时的位置传出去
  1241. // binding.value({x:e.pageX,y:e.pageY})
  1242. }
  1243. document.onmouseup = function(e) {
  1244. document.onmousemove = null
  1245. document.onmouseup = null
  1246. }
  1247. }
  1248. }
  1249. })
  1250. export default {
  1251. name: 'orderInformation',
  1252. components: {
  1253. AddOrUpdate,
  1254. ApprovalComments,
  1255. },
  1256. data() {
  1257. return {
  1258. cancelButton: true,
  1259. jumpDonot:false,
  1260. disappear:false,
  1261. businessTypeOptions:[],
  1262. id:null,
  1263. current: "",
  1264. before: "",
  1265. approVal: false,
  1266. //客户名称下拉模糊
  1267. nameOptions:[],
  1268. //字典表包装类型
  1269. packgeOptions:[],
  1270. //货名下拉
  1271. goodsOptions:[],
  1272. //箱型下拉
  1273. cntrOptions:[],
  1274. fTaxrate:"",
  1275. //结算方式
  1276. fStltypeOptions:[],
  1277. //计价单位
  1278. jFeetunitOptions:[],
  1279. //收付款费用名称字典表
  1280. fDNameOptions: [],
  1281. fCNameOptions: [],
  1282. warehouseCrList:[],
  1283. estimatedTime:{},
  1284. addOrUpdateVisible: false,
  1285. addOrUpdateVisib: false,
  1286. warehouseDrList:[],
  1287. goodsList:[],
  1288. dataList:[],
  1289. visible:false,
  1290. dataForm:{},
  1291. modify:true,
  1292. doNot:true,
  1293. activeNames: ["1","2","3","4","5","6"],
  1294. form:{},
  1295. uploadImgUrl: process.env.VUE_APP_BASE_API + '/common/upload', // 上传的图片服务器地址
  1296. relevantAttachments: [],
  1297. headers: { Authorization: 'Bearer ' + getToken() },
  1298. //集装箱尺码字典表
  1299. CntrsizeOptions: [],
  1300. //模糊查询箱类型
  1301. typeOptions: [],
  1302. //附件上传弹窗
  1303. dialogVisible: false,
  1304. //调箱动作字典表
  1305. boxActionOptions: [],
  1306. //集装箱主字典表
  1307. ownerOptions: [],
  1308. //模糊下拉查询地点
  1309. addressOptions: [],
  1310. //空重字典表
  1311. updateEFOptions: [],
  1312. //状态字典表
  1313. cntrstatusOptions: [],
  1314. // 遮罩层
  1315. loading: true,
  1316. // 选中数组
  1317. ids: [],
  1318. // 显示搜索条件
  1319. showSearch: true,
  1320. // 总条数
  1321. total: 0,
  1322. // 客户详情表格数据
  1323. corpsList: [],
  1324. // 查询参数
  1325. select: '',
  1326. querDate: [],
  1327. file: [],
  1328. row: [],
  1329. res:[]
  1330. }
  1331. formList:{}
  1332. },
  1333. //页面跳转后传递参数
  1334. activated() {
  1335. let formDate
  1336. if (this.$route.query.list){
  1337. console.log("111")
  1338. formDate = {
  1339. fId: JSON.parse(this.$route.query.list).billId
  1340. }
  1341. this.formList = formDate
  1342. this.approVal = true;
  1343. this.cancelButton = false;
  1344. }else if(this.$route.query.data){
  1345. formDate = {
  1346. fId:JSON.parse(this.$route.query.data).fId,
  1347. num:JSON.parse(this.$route.query.data).num
  1348. }
  1349. this.id = formDate.fId
  1350. this.formList = {
  1351. fId:formDate.fId
  1352. }
  1353. this.approVal = false;
  1354. }
  1355. if (formDate) {
  1356. addmodify(formDate).then(response => {
  1357. console.log(response)
  1358. this.form = response.rows[0]
  1359. let data = {
  1360. actId:460,
  1361. id:this.form.fId
  1362. }
  1363. getName(data).then(response=>{
  1364. if(response.data.length != 0){
  1365. this.before = response.data[0].userName
  1366. }
  1367. })
  1368. queryUserVal().then((response) => {
  1369. this.current = response.user.userName;
  1370. console.log(this.current,this.before)
  1371. if(formDate.num){
  1372. this.jumpDonot = false
  1373. console.log(this.current)
  1374. console.log(this.before)
  1375. if(this.current == this.before){
  1376. console.log("111")
  1377. this.disappear = false;
  1378. }
  1379. }else{
  1380. this.jumpDonot = true
  1381. this.disappear = true;
  1382. }
  1383. });
  1384. this.goodsList = response.rows[0].tWarehousebillsCntrList
  1385. this.estimatedTime = response.rows[0].tVoyageL
  1386. this.dataList = response.rows[0].tWarehousebillsCntritemsList
  1387. this.loading = false
  1388. if (response.rows[0].tWarehousebillsfeesDr) {
  1389. this.warehouseDrList = response.rows[0].tWarehousebillsfeesDr
  1390. for (let item in this.warehouseDrList) {
  1391. this.$set(this.warehouseDrList[item], 'fFeeUnitid', JSON.stringify(this.warehouseDrList[item].fFeeunitid))
  1392. }
  1393. }
  1394. if (response.rows[0].warehousebillsfeesCr) {
  1395. this.warehouseCrList = response.rows[0].warehousebillsfeesCr
  1396. for (let item in this.warehouseCrList) {
  1397. this.$set(this.warehouseCrList[item], 'fFeeUnitid', JSON.stringify(this.warehouseCrList[item].fFeeunitid))
  1398. }
  1399. }
  1400. })
  1401. }
  1402. },
  1403. created() {
  1404. this.getDicts("data_unitfees").then((response) => {
  1405. if (response.data) {
  1406. this.jFeetunitOptions = response.data;
  1407. }
  1408. });
  1409. this.getDicts("data_stltype_type").then((response) => {
  1410. if (response.data) {
  1411. this.fStltypeOptions = response.data;
  1412. }
  1413. });
  1414. this.getDicts("tax_rate").then((response) => {
  1415. if (response.data) {
  1416. this.fTaxrate = response.data[0].dictValue;
  1417. }
  1418. });
  1419. this.getDicts("f_packageid").then((response) => {
  1420. if (response.data) {
  1421. this.packgeOptions = response.data
  1422. }
  1423. });
  1424. this.getDicts("data_billType").then((response) => {
  1425. console.log(response)
  1426. if (response.data) {
  1427. this.businessTypeOptions = response.data
  1428. }
  1429. });
  1430. this.cntrtypeRemoteMethod()
  1431. this.goodRemoteMethod()
  1432. this.nameRemoteMethod()
  1433. this.fWRemoteMethod()
  1434. let queryParams = { pageNum: 1, fDc: "C" };
  1435. listFees(queryParams).then((response) => {
  1436. this.fCNameOptions = response.rows;
  1437. });
  1438. let query = { pageNum: 1, fDc: "D" };
  1439. listFees(query).then((response) => {
  1440. this.fDNameOptions = response.rows;
  1441. });
  1442. },
  1443. methods: {
  1444. homePage() {
  1445. this.open = false;
  1446. let view = {
  1447. fullPath: "/finance/contrast",
  1448. hash: "",
  1449. matched: Array(2),
  1450. meta: Object,
  1451. name: "Contrast",
  1452. params: Object,
  1453. path: "/finance/contrast",
  1454. query: Object,
  1455. title: "对账",
  1456. };
  1457. this.$router.push({ path: "/index" });
  1458. this.$store
  1459. .dispatch("tagsView/delView", view)
  1460. .then(({ visitedViews }) => {
  1461. if (this.isActive(view)) {
  1462. this.toLastView(visitedViews, view);
  1463. }
  1464. });
  1465. Global.$emit("removeCache", "closeSelectedTag", view);
  1466. },
  1467. cancel(){
  1468. if(this.form.moneyStatus === 4){
  1469. this.$router.push({path:'/domesticTrade/myOrder'})
  1470. }else{
  1471. this.$confirm("返回列表,是否保存?", "提示", {
  1472. confirmButtonText: "保存",
  1473. cancelButtonText: "取消",
  1474. type: "warning",
  1475. })
  1476. .then(() => {
  1477. this.approval()
  1478. this.$router.push({path:'/domesticTrade/myOrder'})
  1479. })
  1480. .catch(() => {
  1481. this.$router.push({path:'/domesticTrade/myOrder'})
  1482. });
  1483. }
  1484. },
  1485. //撤销审批
  1486. revokeTwo() {
  1487. let data = {
  1488. actId: 460,
  1489. billId: this.form.fId,
  1490. id: this.form.fId,
  1491. };
  1492. revokeTwo(data).then((data) => {
  1493. if (data.code === 200) {
  1494. this.msgSuccess("撤销成功");
  1495. if (this.formList) {
  1496. addmodify(this.formList).then(response => {
  1497. console.log(response)
  1498. this.form = response.rows[0]
  1499. let data = {
  1500. actId:460,
  1501. id:this.form.fId
  1502. }
  1503. getName(data).then(response=>{
  1504. if(response.data.length != 0){
  1505. this.before = response.data[0].userName
  1506. }
  1507. })
  1508. queryUserVal().then((response) => {
  1509. this.current = response.user.userName;
  1510. });
  1511. this.goodsList = response.rows[0].tWarehousebillsCntrList
  1512. this.estimatedTime = response.rows[0].tVoyageL
  1513. this.dataList = response.rows[0].tWarehousebillsCntritemsList
  1514. this.loading = false
  1515. if (response.rows[0].tWarehousebillsfeesDr) {
  1516. this.warehouseDrList = response.rows[0].tWarehousebillsfeesDr
  1517. for (let item in this.warehouseDrList) {
  1518. this.$set(this.warehouseDrList[item], 'fFeeUnitid', JSON.stringify(this.warehouseDrList[item].fFeeunitid))
  1519. }
  1520. }
  1521. if (response.rows[0].warehousebillsfeesCr) {
  1522. this.warehouseCrList = response.rows[0].warehousebillsfeesCr
  1523. for (let item in this.warehouseCrList) {
  1524. this.$set(this.warehouseCrList[item], 'fFeeUnitid', JSON.stringify(this.warehouseCrList[item].fFeeunitid))
  1525. }
  1526. }
  1527. // if(this.current == this.before)
  1528. // this.disappear = false;
  1529. })
  1530. }
  1531. this.reset();
  1532. }
  1533. });
  1534. },
  1535. //费用提交审核
  1536. feeSubmission(){
  1537. if(!this.warehouseDrList && !this.warehouseCrList){
  1538. this.$message.error("请维护费用")
  1539. return false
  1540. }
  1541. if(this.warehouseDrList){
  1542. for(let li in this.warehouseDrList){
  1543. if(!this.warehouseDrList[li].fBusinessType){
  1544. this.$message.error("应收费用第" + (Number(li)+1) + '行业务类型为空,请维护业务类型')
  1545. return false
  1546. }else if(!this.warehouseDrList[li].fCorpid){
  1547. this.$message.error("应收费用第" + (Number(li)+1) + '行客户名称为空,请维护客户名称')
  1548. return false
  1549. }else if(!this.warehouseDrList[li].fFeeid){
  1550. this.$message.error("应收费用第" + (Number(li)+1) + '行费用名称为空,请维护费用名称')
  1551. return false
  1552. }else if(!this.warehouseDrList[li].fQty){
  1553. this.$message.error("应收费用第" + (Number(li)+1) + '行数量为空,请维护数量')
  1554. return false
  1555. }else if(!this.warehouseDrList[li].fUnitprice){
  1556. this.$message.error("应收费用第" + (Number(li)+1) + '行单价为空,请维护单价')
  1557. return false
  1558. }
  1559. }
  1560. }
  1561. if(this.warehouseCrList){
  1562. for(let li in this.warehouseCrList){
  1563. if(!this.warehouseCrList[li].fBusinessType){
  1564. this.$message.error("应付费用第" + (Number(li)+1) + '行业务类型为空,请维护业务类型')
  1565. return false
  1566. }else if(!this.warehouseDrList[li].fCorpid){
  1567. this.$message.error("应付费用第" + (Number(li)+1) + '行客户名称为空,请维护客户名称')
  1568. return false
  1569. }else if(!this.warehouseDrList[li].fFeeid){
  1570. this.$message.error("应付费用第" + (Number(li)+1) + '行费用名称为空,请维护费用名称')
  1571. return false
  1572. }else if(!this.warehouseDrList[li].fQty){
  1573. this.$message.error("应付费用第" + (Number(li)+1) + '行数量为空,请维护数量')
  1574. return false
  1575. }else if(!this.warehouseDrList[li].fUnitprice){
  1576. this.$message.error("应付费用第" + (Number(li)+1) + '行单价为空,请维护单价')
  1577. return false
  1578. }
  1579. }
  1580. }
  1581. let form = {
  1582. fId:this.form.fId,
  1583. fMblno:this.form.fMblno
  1584. }
  1585. let formData = new window.FormData();
  1586. formData.append("tWarehousebills",JSON.stringify(form))
  1587. formData.append("tWarehousebillsCntritems",JSON.stringify(this.dataList))
  1588. formData.append('tWarehousebillsfeesDr',JSON.stringify(this.warehouseDrList))
  1589. formData.append('tWarehousebillsfeesCr',JSON.stringify(this.warehouseCrList))
  1590. getfee(formData).then(response=>{
  1591. console.log(response)
  1592. this.$message.success("操作成功")
  1593. this.modify = true
  1594. this.form.moneyStatus = 4
  1595. this.form.fBillstatus = 12
  1596. let data = {
  1597. actId:460,
  1598. id:this.form.fId
  1599. }
  1600. getName(data).then(response=>{
  1601. if(response.data.length != 0){
  1602. this.before = response.data[0].userName
  1603. if (this.current == this.before) {
  1604. this.disappear = false;
  1605. }
  1606. }
  1607. })
  1608. })
  1609. },
  1610. //箱信息操作限制
  1611. cntrWeight(res){
  1612. if (res < 40 && res > 0){
  1613. return
  1614. }else if( res == '' || res == null){
  1615. console.log("222")
  1616. } else {
  1617. this.$message({
  1618. showClose: true,
  1619. message: '单箱重量应在0-40吨之间',
  1620. type: 'error',
  1621. offset:90
  1622. });
  1623. }
  1624. },
  1625. //获取客户名称下拉
  1626. nameRemoteMethod(){
  1627. let queryParams = { pageNum: 1 }
  1628. getFName(queryParams).then(response=>{
  1629. this.nameOptions = response.data
  1630. })
  1631. },
  1632. //货名下拉
  1633. goodRemoteMethod(){
  1634. let queryParams = { pageNum: 1 }
  1635. getGoodName(queryParams).then(response=>{
  1636. this.goodsOptions = response.data
  1637. })
  1638. },
  1639. //箱型下拉获取
  1640. cntrtypeRemoteMethod(){
  1641. let queryParams = { pageNum: 1 }
  1642. getCntr(queryParams).then(response=>{
  1643. this.cntrOptions = response.rows
  1644. })
  1645. },
  1646. //计价单位
  1647. // corpsRemoteMethod(name) {
  1648. // if (name == null || name === "") {
  1649. // return false;
  1650. // }
  1651. // let queryParams = { pageNum: 1, fName: name, type: 1 };
  1652. // listCorps(queryParams).then((response) => {
  1653. // this.fMblnoOptions = response.rows;
  1654. // this.KHblnoOptions = response.rows;
  1655. // });
  1656. // },
  1657. //应付信息新行
  1658. addpayment() {
  1659. this.warehouseCrList.push({
  1660. fBusinessType:null,
  1661. fCorpid:null,
  1662. fFeeid:null,
  1663. fFeeUnitid:'7',
  1664. fQty:null,
  1665. fUnitprice:null,
  1666. fAmount:null,
  1667. fStltypeid:null,
  1668. fCurrency:"RMB",
  1669. fExrate:"1",
  1670. fTaxrate:this.fTaxrate,
  1671. fSrcTypeId:0,
  1672. remarks:null
  1673. })
  1674. },
  1675. // 数量计算
  1676. changeContractAmt(row) {
  1677. let fQty = 0;
  1678. let fUnitprice = 0;
  1679. if (row.fUnitprice) {
  1680. fUnitprice = row.fUnitprice;
  1681. }
  1682. if (row.fQty) {
  1683. fQty = row.fQty;
  1684. }
  1685. this.$set(row, "fAmount", Number(fUnitprice) * Number(fQty)).toFixed(2);
  1686. },
  1687. // modifyInfo(){
  1688. // this.
  1689. //
  1690. // },
  1691. // 变更计价单位
  1692. changeFeeUnit(row) {
  1693. if (!row.fFeeUnitid) {
  1694. return false;
  1695. }
  1696. // if (row.fFeeUnitid === "2") {
  1697. // console.log(row.fQty)
  1698. // this.$set(row, "fQty", (this.fGrossweight / 1000).toFixed(2));
  1699. // } else if (row.fFeeUnitid === "1") {
  1700. // this.$set(row, "fQty", this.fQty);
  1701. // } else if (row.fFeeUnitid === "3") {
  1702. // this.$set(row, "fQty", (this.fNetweight / 1000).toFixed(2));
  1703. // } else if (row.fFeeUnitid === "7") {
  1704. // this.$set(row, "fQty", this.fCntqty);
  1705. // } else {
  1706. // this.$set(row, "fQty", 0);
  1707. // }
  1708. if (row.fUnitprice) {
  1709. this.$set(
  1710. row,
  1711. "fAmount",
  1712. parseFloat(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
  1713. );
  1714. }
  1715. },
  1716. // 选择费用信息时获取计价单位
  1717. // changeFeeId(row) {
  1718. // for (let li in this.fWbuOptions) {
  1719. // if (row.fFeeid === this.fWbuOptions[li].fId) {
  1720. // this.$set(row, "fFeeUnitid", this.fWbuOptions[li].fFeeunitid + "");
  1721. // this.changeFeeUnit(row);
  1722. // break;
  1723. // }
  1724. // }
  1725. // },
  1726. // 远程模糊查询费用名称
  1727. fWRemoteMethod(name) {
  1728. if (name == null || name === "") {
  1729. return false;
  1730. }
  1731. let queryParams = { pageNum: 1, fDc: "C", fName: name };
  1732. listFees(queryParams).then((response) => {
  1733. this.fCNameOptions = response.rows;
  1734. });
  1735. let query = { pageNum: 1, fDc: "D", fName: name };
  1736. listFees(query).then((response) => {
  1737. this.fDNameOptions = response.rows;
  1738. });
  1739. },
  1740. // 付款合计
  1741. warehouseDrSummaries(param) {
  1742. const { columns, data } = param;
  1743. const sums = [];
  1744. columns.forEach((column, index) => {
  1745. if (index === 0) {
  1746. sums[index] = "合计";
  1747. return;
  1748. }
  1749. const values = data.map((item) => Number(item[column.property]));
  1750. if (
  1751. column.property === "fUnitprice" ||
  1752. column.property === "fAmount" ||
  1753. column.property === "fQty" ||
  1754. column.property === "fQty"
  1755. ) {
  1756. sums[index] = values.reduce((prev, curr) => {
  1757. const value = Number(curr);
  1758. if (!isNaN(value)) {
  1759. return prev + curr;
  1760. } else {
  1761. return prev;
  1762. }
  1763. }, 0);
  1764. sums[index] = sums[index].toFixed(2);
  1765. }
  1766. });
  1767. return sums;
  1768. },
  1769. addOrUpdateHand(form) {
  1770. this.addOrUpdateVisib = true;
  1771. this.$nextTick(() => {
  1772. let actId = ''
  1773. if(this.form.fBillstatus < 6){
  1774. actId = "410"
  1775. }else if(this.form.moneyStatus != null && this.form.moneyStatus < 6){
  1776. actId = "460";
  1777. }else{
  1778. actId = "420";
  1779. }
  1780. this.$refs.ApprovalComments.init(form.fId, actId);
  1781. });
  1782. },
  1783. //首页审批跳转关闭返回首页
  1784. cancelTwo() {
  1785. this.open = false;
  1786. let view = {
  1787. fullPath: "/domesticTrade/orderInformation?data=%7B%22fId%22%3A687%7D",
  1788. hash: "",
  1789. matched: Array(2),
  1790. meta: Object,
  1791. name: "OrderInformation",
  1792. params: Object,
  1793. path: "/domesticTrade/orderInformation",
  1794. query: Object,
  1795. title: "订单信息"
  1796. };
  1797. this.$router.push({ path: "/index" });
  1798. this.$store
  1799. .dispatch("tagsView/delView", view)
  1800. .then(({ visitedViews }) => {
  1801. if (this.isActive(view)) {
  1802. this.toLastView(visitedViews, view);
  1803. }
  1804. });
  1805. Global.$emit("removeCache", "closeSelectedTag", view);
  1806. },
  1807. // 查看审批流
  1808. getDataList() {
  1809. this.addOrUpdateVisible = false;
  1810. },
  1811. returnData() {
  1812. this.addOrUpdateVisib = false;
  1813. this.open = false;
  1814. this.cancelTwo();
  1815. },
  1816. addOrUpdateHandle() {
  1817. this.addOrUpdateVisible = true;
  1818. let id = "448";
  1819. let actId = ''
  1820. if(this.form.fBillstatus < 6){
  1821. actId = "410"
  1822. }else if(this.form.moneyStatus != null && this.form.moneyStatus < 6){
  1823. actId = "460";
  1824. } else{
  1825. actId = "420";
  1826. }
  1827. this.$nextTick(() => {
  1828. this.$refs.addOrUpdate.init(this.form.fId, actId);
  1829. });
  1830. },
  1831. deleteRoww(index, rows) {
  1832. rows.splice(index, 1);
  1833. },
  1834. handleSelect(){},
  1835. //应收新行
  1836. addCollection(){
  1837. this.warehouseDrList.push({
  1838. fBusinessType:null,
  1839. fCorpid:null,
  1840. fFeeid:null,
  1841. fFeeUnitid:'7',
  1842. fQty:null,
  1843. fUnitprice:null,
  1844. fAmount:null,
  1845. fStltypeid:null,
  1846. fCurrency:"RMB",
  1847. fExrate:"1",
  1848. fTaxrate:this.fTaxrate,
  1849. fSrcTypeId:0,
  1850. remarks:null
  1851. })
  1852. },
  1853. //提交审批
  1854. approval(){
  1855. if(!this.form.fMblno){
  1856. this.$message.error("请维护提单号")
  1857. return false
  1858. }
  1859. if(this.dataList.length === 0){
  1860. this.$message.error("请维护箱信息")
  1861. return false
  1862. }
  1863. let form = {
  1864. fId:this.form.fId,
  1865. fMblno:this.form.fMblno
  1866. }
  1867. let formData = new window.FormData();
  1868. for(let li in this.warehouseDrList){
  1869. this.warehouseDrList[li].fMblno = this.form.fMblno
  1870. }
  1871. for(let item in this.warehouseCrList){
  1872. this.warehouseCrList[item].fMblno = this.form.fMblno
  1873. }
  1874. console.log(this.form)
  1875. formData.append("tWarehousebills",JSON.stringify(form))
  1876. // formData.append("tWarehousebills",JSON.stringify(this.form))
  1877. formData.append("tWarehousebillsCntritems",JSON.stringify(this.dataList))
  1878. formData.append("tWarehousebillsfeesDr",JSON.stringify(this.warehouseDrList))
  1879. formData.append("tWarehousebillsfeesCr",JSON.stringify(this.warehouseCrList))
  1880. console.log(this.warehouseDrList)
  1881. console.log(this.warehouseCrList)
  1882. postApproval(formData).then(response=>{
  1883. this.msgSuccess("操作成功");
  1884. if(response.data.tWarehouseBills){
  1885. this.form = response.data.tWarehouseBills
  1886. console.log(this.form)
  1887. }
  1888. if(response.data.tWarehousebillsCntritemsList){
  1889. this.dataList = response.data.tWarehousebillsCntritemsList
  1890. }
  1891. if(response.data.warehousebillsfeesCrList){
  1892. this.warehouseCrList = response.data.warehousebillsfeesCrList
  1893. for(let item in this.warehouseCrList){
  1894. this.$set(this.warehouseCrList[item],'fFeeUnitid',JSON.stringify(this.warehouseCrList[item].fFeeunitid))
  1895. }
  1896. }
  1897. if(response.data.warehousebillsfeesDrList){
  1898. this.warehouseDrList = response.data.warehousebillsfeesDrList
  1899. for(let item in this.warehouseDrList){
  1900. this.$set(this.warehouseDrList[item],'fFeeUnitid',JSON.stringify(this.warehouseDrList[item].fFeeunitid))
  1901. }
  1902. }
  1903. })
  1904. },
  1905. //新行
  1906. addList(){
  1907. this.dataList.push({
  1908. fManual:'1',
  1909. fCntrno:null,
  1910. fSealno:null,
  1911. fCntrweight:null,
  1912. fGoodsid:null,
  1913. fPackageid:null,
  1914. fCntrid:null,
  1915. })
  1916. },
  1917. //查看附件
  1918. check(status){
  1919. this.dialogVisible = true
  1920. if(status === 1){
  1921. }else{
  1922. }
  1923. },
  1924. saveFile() {
  1925. this.row.accessoryList = this.file
  1926. this.dialogVisible = false
  1927. this.relevantAttachments = []
  1928. },
  1929. deleteRow(index, rows) {
  1930. rows.splice(index, 1)
  1931. },
  1932. //多选框选中
  1933. handleSelectionChange(selection) {
  1934. this.ids = selection.map(item => item.fId)
  1935. this.select = selection
  1936. console.log(this.select)
  1937. }
  1938. }
  1939. }
  1940. </script>
  1941. <style lang="scss" scoped>
  1942. .tabSetting {
  1943. display: flex;
  1944. justify-content: flex-end;
  1945. }
  1946. .listStyle {
  1947. display: flex;
  1948. border-top: 1px solid #dcdfe6;
  1949. border-left: 1px solid #dcdfe6;
  1950. border-right: 1px solid #dcdfe6;
  1951. }
  1952. .listStyle:last-child {
  1953. border-bottom: 1px solid #dcdfe6;
  1954. }
  1955. .progress {
  1956. display: flex;
  1957. align-items: center;
  1958. padding: 2px;
  1959. background-color: rgba(0, 0, 0, 0.05);
  1960. height: 100%;
  1961. }
  1962. .el-form{
  1963. padding-top:20px;
  1964. //border-top:1px dashed #ccc;
  1965. }
  1966. .selectForm >>> .el-form-item__label{
  1967. font-size: 12px!important;
  1968. }
  1969. </style>
  1970. <style lang="scss">
  1971. .el-collapse-item__header{
  1972. font-size: 16px;
  1973. font-weight: bolder;
  1974. padding-left: 5px;
  1975. background-color: #f8f8f9;
  1976. }
  1977. .el-form-item__label{
  1978. font-size: 12px;
  1979. }
  1980. </style>