index.vue 104 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323
  1. <template>
  2. <div class="app-container">
  3. <el-form
  4. :model="queryParams"
  5. ref="queryForm"
  6. :inline="true"
  7. v-show="showSearch"
  8. label-width="88px"
  9. >
  10. <el-form-item label="业务编号" prop="fBillno">
  11. <el-input
  12. v-model="queryParams.fBillno"
  13. placeholder="请输入业务编号"
  14. clearable
  15. size="small"
  16. @keyup.enter.native="handleQuery"
  17. />
  18. </el-form-item>
  19. <el-form-item label="制单人" prop="createBy">
  20. <el-select
  21. v-model="queryParams.createBy"
  22. filterable
  23. remote
  24. clearable
  25. style="width: 80%"
  26. :remote-method="userRemoteMethod"
  27. placeholder="请选择制单人"
  28. >
  29. <el-option
  30. v-for="(dict, index) in userOptions"
  31. :key="index.userName"
  32. :label="dict.nickName"
  33. :value="dict.userName"
  34. ></el-option>
  35. </el-select>
  36. </el-form-item>
  37. <el-form-item label="出库日期" prop="timeInterval">
  38. <el-date-picker
  39. v-model="queryParams.timeInterval"
  40. type="daterange"
  41. value-format="yyyy-MM-dd"
  42. clearable
  43. range-separator="至"
  44. start-placeholder="开始日期"
  45. end-placeholder="结束日期"
  46. @keyup.enter.native="handleQuery"
  47. >
  48. </el-date-picker>
  49. </el-form-item>
  50. <el-form-item label="贸易方式" prop="fTrademodeid">
  51. <el-select
  52. v-model="queryParams.fTrademodeid"
  53. placeholder="请选择贸易方式"
  54. clearable
  55. style="width: 80%"
  56. @keyup.enter.native="handleQuery"
  57. >
  58. <el-option
  59. v-for="(dict, index) in fTrademodeidOptions"
  60. :key="index.dictValue"
  61. :label="dict.dictLabel"
  62. :value="dict.dictValue"
  63. />
  64. </el-select>
  65. </el-form-item>
  66. <el-form-item label="货权方" prop="fCorpid">
  67. <el-select
  68. v-model="queryParams.fCorpid"
  69. filterable
  70. remote
  71. clearable
  72. style="width: 80%"
  73. @keyup.enter.native="handleQuery"
  74. :remote-method="corpsRemoteMethod"
  75. placeholder="请选择货权方"
  76. >
  77. <el-option
  78. v-for="(dict, index) in fMblnoOptions"
  79. :key="index.fId"
  80. :label="dict.fName"
  81. :value="dict.fId"
  82. ></el-option>
  83. </el-select>
  84. </el-form-item>
  85. <el-form-item label="提单号" prop="fMblno">
  86. <el-input
  87. v-model="queryParams.fMblno"
  88. placeholder="请输入提单号"
  89. clearable
  90. size="small"
  91. @keyup.enter.native="handleQuery"
  92. />
  93. </el-form-item>
  94. <el-form-item label="经营单位" prop="fSbu">
  95. <el-select
  96. v-model="queryParams.fSbu"
  97. filterable
  98. remote
  99. clearable
  100. :remote-method="fSbuRemoteMethod"
  101. @keyup.enter.native="handleQuery"
  102. style="width: 80%"
  103. placeholder="请选择经营单位"
  104. >
  105. <el-option
  106. v-for="(dict, index) in fSbuOptions"
  107. :key="index.fId"
  108. :label="dict.fName"
  109. :value="dict.fId"
  110. ></el-option>
  111. </el-select>
  112. </el-form-item>
  113. <el-form-item label="货物名称" prop="fGoodsid">
  114. <el-select
  115. v-model="queryParams.fGoodsid"
  116. filterable
  117. remote
  118. clearable
  119. :remote-method="goodsRemoteMethod"
  120. @keyup.enter.native="handleQuery"
  121. placeholder="请选择货物名称"
  122. >
  123. <el-option
  124. v-for="(dict, index) in goodsOptions"
  125. :key="index.fId"
  126. :label="dict.fName"
  127. :value="dict.fId"
  128. ></el-option>
  129. </el-select>
  130. </el-form-item>
  131. <el-form-item label="仓库" prop="fWarehouseid">
  132. <el-select
  133. v-model="queryParams.fWarehouseid"
  134. filterable
  135. :disabled="browseStatus"
  136. remote
  137. clearable
  138. style="width: 80%"
  139. :remote-method="warehouseRemoteMethod"
  140. @keyup.enter.native="handleQuery"
  141. placeholder="请选择仓库"
  142. >
  143. <el-option
  144. v-for="(dict, index) in warehouseOptions"
  145. :key="index.fId"
  146. :label="dict.fName"
  147. :value="dict.fId"
  148. ></el-option>
  149. </el-select>
  150. </el-form-item>
  151. <el-form-item label="唛头" prop="fMarks">
  152. <el-input
  153. v-model="queryParams.fMarks"
  154. placeholder="请输入唛头"
  155. clearable
  156. size="small"
  157. style="width: 80%"
  158. @keyup.enter.native="handleQuery"
  159. />
  160. </el-form-item>
  161. <el-form-item>
  162. <el-button
  163. type="cyan"
  164. icon="el-icon-search"
  165. size="mini"
  166. @click="handleQuery"
  167. >搜索
  168. </el-button>
  169. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
  170. >重置
  171. </el-button>
  172. </el-form-item>
  173. </el-form>
  174. <el-row :gutter="10" class="mb8">
  175. <el-col :span="1.5">
  176. <el-button
  177. type="primary"
  178. icon="el-icon-plus"
  179. size="mini"
  180. @click="handleAdd(false)"
  181. v-hasPermi="['warehouseBusiness:warehousebills:add']"
  182. >新增
  183. </el-button>
  184. </el-col>
  185. <el-col :span="1.5">
  186. <el-button
  187. type="success"
  188. icon="el-icon-edit"
  189. size="mini"
  190. :disabled="single"
  191. @click="handleUpdate"
  192. v-hasPermi="['warehouseBusiness:warehousebills:edit']"
  193. >修改
  194. </el-button>
  195. </el-col>
  196. <el-col :span="1.5">
  197. <el-button
  198. type="danger"
  199. icon="el-icon-delete"
  200. size="mini"
  201. :disabled="multiple"
  202. @click="handleDelete"
  203. v-hasPermi="['warehouseBusiness:warehousebills:remove']"
  204. >删除
  205. </el-button>
  206. </el-col>
  207. <el-col :span="1.5">
  208. <el-button
  209. type="warning"
  210. icon="el-icon-download"
  211. size="mini"
  212. @click="handleExport"
  213. v-hasPermi="['warehouseBusiness:warehousebills:export']"
  214. >导出
  215. </el-button>
  216. </el-col>
  217. <el-col :span="1.5">
  218. <el-button
  219. type="warning"
  220. icon="el-icon-download"
  221. size="mini"
  222. @click="handleExport"
  223. :disabled="multiple"
  224. v-hasPermi="['warehouseBusiness:warehousebills:export']"
  225. >导入
  226. </el-button>
  227. </el-col>
  228. <right-toolbar
  229. :showSearch.sync="showSearch"
  230. @queryTable="getList"
  231. ></right-toolbar>
  232. </el-row>
  233. <el-table
  234. v-loading="loading"
  235. :data="warehousebillsList"
  236. @selection-change="handleSelectionChange"
  237. >
  238. <el-table-column type="selection" width="55" align="center" />
  239. <el-table-column type="index" label="行号" align="center" />
  240. <el-table-column
  241. :show-overflow-tooltip="true"
  242. label="货权方"
  243. align="center"
  244. prop="fCorpid"
  245. />
  246. <el-table-column label="提单号" align="center" prop="fMblno" />
  247. <el-table-column
  248. label="唛头"
  249. align="center"
  250. prop="fMarks"
  251. />
  252. <el-table-column
  253. label="出库日期"
  254. align="center"
  255. prop="createTime"
  256. width="180"
  257. ><template slot-scope="scope">
  258. <span>{{ parseTime(scope.row.fBsdate, "{y}-{m}-{d}") }}</span>
  259. </template>
  260. </el-table-column>
  261. <!-- <el-table-column
  262. label="贸易方式"
  263. align="center"
  264. prop="fTrademodeid"
  265. :formatter="fTrademodeidFormat"
  266. /> -->
  267. <el-table-column label="仓库" align="center" prop="fWarehouseid" />
  268. <el-table-column label="出库件数" align="center" prop="fQty" />
  269. <!-- <el-table-column label="入库毛重" align="center" prop="fGrossweight"/>-->
  270. <!-- <el-table-column label="货转客户名称" align="center" prop="fTocorpid" /> -->
  271. <el-table-column label="出库毛重" align="center" prop="fGrossweight" />
  272. <el-table-column label="净重" align="center" prop="fNetweight" />
  273. <el-table-column width="150" label="费用状态" align="center" prop="fBillstatus" />
  274. <el-table-column width="150" label="入库状态" align="center" prop="fItemsStatus" />
  275. <el-table-column
  276. label="操作"
  277. align="center"
  278. class-name="small-padding fixed-width"
  279. width="180"
  280. >
  281. <template slot-scope="scope">
  282. <el-button
  283. size="mini"
  284. type="text"
  285. icon="el-icon-edit"
  286. v-if="scope.row.fBillstatus === '6'"
  287. @click="handleUpdate(scope.row, true)"
  288. v-hasPermi="['warehouseBusiness:warehousebills:edit']"
  289. >查看
  290. </el-button>
  291. <el-button
  292. size="mini"
  293. type="text"
  294. icon="el-icon-edit"
  295. v-if="scope.row.fBillstatus !== '6'"
  296. @click="handleUpdate(scope.row, false)"
  297. v-hasPermi="['warehouseBusiness:warehousebills:edit']"
  298. >修改
  299. </el-button>
  300. <el-button
  301. size="mini"
  302. type="text"
  303. icon="el-icon-delete"
  304. @click="handleDelete(scope.row)"
  305. v-if="scope.row.fBillstatus !== '6'"
  306. v-hasPermi="['warehouseBusiness:warehousebills:remove']"
  307. >删除
  308. </el-button>
  309. </template>
  310. </el-table-column>
  311. </el-table>
  312. <pagination
  313. v-show="total > 0"
  314. :total="total"
  315. :page.sync="queryParams.pageNum"
  316. :limit.sync="queryParams.pageSize"
  317. @pagination="getList"
  318. />
  319. <!-- 新增或修改仓库主(出入库)对话框 -->
  320. <el-dialog
  321. :title="title"
  322. :visible.sync="open"
  323. :close-on-click-modal="false"
  324. width="80%"
  325. append-to-body
  326. >
  327. <el-form ref="form" :model="form" :rules="rules" label-width="120px">
  328. <el-row>
  329. <el-col :span="8">
  330. <el-form-item label="货权方" prop="fCorpid">
  331. <el-select
  332. v-model="form.fCorpid"
  333. filterable
  334. remote
  335. :disabled="browseStatus"
  336. @change="changefCorpid(form)"
  337. style="width: 80%"
  338. :remote-method="corpsRemoteMethod"
  339. placeholder="请输入模糊查找"
  340. >
  341. <el-option
  342. v-for="(dict, index) in fMblnoOptions"
  343. :key="index.fId"
  344. :label="dict.fName"
  345. :value="dict.fId"
  346. ></el-option>
  347. </el-select>
  348. </el-form-item>
  349. </el-col>
  350. <el-col :span="8">
  351. <el-form-item label="结算方式" prop="fstltypeid">
  352. <el-select
  353. v-model="form.fStltypeid"
  354. placeholder="请选择结算方式"
  355. :disabled="browseStatus"
  356. clearable
  357. style="width: 80%"
  358. >
  359. <el-option
  360. v-for="(dict, index) in fStltypeOptions"
  361. :key="index.dictValue"
  362. :label="dict.dictLabel"
  363. :value="dict.dictValue"
  364. />
  365. </el-select>
  366. </el-form-item>
  367. </el-col>
  368. <el-col :span="8">
  369. <el-form-item label="提单号" prop="fMblno">
  370. <el-input
  371. v-model="form.fMblno"
  372. style="width: 80%"
  373. :disabled="browseStatus"
  374. placeholder="手工输入"
  375. />
  376. </el-form-item>
  377. </el-col>
  378. </el-row>
  379. <el-row>
  380. <el-col :span="8">
  381. <el-form-item label="业务日期" prop="fBsdate">
  382. <el-date-picker
  383. v-model="form.fBsdate"
  384. style="width: 80%"
  385. type="date"
  386. :disabled="browseStatus"
  387. @change="changefBsdate"
  388. value-format="timestamp"
  389. placeholder="业务日期"
  390. >
  391. </el-date-picker>
  392. </el-form-item>
  393. </el-col>
  394. <el-col :span="8">
  395. <el-form-item label="仓管员" prop="fStorekeeper">
  396. <el-select
  397. v-model="form.fStorekeeper"
  398. filterable
  399. remote
  400. :disabled="browseStatus"
  401. style="width: 80%"
  402. :remote-method="userRemoteMethod"
  403. placeholder="请输入模糊查找"
  404. >
  405. <el-option
  406. v-for="dict in userOptions"
  407. :key="dict.userName"
  408. :label="dict.nickName"
  409. :value="dict.userName"
  410. ></el-option>
  411. </el-select>
  412. </el-form-item>
  413. </el-col>
  414. <el-col :span="8">
  415. <el-form-item label="仓库" prop="fWarehouseid">
  416. <el-select
  417. v-model="form.fWarehouseid"
  418. filterable
  419. remote
  420. :disabled="browseStatus"
  421. style="width: 80%"
  422. :remote-method="warehouseRemoteMethod"
  423. placeholder="请输入模糊查找"
  424. >
  425. <el-option
  426. v-for="(dict, index) in warehouseOptions"
  427. :key="index.fId"
  428. :label="dict.fName"
  429. :value="dict.fId"
  430. ></el-option>
  431. </el-select>
  432. </el-form-item>
  433. </el-col>
  434. </el-row>
  435. <el-row>
  436. <el-col :span="8">
  437. <el-form-item label="存货编号" prop="fBscorpno">
  438. <el-input
  439. disabled
  440. v-model="form.fBscorpno"
  441. style="width: 80%"
  442. laceholder="存货编号"
  443. />
  444. </el-form-item>
  445. </el-col>
  446. <el-col :span="8">
  447. <el-form-item label="破损" prop="fifdamage">
  448. <el-select
  449. v-model="form.fIfdamage"
  450. placeholder="请选择是否破损"
  451. :disabled="browseStatus"
  452. clearable
  453. style="width: 80%"
  454. >
  455. <el-option
  456. v-for="dict in fIfdamageOptions"
  457. :key="dict.dictValue"
  458. :label="dict.dictLabel"
  459. :value="dict.dictValue"
  460. />
  461. </el-select>
  462. </el-form-item>
  463. </el-col>
  464. <el-col :span="8">
  465. <el-form-item label="过磅" prop="fifweigh">
  466. <el-select
  467. v-model="form.fIfweigh"
  468. placeholder="请选择是否过磅"
  469. :disabled="browseStatus"
  470. clearable
  471. style="width: 80%"
  472. >
  473. <el-option
  474. v-for="dict in fIfweighOptions"
  475. :key="dict.dictValue"
  476. :label="dict.dictLabel"
  477. :value="dict.dictValue"
  478. />
  479. </el-select>
  480. </el-form-item>
  481. </el-col>
  482. </el-row>
  483. <el-row>
  484. <el-col :span="8">
  485. <el-form-item label="质押" prop="fifpledge">
  486. <el-select
  487. v-model="form.fIfpledge"
  488. placeholder="请选择是否过磅"
  489. :disabled="browseStatus"
  490. clearable
  491. style="width: 80%"
  492. >
  493. <el-option
  494. v-for="dict in fIfpledgeOptions"
  495. :key="dict.dictValue"
  496. :label="dict.dictLabel"
  497. :value="dict.dictValue"
  498. />
  499. </el-select>
  500. </el-form-item>
  501. </el-col>
  502. <el-col :span="8">
  503. <el-form-item label="质押银行" prop="fbankcorpid">
  504. <el-select
  505. v-model="queryParams.fBankcorpid"
  506. filterable
  507. remote
  508. clearable
  509. style="width: 80%"
  510. @keyup.enter.native="handleQuery"
  511. :remote-method="corpsRemoteMethodd"
  512. placeholder="请输入模糊查找"
  513. >
  514. <el-option
  515. v-for="(dict, index) in Pledgebank"
  516. :key="index.fId"
  517. :label="dict.fName"
  518. :value="dict.fId"
  519. ></el-option>
  520. </el-select>
  521. </el-form-item>
  522. </el-col>
  523. <el-col :span="8">
  524. <el-form-item label="计费单位" prop="ffeetunit">
  525. <el-select
  526. v-model="form.fFeetunit"
  527. placeholder="请选择计费单位"
  528. :disabled="browseStatus"
  529. clearable
  530. style="width: 80%"
  531. >
  532. <el-option
  533. v-for="dict in fFeetunitOptions"
  534. :key="dict.dictValue"
  535. :label="dict.dictLabel"
  536. :value="dict.dictValue"
  537. />
  538. </el-select>
  539. </el-form-item>
  540. </el-col>
  541. <el-col :span="8">
  542. <el-form-item label="唛头" prop="fMarks">
  543. <el-input
  544. v-model="form.fMarks"
  545. style="width: 80%"
  546. :disabled="browseStatus"
  547. placeholder="唛头"
  548. />
  549. </el-form-item>
  550. </el-col>
  551. </el-row>
  552. <el-row>
  553. <el-form-item label="备注" prop="remark">
  554. <el-input
  555. style="width: 100%"
  556. v-model="form.remark"
  557. :disabled="browseStatus"
  558. type="textarea"
  559. placeholder="请输入内容"
  560. />
  561. </el-form-item>
  562. </el-row>
  563. <div v-if="detailsHidden">
  564. <el-row style="margin-top: 30px">
  565. <el-col :span="8">
  566. <el-form-item label="仓库联系人" prop="fContacts">
  567. <el-input
  568. v-model="form.fContacts"
  569. style="width: 80%"
  570. placeholder="仓库联系人"
  571. />
  572. </el-form-item>
  573. </el-col>
  574. <el-col :span="8">
  575. <el-form-item label="仓库电话" prop="ftel">
  576. <el-input
  577. v-model="form.fTel"
  578. :disabled="browseStatus"
  579. style="width: 80%"
  580. placeholder="请输仓库入电话"
  581. />
  582. </el-form-item>
  583. </el-col>
  584. <el-col :span="8">
  585. <el-form-item label="船名航次" prop="fvslvoy">
  586. <el-input
  587. v-model="form.fVslvoy"
  588. :disabled="browseStatus"
  589. style="width: 80%"
  590. placeholder="船名航次"
  591. />
  592. </el-form-item>
  593. </el-col>
  594. </el-row>
  595. <el-row>
  596. <el-col :span="8">
  597. <el-form-item label="到港日期" prop="feta">
  598. <el-date-picker
  599. v-model="form.fEta"
  600. style="width: 80%"
  601. type="date"
  602. :disabled="browseStatus"
  603. value-format="timestamp"
  604. placeholder="到港日期"
  605. >
  606. </el-date-picker>
  607. </el-form-item>
  608. </el-col>
  609. <el-col :span="8">
  610. <el-form-item label="报关单号" prop="fcustomno">
  611. <el-input
  612. v-model="form.fCustomno"
  613. style="width: 80%"
  614. :disabled="browseStatus"
  615. laceholder="报关单号"
  616. />
  617. </el-form-item>
  618. </el-col>
  619. <el-col :span="8">
  620. <el-form-item label="经营单位" prop="fSbu">
  621. <el-select
  622. v-model="form.fSbu"
  623. filterable
  624. remote
  625. :disabled="browseStatus"
  626. :remote-method="fSbuRemoteMethod"
  627. style="width: 80%"
  628. placeholder="请选择经营单位"
  629. >
  630. <el-option
  631. v-for="(dict, index) in fMblnoOptions"
  632. :key="index.fId"
  633. :label="dict.fName"
  634. :value="dict.fId"
  635. ></el-option>
  636. </el-select>
  637. </el-form-item>
  638. </el-col>
  639. </el-row>
  640. <el-row>
  641. <el-col :span="8">
  642. <el-form-item label="单据编号" prop="foriginalbillno">
  643. <el-input
  644. v-model="form.fOriginalbillno"
  645. style="width: 80%"
  646. disabled
  647. placeholder="单据编号"
  648. />
  649. </el-form-item>
  650. </el-col>
  651. <el-col :span="8">
  652. <el-form-item label="贸易方式" prop="fTrademodeid">
  653. <el-select
  654. v-model="form.fTrademodeid"
  655. placeholder="请选择贸易方式"
  656. :disabled="browseStatus"
  657. clearable
  658. style="width: 80%"
  659. >
  660. <el-option
  661. v-for="dict in fTrademodeidOptions"
  662. :key="dict.dictValue"
  663. :label="dict.dictLabel"
  664. :value="dict.dictValue"
  665. />
  666. </el-select>
  667. </el-form-item>
  668. </el-col>
  669. <el-col :span="8">
  670. <el-form-item label="制单人" prop="createBy">
  671. <el-input
  672. disabled
  673. v-model="form.createBy"
  674. style="width: 80%"
  675. placeholder="制单人"
  676. />
  677. </el-form-item>
  678. </el-col>
  679. </el-row>
  680. <el-row>
  681. <el-col :span="8">
  682. <el-form-item label="制单部门" prop="fDeptid">
  683. <el-select
  684. v-model="form.fDeptid"
  685. filterable
  686. disabled
  687. style="width: 80%"
  688. remote
  689. >
  690. <el-option
  691. v-for="dict in deptOptions"
  692. :key="dict.deptId"
  693. :label="dict.deptName"
  694. :value="dict.deptId"
  695. ></el-option>
  696. </el-select>
  697. </el-form-item>
  698. </el-col>
  699. <el-col :span="8">
  700. <el-form-item disabled label="制单日期" prop="fbilldate">
  701. <el-date-picker
  702. v-model="form.createTime"
  703. size="large"
  704. type="date"
  705. disabled
  706. value-format="timestamp"
  707. placeholder="制单日期"
  708. >
  709. </el-date-picker>
  710. </el-form-item>
  711. </el-col>
  712. </el-row>
  713. </div>
  714. </el-form>
  715. <div class="dialogTableTitle flex a-center jlr">
  716. <h3>库存明细</h3>
  717. <el-button :disabled="browseStatus" @click.prevent="addRelevant()"
  718. >新增
  719. </el-button>
  720. <el-button
  721. :disabled="dataListSelection.length <= 0"
  722. @click.prevent="creditClick()"
  723. >入库确认
  724. </el-button>
  725. <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
  726. >删除
  727. </el-button> -->
  728. <el-button type="primary" @click="submitForm(2)">保 存</el-button>
  729. <!--点击展开-->
  730. <el-button style="margin-left:19%;"
  731. @click="
  732. detailsHidden ? (detailsHidden = false) : (detailsHidden = true)
  733. "
  734. >{{ detailsHidden ? "隐藏" : "展开" }}</el-button
  735. >
  736. <el-button type="primary" @click="submitForm(2)">保 存</el-button>
  737. <el-button type="success" prop="打印" @click="showEditDialog_ss"
  738. >收货单
  739. </el-button>
  740. <el-button type="warning" prop="打印" @click="showEditDialog_s"
  741. >出库单
  742. </el-button>
  743. <el-button type="info" prop="打印" @click="showEditDialog_sss"
  744. >作业单
  745. </el-button>
  746. <el-button type="primary" @click="submitForm(6)">请核</el-button>
  747. </div>
  748. <el-table
  749. :data="dataList"
  750. ref="table"
  751. tooltip-effect="dark"
  752. border
  753. stripe
  754. :summary-method="getSummaries"
  755. @selection-change="Selectinventory"
  756. show-summary
  757. >
  758. <el-table-column type="selection" width="55" align="center" />
  759. <el-table-column label="序号" type="index" width="80">
  760. </el-table-column>
  761. <el-table-column
  762. prop="fMblno"
  763. header-align="center"
  764. align="center"
  765. width="140px"
  766. label="提单号"
  767. >
  768. <template slot-scope="scope">
  769. <el-input
  770. disabled
  771. v-model="scope.row.fMblno"
  772. style="width: 80%"
  773. placeholder="手工输入"
  774. />
  775. </template>
  776. </el-table-column>
  777. <el-table-column
  778. prop="fGoodsid"
  779. header-align="center"
  780. align="center"
  781. width="140px"
  782. label="品名"
  783. >
  784. <template slot-scope="scope">
  785. <el-select
  786. v-model="scope.row.fGoodsids"
  787. filterable
  788. disabled
  789. remote
  790. :remote-method="goodsRemoteMethod"
  791. placeholder="请选择品名"
  792. >
  793. <el-option
  794. v-for="(dict, index) in goodsOptions"
  795. :key="index.fId"
  796. :label="dict.fName"
  797. :value="dict.fId"
  798. ></el-option>
  799. </el-select>
  800. </template>
  801. </el-table-column>
  802. <el-table-column
  803. prop="fwarehouselocid"
  804. header-align="center"
  805. width="150px"
  806. align="center"
  807. label="*库区"
  808. >
  809. <template slot-scope="scope">
  810. <el-select
  811. v-model="scope.row.fWarehouselocid"
  812. filterable
  813. remote
  814. disabled
  815. :remote-method="kqhouseRemoteMethod"
  816. placeholder="请选择库区"
  817. >
  818. <el-option
  819. v-for="dict in kqhouseOptions"
  820. :key="dict.fId"
  821. :label="dict.fName"
  822. :disabled="browseStatus"
  823. :value="dict.fId"
  824. ></el-option>
  825. </el-select>
  826. </template>
  827. </el-table-column>
  828. <el-table-column
  829. prop="fcntrtype"
  830. header-align="center"
  831. align="center"
  832. width="140px"
  833. label="箱型"
  834. >
  835. <template slot-scope="scope">
  836. <el-input
  837. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  838. v-model="scope.row.fCntrtype"
  839. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  840. placeholder="箱型"
  841. show-word-limit
  842. />
  843. </template>
  844. </el-table-column>
  845. <el-table-column
  846. prop="fCntqty"
  847. header-align="center"
  848. align="center"
  849. width="140px"
  850. label="箱量"
  851. >
  852. <template slot-scope="scope">
  853. <el-input
  854. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  855. v-model="scope.row.fCntqty"
  856. placeholder="箱量"
  857. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  858. show-word-limit
  859. />
  860. </template>
  861. </el-table-column>
  862. <el-table-column
  863. prop="fQtyblc"
  864. header-align="center"
  865. align="center"
  866. width="180px"
  867. label="当前库存"
  868. >
  869. </el-table-column>
  870. <el-table-column
  871. prop="fGrossweight"
  872. header-align="center"
  873. width="180px"
  874. align="center"
  875. label="*出库毛重"
  876. >
  877. <template slot-scope="scope">
  878. <el-input
  879. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  880. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d\d\d\d).*$/, "$1$2.$3")'
  881. v-model="scope.row.fGrossweight"
  882. placeholder="出库毛重"
  883. show-word-limit
  884. />
  885. </template>
  886. </el-table-column>
  887. <el-table-column
  888. prop="fNetweight"
  889. header-align="center"
  890. width="180px"
  891. align="center"
  892. label="*出库净重"
  893. >
  894. <template slot-scope="scope">
  895. <el-input
  896. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d\d\d\d).*$/, "$1$2.$3")'
  897. v-model="scope.row.fNetweight"
  898. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  899. placeholder="出库净重"
  900. show-word-limit
  901. />
  902. </template>
  903. </el-table-column>
  904. <el-table-column
  905. prop="fQty"
  906. header-align="center"
  907. width="180px"
  908. align="center"
  909. label="*出库件数"
  910. >
  911. <template slot-scope="scope">
  912. <el-input
  913. oninput='this.value=this.value.replace(/[^\-?\d]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "")'
  914. @change="qtyChange(scope.row)"
  915. v-model="scope.row.fQty"
  916. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  917. placeholder="出库件数"
  918. show-word-limit
  919. />
  920. </template>
  921. </el-table-column>
  922. <el-table-column
  923. prop="fVolumn"
  924. header-align="center"
  925. width="180px"
  926. align="center"
  927. label="出库尺码"
  928. >
  929. <template slot-scope="scope">
  930. <el-input
  931. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d).*$/, "$1$2.$3")'
  932. v-model="scope.row.fVolumn"
  933. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  934. placeholder="出库尺码"
  935. show-word-limit
  936. />
  937. </template>
  938. </el-table-column>
  939. <el-table-column
  940. prop="fPackagespecs"
  941. header-align="center"
  942. width="180px"
  943. align="center"
  944. label="包装规格"
  945. >
  946. <template slot-scope="scope">
  947. <el-input
  948. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  949. v-model="scope.row.fPackagespecs"
  950. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  951. placeholder="包装规格"
  952. show-word-limit
  953. />
  954. </template>
  955. </el-table-column>
  956. <el-table-column
  957. prop="fCntrno"
  958. header-align="center"
  959. width="150px"
  960. align="center"
  961. label="箱号"
  962. >
  963. <template slot-scope="scope">
  964. <el-input
  965. v-model="scope.row.fCntrno"
  966. placeholder="箱号"
  967. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  968. show-word-limit
  969. />
  970. </template>
  971. </el-table-column>
  972. <el-table-column
  973. prop="fGoodsval"
  974. header-align="center"
  975. width="150px"
  976. align="center"
  977. label="货值"
  978. >
  979. <template slot-scope="scope">
  980. <el-input
  981. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/, "$1$2.$3")'
  982. v-model="scope.row.fGoodsval"
  983. placeholder="货值"
  984. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  985. show-word-limit
  986. />
  987. </template>
  988. </el-table-column>
  989. <el-table-column
  990. prop="ftruckno"
  991. header-align="center"
  992. width="150px"
  993. align="center"
  994. label="车号"
  995. >
  996. <template slot-scope="scope">
  997. <el-input
  998. oninput="value=value.replace(/[^\d.]/g,'')"
  999. v-model="scope.row.fTruckno"
  1000. placeholder="车号"
  1001. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  1002. show-word-limit
  1003. />
  1004. </template>
  1005. </el-table-column>
  1006. <el-table-column
  1007. prop="remark"
  1008. header-align="center"
  1009. width="150px"
  1010. align="center"
  1011. label="备注"
  1012. >
  1013. <template slot-scope="scope">
  1014. <el-input
  1015. v-model="scope.row.remark"
  1016. placeholder="备注"
  1017. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  1018. show-word-limit
  1019. />
  1020. </template>
  1021. </el-table-column>
  1022. <el-table-column
  1023. prop="fBillstatus"
  1024. header-align="center"
  1025. width="150px"
  1026. align="center"
  1027. label="状态"
  1028. >
  1029. <template slot-scope="scope">
  1030. <el-input
  1031. v-model="scope.row.fBillstatus"
  1032. placeholder="状态"
  1033. :disabled="browseStatus || scope.row.fBillstatus === '6'"
  1034. show-word-limit
  1035. />
  1036. </template>
  1037. </el-table-column>
  1038. <el-table-column
  1039. header-align="center"
  1040. align="center"
  1041. label="操作"
  1042. width="130PX"
  1043. >
  1044. <template slot-scope="scope">
  1045. <el-button
  1046. @click.native.prevent="deleteRow(scope.$index, dataList)"
  1047. size="small"
  1048. >移除</el-button
  1049. >
  1050. </template>
  1051. </el-table-column>
  1052. </el-table>
  1053. <div class="dialogTableTitle flex a-center jlr">
  1054. <h3>附件上传</h3>
  1055. <el-button :disabled="browseStatus" @click.prevent="addRelevt()"
  1056. >新增
  1057. </el-button>
  1058. </div>
  1059. <el-table
  1060. :data="relevantAttachments"
  1061. ref="table"
  1062. tooltip-effect="dark"
  1063. border
  1064. stripe
  1065. style="width: 100%"
  1066. height="150"
  1067. >
  1068. <el-table-column label="序号" type="index" width="80">
  1069. </el-table-column>
  1070. <el-table-column
  1071. prop="fName"
  1072. header-align="center"
  1073. align="center"
  1074. width="250px"
  1075. label="附件名称"
  1076. >
  1077. <template slot-scope="scope">
  1078. <el-input
  1079. v-model="scope.row.fName"
  1080. :disabled="browseStatus"
  1081. placeholder="附件名称"
  1082. show-word-limit
  1083. />
  1084. </template>
  1085. </el-table-column>
  1086. <el-table-column
  1087. prop="createBy"
  1088. header-align="center"
  1089. align="center"
  1090. width="250px"
  1091. label="上传人"
  1092. >
  1093. <template slot-scope="scope">
  1094. <el-input
  1095. v-model="scope.row.createBy"
  1096. :disabled="browseStatus"
  1097. placeholder="上传人"
  1098. show-word-limit
  1099. />
  1100. </template>
  1101. </el-table-column>
  1102. <el-table-column
  1103. prop="createTime"
  1104. header-align="center"
  1105. align="center"
  1106. label="上传时间"
  1107. >
  1108. <template slot-scope="scope">
  1109. <el-date-picker
  1110. v-model="scope.row.createTime"
  1111. type="date"
  1112. disabled
  1113. placeholder="上传时间"
  1114. format="yyyy-MM-dd HH:mm"
  1115. value-format="timestamp"
  1116. ></el-date-picker>
  1117. </template>
  1118. </el-table-column>
  1119. <el-table-column
  1120. prop="fUrl"
  1121. header-align="center"
  1122. align="center"
  1123. width="300px"
  1124. label="上传附件"
  1125. >
  1126. <template slot-scope="scope">
  1127. <uploadFile @input="showFile" v-model="scope.row.fUrl" />
  1128. </template>
  1129. </el-table-column>
  1130. <el-table-column
  1131. header-align="center"
  1132. align="center"
  1133. label="操作"
  1134. >
  1135. <template slot-scope="scope">
  1136. <el-button
  1137. @click.native.prevent="
  1138. deleteRow(scope.$index, relevantAttachments)
  1139. "
  1140. :disabled="browseStatus"
  1141. size="small"
  1142. >移除
  1143. </el-button>
  1144. </template>
  1145. </el-table-column>
  1146. </el-table>
  1147. <div class="dialogTableTitle flex a-center jlr">
  1148. <h3>收款信息</h3>
  1149. <el-button :disabled="browseStatus" @click.prevent="addCollection()"
  1150. >新增
  1151. </el-button>
  1152. <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
  1153. >删除
  1154. </el-button> -->
  1155. <el-button type="primary" @click="submitForm(2)">保 存</el-button>
  1156. <el-button type="warning">仓储费协议</el-button>
  1157. <el-button type="danger">作业费协议</el-button>
  1158. </div>
  1159. <el-table
  1160. :data="warehouseDrList"
  1161. ref="table"
  1162. tooltip-effect="dark"
  1163. border
  1164. stripe
  1165. show-summary
  1166. @selection-change="Collectionoptions"
  1167. :summary-method="warehouseDrSummaries"
  1168. >
  1169. <el-table-column type="selection" width="55" align="center" />
  1170. <el-table-column label="序号" type="index" width="80">
  1171. </el-table-column>
  1172. <el-table-column
  1173. prop="fCorpid"
  1174. header-align="center"
  1175. align="center"
  1176. width="180px"
  1177. label="客户名称"
  1178. >
  1179. <template slot-scope="scope">
  1180. <el-select
  1181. v-model="scope.row.fCorpid"
  1182. filterable
  1183. remote
  1184. :disabled="browseStatus"
  1185. :remote-method="corpsRemoteMethod"
  1186. placeholder="客户名称"
  1187. >
  1188. <el-option
  1189. v-for="(dict, index) in KHblnoOptions"
  1190. :key="index.fId"
  1191. :label="dict.fName"
  1192. :value="dict.fId"
  1193. ></el-option>
  1194. </el-select>
  1195. </template>
  1196. </el-table-column>
  1197. <el-table-column
  1198. prop="fFeeid"
  1199. header-align="center"
  1200. align="center"
  1201. width="180px"
  1202. label="费用名称"
  1203. >
  1204. <template slot-scope="scope">
  1205. <el-select
  1206. v-model="scope.row.fFeeid"
  1207. filterable
  1208. remote
  1209. :disabled="browseStatus"
  1210. :remote-method="fWRemoteMethod"
  1211. placeholder="费用名称"
  1212. >
  1213. <el-option
  1214. v-for="dict in fWbuOptions"
  1215. :key="dict.fId"
  1216. :label="dict.fName"
  1217. :value="dict.fId"
  1218. ></el-option>
  1219. </el-select>
  1220. </template>
  1221. </el-table-column>
  1222. <el-table-column
  1223. prop="ffeeUnitid"
  1224. header-align="center"
  1225. align="center"
  1226. width="180px"
  1227. label="计价单位"
  1228. >
  1229. <template slot-scope="scope">
  1230. <!-- <el-input
  1231. v-model="scope.row.fFeeUnitid"
  1232. placeholder="计价单位"
  1233. show-word-limit
  1234. /> -->
  1235. <el-select
  1236. v-model="scope.row.fFeeUnitid"
  1237. placeholder="请选择计费单位"
  1238. @change="changeFeeUnit(scope.row)"
  1239. :disabled="browseStatus"
  1240. clearable
  1241. >
  1242. <el-option
  1243. v-for="dict in jFeetunitOptions"
  1244. :key="dict.dictValue"
  1245. :label="dict.dictLabel"
  1246. :value="dict.dictValue"
  1247. />
  1248. </el-select>
  1249. </template>
  1250. </el-table-column>
  1251. <el-table-column
  1252. prop="fQty"
  1253. header-align="center"
  1254. align="center"
  1255. width="150px"
  1256. label="数量"
  1257. >
  1258. <template slot-scope="scope">
  1259. <el-input
  1260. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  1261. v-model="scope.row.fQty"
  1262. placeholder="数量"
  1263. :disabled="browseStatus"
  1264. @change="changeEstmateAmt(scope.row)"
  1265. show-word-limit
  1266. />
  1267. </template>
  1268. </el-table-column>
  1269. <el-table-column
  1270. prop="funitprice"
  1271. header-align="center"
  1272. align="center"
  1273. width="150px"
  1274. label="单价"
  1275. >
  1276. <template slot-scope="scope">
  1277. <el-input
  1278. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  1279. v-model="scope.row.fUnitprice"
  1280. placeholder="单价"
  1281. :disabled="browseStatus"
  1282. @change="changeContractAmt(scope.row)"
  1283. show-word-limit
  1284. />
  1285. </template>
  1286. </el-table-column>
  1287. <el-table-column
  1288. prop="fAmount"
  1289. header-align="center"
  1290. align="center"
  1291. width="150px"
  1292. label="金额"
  1293. >
  1294. <template slot-scope="scope">
  1295. <el-input
  1296. disabled
  1297. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  1298. v-model="scope.row.fAmount"
  1299. placeholder="金额"
  1300. show-word-limit
  1301. />
  1302. </template>
  1303. </el-table-column>
  1304. <el-table-column
  1305. prop="fCurrency"
  1306. header-align="center"
  1307. align="center"
  1308. width="150px"
  1309. label="币别"
  1310. >
  1311. <template slot-scope="scope">
  1312. <el-input
  1313. v-model="scope.row.fCurrency"
  1314. :disabled="browseStatus"
  1315. placeholder="币别"
  1316. show-word-limit
  1317. />
  1318. </template>
  1319. </el-table-column>
  1320. <el-table-column
  1321. prop="fCxrate"
  1322. header-align="center"
  1323. align="center"
  1324. width="150px"
  1325. label="汇率"
  1326. >
  1327. <template slot-scope="scope">
  1328. <el-input
  1329. v-model="scope.row.fCxrate"
  1330. :disabled="browseStatus"
  1331. placeholder="汇率"
  1332. show-word-limit
  1333. />
  1334. </template>
  1335. </el-table-column>
  1336. <el-table-column
  1337. prop="fRate"
  1338. header-align="center"
  1339. align="center"
  1340. width="150px"
  1341. label="税率"
  1342. >
  1343. <template slot-scope="scope">
  1344. <el-input
  1345. v-model="scope.row.fRate"
  1346. :disabled="browseStatus"
  1347. placeholder="税率"
  1348. show-word-limit
  1349. />
  1350. </template>
  1351. </el-table-column>
  1352. <el-table-column
  1353. prop="remarks"
  1354. header-align="center"
  1355. align="center"
  1356. width="150px"
  1357. label="备注"
  1358. >
  1359. <template slot-scope="scope">
  1360. <el-input
  1361. v-model="scope.row.remarks"
  1362. :disabled="browseStatus"
  1363. placeholder="备注"
  1364. show-word-limit
  1365. />
  1366. </template>
  1367. </el-table-column>
  1368. <el-table-column
  1369. header-align="center"
  1370. align="center"
  1371. label="操作"
  1372. width="200px"
  1373. >
  1374. <template slot-scope="scope">
  1375. <el-button size="small">审核费用</el-button>
  1376. <el-button
  1377. @click.native.prevent="deleteRow(scope.$index, warehouseDrList)"
  1378. size="small"
  1379. >移除</el-button
  1380. >
  1381. </template>
  1382. </el-table-column>
  1383. </el-table>
  1384. <div class="dialogTableTitle flex a-center jlr">
  1385. <h3>付款信息</h3>
  1386. <el-button :disabled="browseStatus" @click.prevent="addpayment()"
  1387. >新增
  1388. </el-button>
  1389. <!-- <el-button :disabled="browseStatus" @click.prevent="deleteRow(warehouseDrList)"
  1390. >删除
  1391. </el-button> -->
  1392. <el-button type="primary" @click="submitForm(2)">保 存</el-button>
  1393. <el-button type="warning">仓储费协议</el-button>
  1394. <el-button type="danger">作业费协议</el-button>
  1395. </div>
  1396. <el-table
  1397. :data="warehouseCrList"
  1398. ref="table"
  1399. tooltip-effect="dark"
  1400. border
  1401. stripe
  1402. show-summary
  1403. @selection-change="Collectionoptions"
  1404. :summary-method="warehouseDrSummaries"
  1405. >
  1406. <el-table-column type="selection" width="55" align="center" />
  1407. <el-table-column label="序号" type="index" width="80">
  1408. </el-table-column>
  1409. <el-table-column
  1410. prop="fCorpid"
  1411. header-align="center"
  1412. align="center"
  1413. width="180px"
  1414. label="客户名称"
  1415. >
  1416. <template slot-scope="scope">
  1417. <el-select
  1418. v-model="scope.row.fCorpid"
  1419. filterable
  1420. remote
  1421. :disabled="browseStatus"
  1422. :remote-method="corpsRemoteMethod"
  1423. placeholder="客户名称"
  1424. >
  1425. <el-option
  1426. v-for="(dict, index) in KHblnoOptions"
  1427. :key="index.fId"
  1428. :label="dict.fName"
  1429. :value="dict.fId"
  1430. ></el-option>
  1431. </el-select>
  1432. </template>
  1433. </el-table-column>
  1434. <el-table-column
  1435. prop="fFeeid"
  1436. header-align="center"
  1437. align="center"
  1438. width="180px"
  1439. label="费用名称"
  1440. >
  1441. <template slot-scope="scope">
  1442. <el-select
  1443. v-model="scope.row.fFeeid"
  1444. filterable
  1445. remote
  1446. :disabled="browseStatus"
  1447. :remote-method="fWRemoteMethod"
  1448. placeholder="费用名称"
  1449. >
  1450. <el-option
  1451. v-for="dict in fWbuOptions"
  1452. :key="dict.fId"
  1453. :label="dict.fName"
  1454. :value="dict.fId"
  1455. ></el-option>
  1456. </el-select>
  1457. </template>
  1458. </el-table-column>
  1459. <el-table-column
  1460. prop="ffeeUnitid"
  1461. header-align="center"
  1462. align="center"
  1463. width="180px"
  1464. label="计价单位"
  1465. >
  1466. <template slot-scope="scope">
  1467. <el-select
  1468. v-model="scope.row.fFeeUnitid"
  1469. placeholder="请选择计费单位"
  1470. @change="changeFeeUnit(scope.row)"
  1471. :disabled="browseStatus"
  1472. clearable
  1473. >
  1474. <el-option
  1475. v-for="dict in jFeetunitOptions"
  1476. :key="dict.dictValue"
  1477. :label="dict.dictLabel"
  1478. :value="dict.dictValue"
  1479. />
  1480. </el-select>
  1481. </template>
  1482. </el-table-column>
  1483. <el-table-column
  1484. prop="fQty"
  1485. header-align="center"
  1486. align="center"
  1487. width="150px"
  1488. label="数量"
  1489. >
  1490. <template slot-scope="scope">
  1491. <el-input
  1492. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d\d\d).*$/, "$1$2.$3")'
  1493. v-model="scope.row.fQty"
  1494. @change="changeEstmateAmt(scope.row)"
  1495. :disabled="browseStatus"
  1496. placeholder="数量"
  1497. show-word-limit
  1498. />
  1499. </template>
  1500. </el-table-column>
  1501. <el-table-column
  1502. prop="funitprice"
  1503. header-align="center"
  1504. align="center"
  1505. width="150px"
  1506. label="单价"
  1507. >
  1508. <template slot-scope="scope">
  1509. <el-input
  1510. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  1511. v-model="scope.row.fUnitprice"
  1512. @change="changeContractAmt(scope.row)"
  1513. :disabled="browseStatus"
  1514. placeholder="单价"
  1515. show-word-limit
  1516. />
  1517. </template>
  1518. </el-table-column>
  1519. <el-table-column
  1520. prop="fAmount"
  1521. header-align="center"
  1522. align="center"
  1523. width="150px"
  1524. label="金额"
  1525. >
  1526. <template slot-scope="scope">
  1527. <el-input
  1528. disabled
  1529. oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
  1530. v-model="scope.row.fAmount"
  1531. placeholder="金额"
  1532. show-word-limit
  1533. />
  1534. </template>
  1535. </el-table-column>
  1536. <el-table-column
  1537. prop="fCurrency"
  1538. header-align="center"
  1539. align="center"
  1540. width="150px"
  1541. label="币别"
  1542. >
  1543. <template slot-scope="scope">
  1544. <el-input
  1545. v-model="scope.row.fCurrency"
  1546. :disabled="browseStatus"
  1547. placeholder="币别"
  1548. show-word-limit
  1549. />
  1550. </template>
  1551. </el-table-column>
  1552. <el-table-column
  1553. prop="fCxrate"
  1554. header-align="center"
  1555. align="center"
  1556. width="150px"
  1557. label="汇率"
  1558. >
  1559. <template slot-scope="scope">
  1560. <el-input
  1561. v-model="scope.row.fCxrate"
  1562. :disabled="browseStatus"
  1563. placeholder="汇率"
  1564. show-word-limit
  1565. />
  1566. </template>
  1567. </el-table-column>
  1568. <el-table-column
  1569. prop="fRate"
  1570. header-align="center"
  1571. align="center"
  1572. width="150px"
  1573. label="税率"
  1574. >
  1575. <template slot-scope="scope">
  1576. <el-input
  1577. v-model="scope.row.fRate"
  1578. :disabled="browseStatus"
  1579. placeholder="税率"
  1580. show-word-limit
  1581. />
  1582. </template>
  1583. </el-table-column>
  1584. <el-table-column
  1585. prop="remarks"
  1586. header-align="center"
  1587. align="center"
  1588. width="150px"
  1589. label="备注"
  1590. >
  1591. <template slot-scope="scope">
  1592. <el-input
  1593. v-model="scope.row.remarks"
  1594. :disabled="browseStatus"
  1595. placeholder="备注"
  1596. show-word-limit
  1597. />
  1598. </template>
  1599. </el-table-column>
  1600. <el-table-column
  1601. header-align="center"
  1602. align="center"
  1603. width="200px"
  1604. label="操作"
  1605. >
  1606. <template slot-scope="scope">
  1607. <el-button size="small">审核费用</el-button>
  1608. <el-button
  1609. @click.native.prevent="deleteRow(scope.$index, warehouseCrList)"
  1610. size="small"
  1611. >移除</el-button
  1612. >
  1613. </template>
  1614. </el-table-column>
  1615. </el-table>
  1616. <div slot="footer" class="dialog-footer">
  1617. <el-button type="success" prop="打印" @click="showEditDialog_ss"
  1618. >收货单
  1619. </el-button>
  1620. <el-button type="warning" prop="打印" @click="showEditDialog_s"
  1621. >出库单
  1622. </el-button>
  1623. <el-button type="info" prop="打印" @click="showEditDialog_sss"
  1624. >作业单
  1625. </el-button>
  1626. <el-button type="primary" @click="submitForm(2)">保 存</el-button>
  1627. <el-button type="primary" @click="submitForm(6)">提交审核</el-button>
  1628. <el-button @click="cancel">取 消</el-button>
  1629. </div>
  1630. <!-- 选择库存总账数据 -->
  1631. <el-dialog
  1632. title="库存总账"
  1633. :modal="false"
  1634. style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
  1635. :visible.sync="whgenlegVisible"
  1636. width="70%"
  1637. >
  1638. <el-table
  1639. :data="whgenlegList"
  1640. ref="table"
  1641. tooltip-effect="dark"
  1642. width="100%"
  1643. border
  1644. stripe
  1645. @selection-change="whgenlegSelectionChange"
  1646. >
  1647. <el-table-column type="selection" width="55"> </el-table-column>
  1648. <el-table-column
  1649. prop="fMblno"
  1650. header-align="center"
  1651. align="center"
  1652. label="提单号"
  1653. >
  1654. </el-table-column>
  1655. <el-table-column
  1656. prop="createTime"
  1657. header-align="center"
  1658. align="center"
  1659. width="180px"
  1660. label="入库日期"
  1661. >
  1662. </el-table-column>
  1663. <el-table-column
  1664. prop="fGoodsid"
  1665. header-align="center"
  1666. align="center"
  1667. label="品名"
  1668. >
  1669. </el-table-column>
  1670. <el-table-column
  1671. prop="fQtyblc"
  1672. header-align="center"
  1673. align="center"
  1674. label="结余数量"
  1675. >
  1676. </el-table-column>
  1677. <el-table-column
  1678. prop="fWarehouseLocationid"
  1679. header-align="center"
  1680. align="center"
  1681. label="库区"
  1682. >
  1683. </el-table-column>
  1684. <el-table-column
  1685. prop="fMarks"
  1686. header-align="center"
  1687. align="center"
  1688. label="唛头"
  1689. >
  1690. </el-table-column>
  1691. </el-table>
  1692. <pagination
  1693. v-show="whgenlegTotal > 0"
  1694. :total="whgenlegTotal"
  1695. :page.sync="whgenlegParams.pageNum"
  1696. :limit.sync="whgenlegParams.pageSize"
  1697. @pagination="getWhgenlegList"
  1698. />
  1699. <div slot="footer" class="dialog-footer">
  1700. <el-button type="primary" @click="whgenlegData">导入</el-button>
  1701. <el-button @click="whgenlegVisible = false">取 消</el-button>
  1702. </div>
  1703. </el-dialog>
  1704. <el-dialog
  1705. title="入库页面"
  1706. :modal="false"
  1707. style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
  1708. :visible.sync="editDialogVisible_s"
  1709. width="70%"
  1710. >
  1711. <table
  1712. id="print_area"
  1713. class="biaoge zzss"
  1714. border="1"
  1715. style="border-collapse: collapse; border: none"
  1716. >
  1717. <tr>
  1718. <td
  1719. width="100"
  1720. colspan="7"
  1721. class="zzss"
  1722. style="font-size: 28px; font-weight: bold; border: none"
  1723. >
  1724. 青岛大木进仓单
  1725. </td>
  1726. </tr>
  1727. <tr>
  1728. <td
  1729. width="100"
  1730. colspan="7"
  1731. class="zzss"
  1732. style="font-size: 28px; font-weight: bold; border: none"
  1733. >
  1734. &nbsp;
  1735. </td>
  1736. </tr>
  1737. <tr>
  1738. <td width="450" colspan="2" class="zzss">货权方:{{form.fCorpid}}</td>
  1739. <td width="450" colspan="2" class="zzss">仓库:{{form.fWarehouseid}}</td>
  1740. <td width="450" colspan="3" class="zzss">
  1741. 地址:青岛市市北区郑州路1344号
  1742. </td>
  1743. </tr>
  1744. <tr>
  1745. <td width="200" colspan="2" class="zzss">保管方:大木有限公司</td>
  1746. <td width="200" colspan="2" class="zzss">联系人:{{form.fContacts}}</td>
  1747. <td width="200" colspan="3" class="zzss">
  1748. 电话:{{form.fTel}}
  1749. </td>
  1750. </tr>
  1751. <tr>
  1752. <td width="100" border="1">提单号</td>
  1753. <td width="100">品名</td>
  1754. <td width="100">箱型</td>
  1755. <td width="100">品牌</td>
  1756. <td width="100">件数</td>
  1757. <td width="100">重量</td>
  1758. <td width="100">包装规格</td>
  1759. </tr>
  1760. <tr>
  1761. <td width="100">{{form.fMblno}}</td>
  1762. <td width="100">{{fGoodsids}}</td>
  1763. <td width="100">{{fCntrtype}}</td>
  1764. <td width="100">某某</td>
  1765. <td width="100">包</td>
  1766. <td width="100">吨</td>
  1767. <td width="100"></td>
  1768. </tr>
  1769. <tr>
  1770. <td width="100">序号</td>
  1771. <td width="100">入货日期</td>
  1772. <td width="100">箱量(20GP)</td>
  1773. <td width="100">重量</td>
  1774. <td width="100">件数</td>
  1775. <td width="100">入库重量</td>
  1776. <td width="100">入库件数</td>
  1777. </tr>
  1778. <tr v-for="(item,index) in Printinglist" :key="index">
  1779. <td width="100">{{index+1}}</td>
  1780. <td width="100">{{item.fBsdate}}</td>
  1781. <td width="100">{{item.fCntqty}}</td>
  1782. <td width="100">{{item.fGrossweight}}</td>
  1783. <td width="100">{{item.fPlanqty}}</td>
  1784. <td width="100">{{item.fNetweight}}</td>
  1785. <td width="100">{{item.fQty}}</td>
  1786. </tr>
  1787. <tr>
  1788. <td width="100" colspan="2">合计:</td>
  1789. <td width="100">{{fCntqty}}</td>
  1790. <td width="100">{{fGrossweight}}</td>
  1791. <td width="100">{{fPlanqty}}</td>
  1792. <td width="100">{{fNetweight}}</td>
  1793. <td width="100">{{fQty}}</td>
  1794. </tr>
  1795. <tr>
  1796. <td width="100">备注:</td>
  1797. <td width="100" colspan="6"></td>
  1798. </tr>
  1799. <tr>
  1800. <td width="100" colspan="7" class="zzss">
  1801. 本进仓单经仓管员签字并经保管方盖章后即专项作为货物所有人的货权证明,本单据不得转让。
  1802. </td>
  1803. </tr>
  1804. <tr style="border: none">
  1805. <td width="100" colspan="2" class="zzss" style="border: none">
  1806. 开单员:
  1807. </td>
  1808. <td width="100" colspan="3" class="zzss" style="border: none"></td>
  1809. <td width="100" colspan="2" class="zzss" style="border: none">
  1810. 仓管员:张三
  1811. </td>
  1812. </tr>
  1813. <tr style="border: none">
  1814. <td width="100" colspan="2" class="zzss" style="border: none">
  1815. 开单时间:
  1816. </td>
  1817. <td width="100" colspan="3" class="zzss" style="border: none"></td>
  1818. <td width="100" colspan="2" class="zzss" style="border: none">
  1819. (盖章)
  1820. </td>
  1821. </tr>
  1822. </table>
  1823. <button @click="printSomething">打印</button>
  1824. </el-dialog>
  1825. <el-dialog
  1826. title="收货单打印"
  1827. style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
  1828. :visible.sync="editDialogVisible_ss"
  1829. width="70%"
  1830. :modal="false"
  1831. >
  1832. <table
  1833. id="print_area"
  1834. class="biaoge zzss"
  1835. border="1"
  1836. style="border-collapse: collapse; border: none;margin-top;100px;"
  1837. >
  1838. <tr>
  1839. <td
  1840. width="1400"
  1841. colspan="6"
  1842. class="zzss"
  1843. style="font-size: 26px; font-weight: bold; border: none"
  1844. >
  1845. 大木国际物流(青岛)有限公司收货单
  1846. </td>
  1847. </tr>
  1848. <!-- <div v-for="{{}}" :key="index"> -->
  1849. <tr>
  1850. <td width="400">车号:</td>
  1851. <td width="400">{{fTruckno}}</td>
  1852. <td
  1853. width="500"
  1854. colspan="2"
  1855. style="padding-bottom: 0px; font-weight: bold; border: none"
  1856. class="zzss"
  1857. >
  1858. 日期:
  1859. </td>
  1860. <td
  1861. width="500"
  1862. colspan="2"
  1863. style="padding-bottom: 0px; font-weight: bold; border: none"
  1864. class="zzss"
  1865. >
  1866. {{fBsdate}}
  1867. </td>
  1868. </tr>
  1869. <tr v-for="(item,index) in Printinglist" :key="index">
  1870. <td width="250">货物品名:</td>
  1871. <td width="250">{{item.fGoodsids}}</td>
  1872. <td width="250">白色聚吕</td>
  1873. <!-- <td width="200" colspan="2">件数: 161件</td> -->
  1874. <!-- <td width="200"></td> -->
  1875. <td width="200" colspan="4" class="zzss">件数: {{item.fQty}}件</td>
  1876. </tr>
  1877. <!-- <tr>
  1878. <td width="1400" colspan="6">&nbsp;</td>
  1879. </tr> -->
  1880. <tr v-for="(item,index) in Printinglist" :key="index">
  1881. <td>备注:</td>
  1882. <td colspan="5">{{item.remark}}</td>
  1883. </tr>
  1884. <tr>
  1885. <td>司机签字:</td>
  1886. <td></td>
  1887. <td colspan="2">司机电话:</td>
  1888. <td colspan="2">{{form.fTel}}</td>
  1889. </tr>
  1890. <tr>
  1891. <td>制单人:</td>
  1892. <td>{{form.createBy}}</td>
  1893. <td colspan="2">收货人:</td>
  1894. <td colspan="2">{{form.fContacts}}</td>
  1895. </tr>
  1896. <!-- <tr>
  1897. <td colspan="6" class="zzss">&nbsp;</td>
  1898. </tr> -->
  1899. <tr>
  1900. <td width="280" class="zzss"></td>
  1901. <td width="280" class="zzss"></td>
  1902. <td width="280" class="zzss"></td>
  1903. <td width="280" class="zzss"></td>
  1904. <td width="290" class="zzss">地址:淮河东路96号</td>
  1905. <td width="290" class="zzss">电话:{{form.fTel}}</td>
  1906. </tr>
  1907. <!-- </div> -->
  1908. </table>
  1909. <button @click="printSomething">打印</button>
  1910. </el-dialog>
  1911. <el-dialog
  1912. title="收货单打印"
  1913. style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
  1914. :visible.sync="editDialogVisible_sss"
  1915. width="70%"
  1916. :modal="false"
  1917. >
  1918. <table
  1919. id="print_area"
  1920. class="biaoge zzss"
  1921. border="1"
  1922. style="border-collapse: collapse; border: none"
  1923. >
  1924. <tr>
  1925. <td
  1926. width="1400"
  1927. colspan="6"
  1928. class="zzss"
  1929. style="font-size: 28px; font-weight: bold; border: none"
  1930. >
  1931. 大木国际物流(青岛)有限公司作业单
  1932. </td>
  1933. </tr>
  1934. <tr>
  1935. <td
  1936. width="900"
  1937. colspan="4"
  1938. class="zzss"
  1939. style="font-size: 28px; font-weight: bold"
  1940. >
  1941. &nbsp;
  1942. </td>
  1943. <td
  1944. width="500"
  1945. colspan="2"
  1946. style="padding-bottom: 0px; font-weight: bold; border: none"
  1947. class="zzss"
  1948. >
  1949. 出库日期:{{fBsdate}}
  1950. </td>
  1951. </tr>
  1952. <tr v-for="(item,index) in Printinglist" :key="index">
  1953. <td width="200">车号</td>
  1954. <td width="200">{{item.fTruckno}}</td>
  1955. <td width="200">货物品名</td>
  1956. <td width="200" colspan="4" class="zzss">{{item.fGoodsids}}</td>
  1957. </tr>
  1958. <tr>
  1959. <td width="1400" colspan="6">&nbsp;</td>
  1960. </tr>
  1961. <tr>
  1962. <td>备注:</td>
  1963. <td colspan="5"></td>
  1964. </tr>
  1965. <tr>
  1966. <td>收费</td>
  1967. <td>装箱费</td>
  1968. <td>元</td>
  1969. <td colspan="4">办单费:5元,过磅费自理</td>
  1970. </tr>
  1971. <tr>
  1972. <td>司机签字:</td>
  1973. <td></td>
  1974. <td>电话</td>
  1975. <td>{{form.fTel}}</td>
  1976. <td colspan="2" rowspan="2">
  1977. 确认货物数量无误,包装于货物完好!<br />出库盖好篷布,如有违背责任自负<br />装卸工是否收小费
  1978. </td>
  1979. </tr>
  1980. <tr>
  1981. <td>制表:</td>
  1982. <td>{{form.createBy}}</td>
  1983. <td>机械/人工:</td>
  1984. <td>{{form.fContacts}}</td>
  1985. </tr>
  1986. <tr>
  1987. <td colspan="6" class="zzss">&nbsp;</td>
  1988. </tr>
  1989. <tr>
  1990. <td width="280" class="zzss"></td>
  1991. <td width="280" class="zzss"></td>
  1992. <td width="280" class="zzss"></td>
  1993. <td width="280" class="zzss"></td>
  1994. <td width="290" class="zzss">地址:淮河东路96号</td>
  1995. <td width="290" class="zzss">电话:18685818919</td>
  1996. </tr>
  1997. </table>
  1998. <button @click="printSomething">打印</button>
  1999. </el-dialog>
  2000. </el-dialog>
  2001. </div>
  2002. </template>
  2003. <script>
  2004. import print from "print-js";
  2005. import {
  2006. addWhgenleg,
  2007. listWarehousebills,
  2008. getWarehousebills,
  2009. delWarehousebills,
  2010. addWarehousebills,
  2011. updateWarehousebills,
  2012. exportWarehousebills,
  2013. } from "@/api/warehouseBusiness/warehouseOutStock";
  2014. import { listCorps } from "@/api/basicdata/corps";
  2015. import { listFees } from "@/api/basicdata/fees";
  2016. import { listWarehouse } from "@/api/basicdata/warehouse";
  2017. import { listArea } from "@/api/basicdata/area";
  2018. import { listGoods } from "@/api/basicdata/goods";
  2019. import { listUser, queryUserVal } from "@/api/system/user";
  2020. import UploadFile from "@/components/Uploadfile";
  2021. import { listWhgenleg } from "@/api/reportManagement/whgenleg";
  2022. export default {
  2023. name: "Warehousebills",
  2024. components: {
  2025. UploadFile,
  2026. },
  2027. data() {
  2028. return {
  2029. fFeeUnitid: "",
  2030. fFeeUnitids: "",
  2031. browseStatus: false,
  2032. detailsHidden: false,
  2033. fTruckno: '',
  2034. fBsdate: '',
  2035. fCntrtype: '',
  2036. fGoodsids: '',
  2037. fPlanqty: "",
  2038. fPlannetweight: "",
  2039. fCntqty: "",
  2040. fQty: "",
  2041. fGrossweight: "",
  2042. fGrossweight: '',
  2043. fPlanqty: '',
  2044. fPlanvolumn: "",
  2045. fGrossweight: "",
  2046. fNetweight: "",
  2047. fid: '',
  2048. fQty: "",
  2049. fSbu: "",
  2050. // 遮罩层
  2051. loading: true,
  2052. // 选中数组
  2053. ids: [],
  2054. userVal: {
  2055. userName: null,
  2056. nickName: null,
  2057. deptId: null,
  2058. },
  2059. queryForm: {},
  2060. // 库存总账表
  2061. whgenlegList: [],
  2062. whgenlegTotal: 0,
  2063. // 弹窗库存总账数据
  2064. dialogWhgenlegList: [],
  2065. // 库存总账对话框
  2066. whgenlegVisible: false,
  2067. warehousingagreement: false,
  2068. // 新增用户对话框
  2069. editDialogVisible_s: false,
  2070. editDialogVisible_ss: false,
  2071. editDialogVisible_sss: false,
  2072. editDialogClosed_ss: false,
  2073. dataList: [],
  2074. warehouseCrList: [],
  2075. warehouseDrList: [],
  2076. Printinglist: [],
  2077. browseStatus: false,
  2078. relevantAttachments: [],
  2079. // 非单个禁用
  2080. single: true,
  2081. // 非多个禁用
  2082. multiple: true,
  2083. // 显示搜索条件
  2084. showSearch: true,
  2085. // 总条数
  2086. total: 0,
  2087. // 仓库主(出入库)表格数据
  2088. warehousebillsList: [],
  2089. // 弹出层标题
  2090. title: "",
  2091. // 是否显示弹出层
  2092. open: false,
  2093. // 货权方(客户数据)
  2094. fMblnoOptions: [],
  2095. // 货权方(客户数据)
  2096. // 客户名称
  2097. KHblnoOptions: [],
  2098. Pledgebank: [],
  2099. fSbuOptions: [],
  2100. // 操作员
  2101. userOptions: [],
  2102. // 操作员
  2103. goodsOptions: [],
  2104. // 制单部门
  2105. deptOptions: [],
  2106. // 仓库(仓库数据)
  2107. warehouseOptions: [],
  2108. // 库存明细入账数组
  2109. dataListSelection: [],
  2110. kqhouseOptions: [],
  2111. // 贸易方式(数据字典),对应t_trademodels 字典
  2112. fTrademodeidOptions: [],
  2113. // 计费单位(数据字典),下拉选择毛重或净重字典
  2114. fFeetunitOptions: [],
  2115. // 结算方式(数据字典),下拉选择字典
  2116. fStltypeOptions: [],
  2117. // 是否过磅(数据字典)默认 F ,过磅T 否者F 下拉选择字典
  2118. fIfweighOptions: [],
  2119. // 是否质押(数据字典),默认 F ,质押T 否者F 下拉选择字典
  2120. fIfpledgeOptions: [],
  2121. // 是否破损(数据字典),默认F否则T字典
  2122. fIfdamageOptions: [],
  2123. // 单据类型(数据字典)SJRK字典
  2124. fBilltypeOptions: [],
  2125. // 状态(数据字典),N 入字典
  2126. fBillstatusOptions: [],
  2127. // 费用名称
  2128. fWbuOptions: [],
  2129. // 计价单位
  2130. jFeetunitOptions: [],
  2131. // 查询参数
  2132. queryParams: {
  2133. pageNum: 1,
  2134. pageSize: 10,
  2135. fBillno: null,
  2136. createBy: null,
  2137. createTime: null,
  2138. fCustomsdeclartion: null,
  2139. fOriginalbillno: null,
  2140. fDeptid: null,
  2141. fBsdeptid: null,
  2142. fContacts: null,
  2143. fTel: null,
  2144. fCorpid: null,
  2145. fTocorpid: null,
  2146. fStltypeid: null,
  2147. fBscorpno: null,
  2148. fWarehouseid: null,
  2149. fStorekeeper: null,
  2150. fBsdate: null,
  2151. fPlanqty: null,
  2152. fPlangrossweight: null,
  2153. fPlannetweight: null,
  2154. fPlanvolumn: null,
  2155. fQty: null,
  2156. fGrossweight: null,
  2157. fNetweight: null,
  2158. fVolumn: null,
  2159. fTrademodeid: null,
  2160. fSbu: null,
  2161. fFeetunit: null,
  2162. fMblno: null,
  2163. fVslvoy: null,
  2164. fEta: null,
  2165. fCustomno: null,
  2166. fIfweigh: null,
  2167. fIfpledge: null,
  2168. fIfdamage: null,
  2169. fBankcorpid: null,
  2170. fBilltype: null,
  2171. fBillstatus: null,
  2172. fCreateby: null,
  2173. fCreatetime: null,
  2174. fGoodsid: null,
  2175. fCntrtype: null,
  2176. fCntqty: null,
  2177. },
  2178. // 库存总账参数
  2179. whgenlegParams: {
  2180. pageNum: 1,
  2181. pageSize: 10,
  2182. fMblno: null,
  2183. fCorpid: null,
  2184. fWarehouseid: null,
  2185. },
  2186. // 表单参数
  2187. form: {
  2188. fMblno: null,
  2189. fCorpid: null,
  2190. fTrademodeid: null,
  2191. fWarehouseid: null,
  2192. },
  2193. // 表单校验
  2194. rules: {
  2195. fDeptid: [{ required: true, message: " ", trigger: "blur" }],
  2196. fMblno: [{ required: true, message: " ", trigger: "blur" }],
  2197. fBsdeptid: [{ required: true, message: " ", trigger: "blur" }],
  2198. fCorpid: [
  2199. {
  2200. required: true,
  2201. message: " ",
  2202. trigger: "blur",
  2203. },
  2204. ],
  2205. fMarks: [
  2206. { required: true, message: " ", trigger: "blur" },
  2207. ],
  2208. fBsdate: [{ required: true, message: " ", trigger: "blur" }],
  2209. fTrademodeid: [{ required: true, message: " ", trigger: "blur" }],
  2210. fSbu: [{ required: true, message: " ", trigger: "blur" }],
  2211. fStorekeeper: {
  2212. required: true,
  2213. message: " ",
  2214. trigger: "blur",
  2215. },
  2216. fWarehouseid: [{ required: true, message: " ", trigger: "blur" }],
  2217. // fBscorpno: [
  2218. // { required: true, message: "请输入存货编号", trigger: "blur" },
  2219. // ],
  2220. fbillingway: [
  2221. {
  2222. required: true,
  2223. message: " ",
  2224. trigger: "blur",
  2225. },
  2226. ],
  2227. fTocorpid: [
  2228. {
  2229. required: true,
  2230. message: " ",
  2231. trigger: "blur",
  2232. },
  2233. ],
  2234. },
  2235. };
  2236. },
  2237. created() {
  2238. this.getList();
  2239. this.getDicts("data_trademodes").then((response) => {
  2240. this.fTrademodeidOptions = response.data;
  2241. });
  2242. this.getDicts("data_unitfees").then((response) => {
  2243. this.fFeetunitOptions = response.data;
  2244. this.jFeetunitOptions = response.data;
  2245. });
  2246. this.getDicts("data_stltype_type").then((response) => {
  2247. this.fStltypeOptions = response.data;
  2248. });
  2249. this.getDicts("data_ifweigh_status").then((response) => {
  2250. this.fIfweighOptions = response.data;
  2251. });
  2252. this.getDicts("data_ifpledge_status").then((response) => {
  2253. this.fIfpledgeOptions = response.data;
  2254. });
  2255. this.getDicts("data_ifdamage_status").then((response) => {
  2256. this.fIfdamageOptions = response.data;
  2257. });
  2258. this.getDicts("data_billtype_type").then((response) => {
  2259. this.fBilltypeOptions = response.data;
  2260. });
  2261. this.getDicts("sys_common_status").then((response) => {
  2262. this.fBillstatusOptions = response.data;
  2263. });
  2264. },
  2265. methods: {
  2266. // 上传成功返回数据
  2267. showFile(row) {
  2268. // this.$set(this.relevantAttachments[0], 'fName', row.fileName)
  2269. this.$set(this.relevantAttachments[0], "fUrl", row.url);
  2270. },
  2271. printSomething() {
  2272. // 此处的style即为打印时的样式
  2273. const style =
  2274. "@media print { .print-div{ padding:8px;background-color:#cccccc;line-height:12px } .red{ color:#f00} .green{color:green} td{text-align: center}}";
  2275. print({
  2276. printable: "print_area",
  2277. type: "html",
  2278. style: style, // 亦可使用引入的外部css;
  2279. scanStyles: false,
  2280. });
  2281. },
  2282. // 新增附件上传
  2283. addRelevt() {
  2284. this.relevantAttachments.push({
  2285. fUrl: null,
  2286. fName: null,
  2287. createBy: this.queryParams.createBy,
  2288. createTime: Date.parse(new Date()),
  2289. });
  2290. },
  2291. // 新增list
  2292. addRelevant() {
  2293. let corpidStatus =
  2294. typeof this.form.fCorpid === "undefined" ||
  2295. this.form.fCorpid == null ||
  2296. this.form.fCorpid === "";
  2297. let ftrademodeids =
  2298. typeof this.form.fTrademodeid === "undefined" ||
  2299. this.form.fTrademodeid == null ||
  2300. this.form.fTrademodeid === "";
  2301. let warehouseidStatus =
  2302. typeof this.form.fWarehouseid === "undefined" ||
  2303. this.form.fWarehouseid == null ||
  2304. this.form.fWarehouseid === "";
  2305. if (corpidStatus || warehouseidStatus || ftrademodeids) {
  2306. this.$message({
  2307. message: "请维护货权方、仓库、贸易方式",
  2308. type: "warning",
  2309. });
  2310. return false;
  2311. }
  2312. this.whgenlegList = [];
  2313. this.dialogWhgenlegList = [];
  2314. this.whgenlegTotal = 0;
  2315. this.whgenlegVisible = true;
  2316. this.getWhgenlegList();
  2317. },
  2318. // 库存总账导出数据
  2319. whgenlegData() {
  2320. if (this.dialogWhgenlegList.length === 0) {
  2321. this.$message({message: '未勾选信息', type: 'warning'})
  2322. return false
  2323. }
  2324. for (let whgen in this.dialogWhgenlegList) {
  2325. if (!this.form.fMblno || this.form.fMblno === '') {
  2326. this.$set(this.form, 'fMblno', this.dialogWhgenlegList[whgen].fMblno)
  2327. }
  2328. this.dataList.push({
  2329. fMblno: this.dialogWhgenlegList[whgen].fMblno,
  2330. fGoodsid: this.dialogWhgenlegList[whgen].fGoodsid,
  2331. fCntrtype: null,
  2332. fQtyblc: this.dialogWhgenlegList[whgen].fQtyblc,
  2333. fNetweightblc: this.dialogWhgenlegList[whgen].fNetweightblc,
  2334. fGrossweightblc: this.dialogWhgenlegList[whgen].fGrossweightblc,
  2335. fWarehouseLocationids: this.dialogWhgenlegList[whgen].fWarehouseLocationids,
  2336. fGoodsids: this.dialogWhgenlegList[whgen].fGoodsids,
  2337. fGrossweight: 0,
  2338. fNetweight: 0,
  2339. fQty: 0,
  2340. fCntqty: 1,
  2341. fPackagespecs: null,
  2342. fWarehouselocid: this.dialogWhgenlegList[whgen].fWarehouseLocationid,
  2343. fCntrno: this.dialogWhgenlegList[whgen].fCntrno,
  2344. fGoodsval: null,
  2345. fTruckno: null,
  2346. remark: null,
  2347. });
  2348. }
  2349. this.whgenlegVisible = false;
  2350. },
  2351. // 收货单打印界面
  2352. showEditDialog_s() {
  2353. if(this.Printinglist.length>0) {
  2354. for(let aorp in this.Printinglist){
  2355. var date = new Date(this.Printinglist[aorp].fBsdate)
  2356. var Y = date.getFullYear() + '-'
  2357. var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'
  2358. var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' '
  2359. this.$set(this.Printinglist[aorp], 'fBsdate', Y + M + D)
  2360. }
  2361. this.editDialogVisible_s = true;
  2362. console.log(this.fMblnoOptions)
  2363. console.log(this.form.fCorpid)
  2364. for(let corp in this.fMblnoOptions){
  2365. if(this.form.fCorpid === this.fMblnoOptions[corp].fId) {
  2366. this.$set(this.form, "fCorpid", this.fMblnoOptions[corp].fName);
  2367. }
  2368. }
  2369. for(let sorp in this.warehouseOptions){
  2370. console.log(this.form.fWarehouseid)
  2371. if(this.form.fWarehouseid === this.warehouseOptions[sorp].fId) {
  2372. this.$set(this.form, "fWarehouseid", this.warehouseOptions[sorp].fName);
  2373. }
  2374. }
  2375. }else {
  2376. this.$message.error("请选择需要打印的明细!");
  2377. }
  2378. },
  2379. showEditDialog_ss() {
  2380. console.log(this.Printinglist)
  2381. if(this.Printinglist.length>0) {
  2382. this.editDialogVisible_ss = true;
  2383. }else {
  2384. this.$message.error("请选择需要打印的明细!");
  2385. }
  2386. },
  2387. showEditDialog_sss() {
  2388. if(this.Printinglist.length>0) {
  2389. this.editDialogVisible_sss = true;
  2390. }else {
  2391. this.$message.error("请选择需要打印的明细!");
  2392. }
  2393. },
  2394. // 收款信息
  2395. addCollection() {
  2396. this.warehouseDrList.push({
  2397. fcorpid: null,
  2398. ffeeid: null,
  2399. fFeeUnitid: null,
  2400. fQty: null,
  2401. funitprice: null,
  2402. fAmount: null,
  2403. fCurrency: "RMB",
  2404. fExrate: "1",
  2405. fCxrate: "1",
  2406. fRate: null,
  2407. remarks: null,
  2408. });
  2409. },
  2410. addpayment() {
  2411. this.warehouseCrList.push({
  2412. fcorpid: null,
  2413. ffeeid: null,
  2414. fFeeUnitid: null,
  2415. fQty: null,
  2416. funitprice: null,
  2417. fAmount: null,
  2418. fCurrency: "RMB",
  2419. fExrate: "1",
  2420. fCxrate: "1",
  2421. fRate: null,
  2422. remarks: null,
  2423. });
  2424. },
  2425. queryUser() {
  2426. queryUserVal().then((response) => {
  2427. if (response.user !== null) {
  2428. this.userVal = response.user;
  2429. this.$set(this.form, "fDeptid", this.userVal.deptId);
  2430. this.$set(this.form, "createBy", this.userVal.userName);
  2431. this.$set(this.form, "fIfdamage", "1");
  2432. this.$set(this.form, "fIfweigh", "1");
  2433. this.$set(this.form, "fTrademodeid", "1");
  2434. this.$set(this.form, "createTime", Date.parse(new Date()));
  2435. }
  2436. if (response.dept !== null) {
  2437. this.deptOptions = [];
  2438. this.deptOptions.push(response.dept);
  2439. }
  2440. });
  2441. },
  2442. /** 查询仓库主(出入库)列表 */
  2443. getList() {
  2444. this.loading = true;
  2445. listWarehousebills(this.queryParams).then((response) => {
  2446. this.warehousebillsList = response.rows;
  2447. for (let li in this.warehousebillsList) {
  2448. if(this.warehousebillsList[li].fItemsStatus === '6') {
  2449. this.warehousebillsList[li].fItemsStatus = "全部入账"
  2450. // this.browseStatus = true;
  2451. } else if(this.warehousebillsList[li].fItemsStatus === '1') {
  2452. this.warehousebillsList[li].fItemsStatus = "录入"
  2453. } else {
  2454. this.warehousebillsList[li].fItemsStatus = "部分入账"
  2455. }
  2456. if (this.warehousebillsList[li].fBillstatus === '6') {
  2457. this.warehousebillsList[li].fBillstatus = "审核通过"
  2458. } else if(this.warehousebillsList[li].fBillstatus === '3') {
  2459. this.warehousebillsList[li].fBillstatus = "驳回"
  2460. }else if(this.warehousebillsList[li].fBillstatus === '4') {
  2461. this.warehousebillsList[li].fBillstatus = "请核"
  2462. }
  2463. else if(this.warehousebillsList[li].fBillstatus === '2') {
  2464. this.warehousebillsList[li].fBillstatus = "录入"
  2465. }else if(this.warehousebillsList[li].fBillstatus === '5') {
  2466. this.warehousebillsList[li].fBillstatus = "驳回"
  2467. }
  2468. }
  2469. console.log(response.rows);
  2470. this.total = response.total;
  2471. this.loading = false;
  2472. });
  2473. },
  2474. // 查询库存总账信息
  2475. getWhgenlegList() {
  2476. this.whgenlegParams.fMblno = this.form.fMblno;
  2477. this.whgenlegParams.fCorpid = this.form.fCorpid;
  2478. this.whgenlegParams.fWarehouseid = this.form.fWarehouseid;
  2479. this.whgenlegParams.fTrademodeid = this.form.fTrademodeid;
  2480. listWhgenleg(this.whgenlegParams).then((response) => {
  2481. this.whgenlegList = response.rows;
  2482. console.log(this.whgenlegList);
  2483. this.whgenlegTotal = response.total;
  2484. });
  2485. },
  2486. // 贸易方式(数据字典),对应t_trademodels 字典翻译
  2487. fTrademodeidFormat(row, column) {
  2488. return this.selectDictLabel(this.fTrademodeidOptions, row.fTrademodeid);
  2489. },
  2490. // 计费单位(数据字典),下拉选择毛重或净重字典翻译
  2491. fFeetunitFormat(row, column) {
  2492. return this.selectDictLabel(this.fFeetunitOptions, row.fFeetunit);
  2493. },
  2494. // 是否过磅(数据字典)默认 F ,过磅T 否者F 下拉选择字典翻译
  2495. fIfweighFormat(row, column) {
  2496. return this.selectDictLabel(this.fIfweighOptions, row.fIfweigh);
  2497. },
  2498. // 是否质押(数据字典),默认 F ,质押T 否者F 下拉选择字典翻译
  2499. fIfpledgeFormat(row, column) {
  2500. return this.selectDictLabel(this.fIfpledgeOptions, row.fIfpledge);
  2501. },
  2502. // 是否破损(数据字典),默认F否则T字典翻译
  2503. fIfdamageFormat(row, column) {
  2504. return this.selectDictLabel(this.fIfdamageOptions, row.fIfdamage);
  2505. },
  2506. // 单据类型(数据字典)SJRK字典翻译
  2507. fBilltypeFormat(row, column) {
  2508. return this.selectDictLabel(this.fBilltypeOptions, row.fBilltype);
  2509. },
  2510. // 状态(数据字典),N 入字典翻译
  2511. fBillstatusFormat(row, column) {
  2512. return this.selectDictLabel(this.fBillstatusOptions, row.fBillstatus);
  2513. },
  2514. // 取消按钮
  2515. cancel() {
  2516. this.open = false;
  2517. this.reset();
  2518. },
  2519. // 表单重置
  2520. reset() {
  2521. this.form = {
  2522. fId: null,
  2523. fBillno: null,
  2524. fCustomsdeclartion: null,
  2525. fOriginalbillno: null,
  2526. fDeptid: null,
  2527. fBsdeptid: null,
  2528. fContacts: null,
  2529. fTel: null,
  2530. fCorpid: null,
  2531. fTocorpid: null,
  2532. fStltypeid: null,
  2533. fBscorpno: null,
  2534. fWarehouseid: null,
  2535. fStorekeeper: null,
  2536. fBsdate: null,
  2537. fPlanqty: null,
  2538. fPlangrossweight: null,
  2539. fPlannetweight: null,
  2540. fPlanvolumn: null,
  2541. fQty: null,
  2542. fGrossweight: null,
  2543. fNetweight: null,
  2544. fVolumn: null,
  2545. fTrademodeid: null,
  2546. fSbu: null,
  2547. fFeetunit: null,
  2548. fMblno: null,
  2549. fVslvoy: null,
  2550. fEta: null,
  2551. fCustomno: null,
  2552. fIfweigh: null,
  2553. fIfpledge: null,
  2554. fIfdamage: null,
  2555. fBankcorpid: null,
  2556. fBilltype: null,
  2557. fBillstatus: null,
  2558. delFlag: null,
  2559. createBy: null,
  2560. createTime: null,
  2561. updateBy: null,
  2562. updateTime: null,
  2563. remark: null,
  2564. fCreateby: null,
  2565. fCreatetime: null,
  2566. fGoodsid: null,
  2567. fCntrtype: null,
  2568. fCntqty: null,
  2569. };
  2570. this.deptOptions = [];
  2571. this.userOptions = [];
  2572. this.fSbuOptions = [];
  2573. this.fWbuOptions = [];
  2574. this.goodsOptions = [];
  2575. this.KHblnoOptions = [];
  2576. this.fMblnoOptions = [];
  2577. this.kqhouseOptions = [];
  2578. this.resetForm("form");
  2579. },
  2580. /** 搜索按钮操作 */
  2581. handleQuery() {
  2582. this.queryParams.pageNum = 1;
  2583. this.getList();
  2584. },
  2585. /** 重置按钮操作 */
  2586. resetQuery() {
  2587. this.resetForm("queryForm");
  2588. this.handleQuery();
  2589. },
  2590. // 多选框选中数据
  2591. handleSelectionChange(selection) {
  2592. this.ids = selection.map((item) => item.fId);
  2593. this.single = selection.length !== 1;
  2594. this.multiple = !selection.length;
  2595. },
  2596. // 库存总账多选框
  2597. whgenlegSelectionChange(selection) {
  2598. this.dialogWhgenlegList = selection;
  2599. },
  2600. /** 新增按钮操作 */
  2601. handleAdd(status) {
  2602. this.browseStatus = status;
  2603. this.reset();
  2604. this.queryUser();
  2605. this.open = true;
  2606. this.detailsHidden = false;
  2607. this.dataList = [];
  2608. this.warehouseCrList = [];
  2609. this.warehouseDrList = [];
  2610. this.relevantAttachments = [];
  2611. this.title = "出库单";
  2612. },
  2613. /** 修改按钮操作 */
  2614. handleUpdate(row, status) {
  2615. this.browseStatus = status;
  2616. console.log(this.dataList)
  2617. this.reset();
  2618. this.detailsHidden = false;
  2619. const fId = row.fId || this.ids;
  2620. getWarehousebills(fId).then((response) => {
  2621. if (response.data.warehousebills) {
  2622. this.form = response.data.warehousebills;
  2623. this.$set(this.form, "fEta", Date.parse(this.form.fEta));
  2624. this.$set(this.form, "fStltypeid", this.form.fStltypeid + "");
  2625. this.$set(this.form, "fTrademodeid", this.form.fTrademodeid + "");
  2626. }
  2627. if (response.data.corps) {
  2628. this.fMblnoOptions = response.data.corps;
  2629. this.KHblnoOptions = response.data.corps;
  2630. this.fSbuOptions = response.data.corps;
  2631. }
  2632. if (response.data.feesList) {
  2633. this.fWbuOptions = response.data.feesList;
  2634. }
  2635. if (response.data.warehouse) {
  2636. this.warehouseOptions = response.data.warehouse;
  2637. }
  2638. if (response.data.warehouseBillsItem) {
  2639. this.dataList = response.data.warehouseBillsItem;
  2640. for (let list in this.dataList) {
  2641. if (!this.form.fMblno) {
  2642. this.$set(this.form, "fMblno", this.dataList[list].fMblno);
  2643. }
  2644. this.$set(
  2645. this.dataList[list],
  2646. "fGoodsids",
  2647. this.dataList[list].fGoodsid
  2648. );
  2649. this.$set(
  2650. this.dataList[list],
  2651. "fBsdate",
  2652. Date.parse(this.dataList[list].fBsdate)
  2653. );
  2654. if(this.dataList[list].fBillstatus === '6'){
  2655. this.$set(this.dataList[list], "fBillstatus", '已入账');
  2656. } else {
  2657. this.$set(this.dataList[list], "fBillstatus", '未入账');
  2658. }
  2659. }
  2660. }
  2661. if (response.data.enclosures) {
  2662. this.relevantAttachments = response.data.enclosures;
  2663. }
  2664. if (response.data.warehouse) {
  2665. this.warehouseDrList = response.data.warehousebillsfeesDr;
  2666. for (let dr in this.warehouseDrList) {
  2667. this.$set(
  2668. this.warehouseDrList[dr],
  2669. "fFeeUnitid",
  2670. this.warehouseDrList[dr].fFeeUnitid + ""
  2671. );
  2672. }
  2673. }
  2674. if (response.data.warehousebillsfeesCr) {
  2675. this.warehouseCrList = response.data.warehousebillsfeesCr;
  2676. this.warehouseCrList = response.data.warehousebillsfeesCr;
  2677. for (let cr in this.warehouseCrList) {
  2678. this.$set(
  2679. this.warehouseCrList[cr],
  2680. "fFeeUnitid",
  2681. this.warehouseCrList[cr].fFeeUnitid + ""
  2682. );
  2683. }
  2684. }
  2685. this.fWbuOptions = response.data.feesList;
  2686. this.userOptions = response.data.sysUser;
  2687. this.goodsOptions = response.data.goodsList;
  2688. this.goodsOptions = response.data.goodsList;
  2689. this.warehouseOptions = response.data.warehouse;
  2690. this.kqhouseOptions = response.data.warehouseAreas;
  2691. this.$set(
  2692. this.form,
  2693. "fBsdate",
  2694. Date.parse(response.data.warehousebills.fBsdate)
  2695. );
  2696. this.open = true;
  2697. this.title = "修改出库";
  2698. });
  2699. },
  2700. // 数量计算
  2701. changeContractAmt(row) {
  2702. if (row.fUnitprice !== "") {
  2703. if (row.fQty !== "") {
  2704. this.$set(
  2705. row,
  2706. "fAmount",
  2707. Number(row.fUnitprice) * Number(row.fQty)
  2708. ).toFixed(2);
  2709. } else {
  2710. this.$set(row, "fAmount", row.fUnitprice);
  2711. }
  2712. }
  2713. },
  2714. changeEstmateAmt(row) {
  2715. if (row.fUnitprice !== "") {
  2716. if (row.fQty !== "") {
  2717. this.$set(
  2718. row,
  2719. "fAmount",
  2720. Number(row.fUnitprice) * Number(row.fQty)
  2721. ).toFixed(2);
  2722. } else {
  2723. this.$set(row, "fAmount", row.fUnitprice);
  2724. }
  2725. }
  2726. },
  2727. changefBsdate(row) {
  2728. if (this.dataList.length > 0) {
  2729. for (var i = 0; i < this.dataList.length; i++) {
  2730. this.$set(this.dataList[i], "fBsdate", row);
  2731. }
  2732. }
  2733. },
  2734. // 选择按钮
  2735. Collectionoptions(selection) {
  2736. console.log(selection);
  2737. },
  2738. changefCorpid(row) {
  2739. console.log(row);
  2740. this.$set(row, "fSbu", row.fCorpid);
  2741. },
  2742. // 合计
  2743. getSummaries(param) {
  2744. console.log(param);
  2745. const { columns, data } = param;
  2746. const sums = [];
  2747. var values = [];
  2748. columns.forEach((column, index) => {
  2749. if (index === 0) {
  2750. sums[index] = "合计";
  2751. return;
  2752. }
  2753. if (column.property === "fgrossweight") {
  2754. values = data.map((item) => Number(item["fGrossweight"]));
  2755. }
  2756. if (column.property === "fnetweight") {
  2757. values = data.map((item) => Number(item["fNetweight"]));
  2758. }
  2759. if (column.property === "fqty") {
  2760. values = data.map((item) => Number(item["fQty"]));
  2761. }
  2762. if (column.property === "fCntqty") {
  2763. values = data.map((item) => Number(item["fCntqty"]));
  2764. } // const values = data.map(item => Number(item[column.property]))
  2765. if (
  2766. column.property === "fgrossweight" ||
  2767. column.property === "fnetweight" ||
  2768. column.property === "fqty" ||
  2769. column.property === "fCntqty"
  2770. ) {
  2771. sums[index] = values.reduce((prev, curr) => {
  2772. const value = Number(curr);
  2773. if (!isNaN(value)) {
  2774. if (column.property === "fgrossweight") {
  2775. this.form.fGrossweight = prev + curr;
  2776. this.fGrossweight = prev + curr;
  2777. }
  2778. if (column.property === "fnetweight") {
  2779. this.form.fNetweight = prev + curr;
  2780. this.fNetweight = prev + curr;
  2781. }
  2782. if (column.property === "fqty") {
  2783. this.form.fQty = prev + curr;
  2784. this.fQty = prev + curr;
  2785. }
  2786. if (column.property === "fCntqty") {
  2787. this.fCntqty = prev + curr;
  2788. }
  2789. return prev + curr;
  2790. } else {
  2791. return prev;
  2792. }
  2793. }, 0); // sums[index]
  2794. }
  2795. });
  2796. this.sums = sums;
  2797. return sums;
  2798. },
  2799. // 付款合计
  2800. warehouseDrSummaries(param) {
  2801. const { columns, data } = param;
  2802. const sums = [];
  2803. columns.forEach((column, index) => {
  2804. if (index === 0) {
  2805. sums[index] = "合计";
  2806. return;
  2807. }
  2808. const values = data.map((item) => Number(item[column.property]));
  2809. if (
  2810. column.property === "fUnitprice" ||
  2811. column.property === "fAmount" ||
  2812. column.property === "fQty" ||
  2813. column.property === "fQty"
  2814. ) {
  2815. sums[index] = values.reduce((prev, curr) => {
  2816. const value = Number(curr);
  2817. if (!isNaN(value)) {
  2818. return prev + curr;
  2819. } else {
  2820. return prev;
  2821. }
  2822. }, 0); // sums[index]
  2823. }
  2824. });
  2825. return sums;
  2826. },
  2827. // 库存明细多选框结果
  2828. dataListChange(row) {
  2829. console.log(JSON.stringify(row));
  2830. this.dataListSelection = row;
  2831. },
  2832. // 变更计价单位
  2833. changeFeeUnit(row) {
  2834. console.log(this.fCntqty);
  2835. console.log(row);
  2836. if (!row.fFeeUnitid) {
  2837. return false;
  2838. }
  2839. if (row.fFeeUnitid === "0") {
  2840. this.$set(row, "fQty", this.fCntqty);
  2841. } else if (row.fFeeUnitid === "1") {
  2842. this.$set(row, "fQty", this.fGrossweight);
  2843. }
  2844. if (row.fUnitprice) {
  2845. this.$set(
  2846. row,
  2847. "fAmount",
  2848. parseFloat(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
  2849. );
  2850. }
  2851. },
  2852. // 入账
  2853. creditClick() {
  2854. this.$refs["form"].validate((valid) => {
  2855. for (let warehouseCr in this.dataListSelection) {
  2856. if (!this.dataListSelection[warehouseCr].fGrossweight) {
  2857. this.$message.error("请选择入库毛重");
  2858. return false;
  2859. }
  2860. if (!this.dataListSelection[warehouseCr].fNetweight) {
  2861. this.$message.error("请选择入库净重");
  2862. return false;
  2863. }
  2864. if (!this.dataListSelection[warehouseCr].fQty) {
  2865. this.$message.error("入库件数");
  2866. return false;
  2867. }
  2868. if (!this.dataListSelection[warehouseCr].fPackagespecs) {
  2869. this.$message.error("入库件数");
  2870. return false;
  2871. }
  2872. }
  2873. if (valid) {
  2874. let formData = new window.FormData();
  2875. formData.append("warehouseBills", JSON.stringify(this.form));
  2876. formData.append(
  2877. "warehousebillsitems",
  2878. JSON.stringify(this.dataListSelection)
  2879. );
  2880. formData.append("whgenleg", JSON.stringify(this.relevantAttachments));
  2881. addWhgenleg(formData).then((response) => {
  2882. console.log(response);
  2883. this.fid = response.data;
  2884. console.log(response.data)
  2885. this.creditStatus = true;
  2886. this.msgSuccess("入账成功");
  2887. for (let li in this.dataListSelection) {
  2888. for (let i in this.dataList) {
  2889. let fQty =
  2890. this.dataList[i].fQty === this.dataListSelection[li].fQty;
  2891. let fBsdate =
  2892. this.dataList[i].fBsdate ===
  2893. this.dataListSelection[li].fBsdate;
  2894. let fGoodsid =
  2895. this.dataList[i].fGoodsid ===
  2896. this.dataListSelection[li].fGoodsid;
  2897. let fcntrtype =
  2898. this.dataList[i].fcntrtype ===
  2899. this.dataListSelection[li].fcntrtype;
  2900. let fNetweight =
  2901. this.dataList[i].fNetweight ===
  2902. this.dataListSelection[li].fNetweight;
  2903. let fGrossweight =
  2904. this.dataList[i].fGrossweight ===
  2905. this.dataListSelection[li].fGrossweight;
  2906. if (
  2907. fBsdate &&
  2908. fGoodsid &&
  2909. fcntrtype &&
  2910. fGrossweight &&
  2911. fNetweight &&
  2912. fQty
  2913. ) {
  2914. this.$set(this.dataList[i], "fBillstatus", "6");
  2915. }
  2916. }
  2917. }
  2918. });
  2919. }
  2920. });
  2921. console.log("有东西");
  2922. },
  2923. // 付款信息计价单位合计
  2924. getwarehouseCrList(param) {
  2925. console.log(param);
  2926. const { columns, data } = param;
  2927. const sums = [];
  2928. var values = [];
  2929. columns.forEach((column, index) => {
  2930. if (index === 0) {
  2931. sums[index] = "合计";
  2932. return;
  2933. }
  2934. if (index === 3) {
  2935. // values = data.map((item) => Number(item["fFeeUnitid"]));
  2936. sums[index] = this.fFeeUnitids;
  2937. return;
  2938. }
  2939. });
  2940. this.sums = sums;
  2941. return sums;
  2942. },
  2943. // 库存明细多选
  2944. Selectinventory(selection) {
  2945. console.log(selection);
  2946. this.Printinglist = selection;
  2947. this.dataListSelection = selection;
  2948. if (this.Printinglist.length > 0) {
  2949. this.fTruckno = selection[0].fTruckno;
  2950. this.fCntrtype = selection[0].fCntrtype;
  2951. this.fGoodsids = selection[0].fGoodsids;
  2952. var date = new Date(selection[0].fBsdate)
  2953. var Y = date.getFullYear() + '-'
  2954. var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'
  2955. var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' '
  2956. this.fBsdate = Y + M + D;
  2957. }
  2958. },
  2959. // 计价单位选择
  2960. changefFeeunitid(row) {
  2961. console.log(row);
  2962. if (row === "0") {
  2963. console.log(this.fCntqty);
  2964. this.fFeeUnitid = this.fCntqty;
  2965. } else {
  2966. console.log(this.fGrossweight);
  2967. this.fFeeUnitid = this.fGrossweight;
  2968. }
  2969. },
  2970. // 计价单位选择
  2971. changefFeeunitids(row) {
  2972. console.log(row);
  2973. if (row === "0") {
  2974. console.log(this.fFeeUnitid);
  2975. this.fFeeUnitids = this.fCntqty;
  2976. } else {
  2977. this.fFeeUnitids = this.fGrossweight;
  2978. }
  2979. },
  2980. /** 提交按钮 */
  2981. submitForm(status) {
  2982. this.$refs["form"].validate((valid) => {
  2983. console.log(this.dataList);
  2984. if (status === 2) {
  2985. if (valid) {
  2986. this.form.fBillstatus = status;
  2987. this.form.fNetweight = this.fNetweight;
  2988. this.form.fPlangrossweight = this.fPlangrossweight;
  2989. this.form.fPlannetweight = this.fPlannetweight;
  2990. this.form.fPlanvolumn = this.fPlanvolumn;
  2991. this.form.fPlanqty = this.fPlanqty;
  2992. this.form.fGrossweight = this.fGrossweight;
  2993. this.form.fQty = this.fQty;
  2994. if(!this.form.fId) {
  2995. this.form.fId = this.fid;
  2996. }
  2997. let formData = new window.FormData();
  2998. // 附件数据
  2999. formData.append("tWarehouseBills", JSON.stringify(this.form));
  3000. // 库存明细
  3001. formData.append(
  3002. "tWarehousebillsitems",
  3003. JSON.stringify(this.dataList)
  3004. );
  3005. // 附件数据
  3006. formData.append(
  3007. "tWhgenleg",
  3008. JSON.stringify(this.relevantAttachments)
  3009. );
  3010. // 费用明细付款
  3011. formData.append(
  3012. "tWarehousebillsfeesCr",
  3013. JSON.stringify(this.warehouseCrList)
  3014. );
  3015. // 收款
  3016. formData.append(
  3017. "tWarehousebillsfeesDr",
  3018. JSON.stringify(this.warehouseDrList)
  3019. );
  3020. addWarehousebills(formData).then((response) => {
  3021. this.msgSuccess("提交成功");
  3022. this.open = false;
  3023. this.getList();
  3024. });
  3025. }
  3026. } else {
  3027. if (this.dataList.length === 0) {
  3028. this.$message.error("请新增库存明细!");
  3029. return false;
  3030. }
  3031. // if (this.relevantAttachments.length === 0) {
  3032. // this.$message.error("请新增附件上传!");
  3033. // return false;
  3034. // }
  3035. if (this.warehouseDrList.length === 0) {
  3036. this.$message.error("请新增收款信息!");
  3037. return false;
  3038. }
  3039. if (this.warehouseCrList.length === 0) {
  3040. this.$message.error("请新增付款信息!");
  3041. return false;
  3042. }
  3043. for (let list in this.dataList) {
  3044. if (!this.dataList[list].fWarehouselocid) {
  3045. this.$message.error("请输入库区!");
  3046. return false;
  3047. }
  3048. }
  3049. for (let list in this.dataList) {
  3050. console.log(this.dataList[list].fQty);
  3051. if (this.dataList[list].fQty === 0) {
  3052. this.$message.error("请输入出库件数!");
  3053. return false;
  3054. }
  3055. if (this.dataList[list].fNetweight === 0) {
  3056. this.$message.error("请输入出库净重!");
  3057. return false;
  3058. }
  3059. if (this.dataList[list].fGrossweight === 0) {
  3060. this.$message.error("请输入出库毛重!");
  3061. return false;
  3062. }
  3063. }
  3064. // for (let list in this.relevantAttachments) {
  3065. // if (this.relevantAttachments[list].fName === null) {
  3066. // this.$message.error("请输入附件名称!");
  3067. // return false;
  3068. // }
  3069. // }
  3070. for (let list in this.warehouseDrList) {
  3071. if (!this.warehouseDrList[list].fCorpid) {
  3072. this.$message.error("请选择客户名称");
  3073. return false;
  3074. }
  3075. }
  3076. for (let list in this.warehouseCrList) {
  3077. if (!this.warehouseCrList[list].fCorpid) {
  3078. this.$message.error("请选择客户名称");
  3079. return false;
  3080. }
  3081. }
  3082. if (valid) {
  3083. this.form.fBillstatus = status;
  3084. this.form.fNetweight = this.fNetweight;
  3085. this.form.fPlangrossweight = this.fPlangrossweight;
  3086. this.form.fPlannetweight = this.fPlannetweight;
  3087. this.form.fPlanvolumn = this.fPlanvolumn;
  3088. this.form.fPlanqty = this.fPlanqty;
  3089. this.form.fGrossweight = this.fGrossweight;
  3090. this.form.fQty = this.fQty;
  3091. if(!this.form.fId) {
  3092. this.form.fId = this.fid;
  3093. }
  3094. let formData = new window.FormData();
  3095. // 附件数据
  3096. formData.append("tWarehouseBills", JSON.stringify(this.form));
  3097. // 附件数据
  3098. formData.append(
  3099. "tWhgenleg",
  3100. JSON.stringify(this.relevantAttachments)
  3101. );
  3102. // // 费用明细付款
  3103. formData.append(
  3104. "tWarehousebillsfeesCr",
  3105. JSON.stringify(this.warehouseCrList)
  3106. );
  3107. // // 收款
  3108. formData.append(
  3109. "tWarehousebillsfeesDr",
  3110. JSON.stringify(this.warehouseDrList)
  3111. );
  3112. // // 库存明细
  3113. formData.append(
  3114. "tWarehousebillsitems",
  3115. JSON.stringify(this.dataList)
  3116. );
  3117. addWarehousebills(formData).then((response) => {
  3118. this.msgSuccess("新增成功");
  3119. this.open = false;
  3120. this.getList();
  3121. });
  3122. }
  3123. }
  3124. });
  3125. },
  3126. /** 删除按钮操作 */
  3127. handleDelete(row) {
  3128. const fIds = row.fId || this.ids;
  3129. this.$confirm(
  3130. '是否确认删除仓库主(出入库)编号为"' + fIds + '"的数据项?',
  3131. "警告",
  3132. {
  3133. confirmButtonText: "确定",
  3134. cancelButtonText: "取消",
  3135. type: "warning",
  3136. }
  3137. )
  3138. .then(function () {
  3139. return delWarehousebills(fIds);
  3140. })
  3141. .then(() => {
  3142. this.getList();
  3143. this.msgSuccess("删除成功");
  3144. });
  3145. },
  3146. /** 导出按钮操作 */
  3147. handleExport() {
  3148. const queryParams = this.queryParams;
  3149. this.$confirm("是否确认导出所有仓库主(出入库)数据项?", "警告", {
  3150. confirmButtonText: "确定",
  3151. cancelButtonText: "取消",
  3152. type: "warning",
  3153. })
  3154. .then(function () {
  3155. return exportWarehousebills(queryParams);
  3156. })
  3157. .then((response) => {
  3158. this.download(response.msg);
  3159. });
  3160. },
  3161. // 出库件数的计算
  3162. qtyChange(row) {
  3163. if (!row.fQty || row.fQty === '') {
  3164. this.$set(row, 'fNetweight', 0)
  3165. this.$set(row, 'fGrossweight', 0)
  3166. return false
  3167. }
  3168. // 净重 fNetweightblc
  3169. // 毛重 fGrossweightblc
  3170. let netweight = parseFloat(Number(row.fNetweightblc) / Number(row.fQtyblc)).toFixed(6)
  3171. let grossweigh = parseFloat(Number(row.fGrossweightblc) / Number(row.fQtyblc)).toFixed(6)
  3172. this.$set(row, 'fNetweight', parseFloat(Number(netweight) * Number(row.fQty)).toFixed(6))
  3173. this.$set(row, 'fGrossweight', parseFloat(Number(grossweigh) * Number(row.fQty)).toFixed(6))
  3174. },
  3175. deleteRow(index, rows) {
  3176. rows.splice(index, 1);
  3177. },
  3178. /* 远程模糊查询用户 */
  3179. corpsRemoteMethod(name) {
  3180. if (name == null || name === "") {
  3181. return false;
  3182. }
  3183. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  3184. listCorps(queryParams).then((response) => {
  3185. this.fMblnoOptions = response.rows;
  3186. this.KHblnoOptions = response.rows;
  3187. });
  3188. },
  3189. /* 远程模糊查询商品 */
  3190. goodsRemoteMethod(name) {
  3191. if (name == null || name === "") {
  3192. return false;
  3193. }
  3194. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  3195. listGoods(queryParams).then((response) => {
  3196. this.goodsOptions = response.rows;
  3197. });
  3198. },
  3199. // 远程模糊查询费用名称
  3200. fWRemoteMethod(name) {
  3201. if (name == null || name === "") {
  3202. return false;
  3203. }
  3204. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  3205. listFees(queryParams).then((response) => {
  3206. this.fWbuOptions = response.rows;
  3207. });
  3208. },
  3209. /* 远程模糊查询经营单位 */
  3210. fSbuRemoteMethod(name) {
  3211. if (name == null || name === "") {
  3212. return false;
  3213. }
  3214. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  3215. listCorps(queryParams).then((response) => {
  3216. this.fSbuOptions = response.rows;
  3217. });
  3218. },
  3219. /* 远程模糊查询仓库 */
  3220. warehouseRemoteMethod(name) {
  3221. if (name == null || name === "") {
  3222. return false;
  3223. }
  3224. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  3225. listWarehouse(queryParams).then((response) => {
  3226. this.warehouseOptions = response.rows;
  3227. });
  3228. },
  3229. /* 远程模糊查询库区 */
  3230. kqhouseRemoteMethod(name) {
  3231. if (name == null || name === "") {
  3232. return false;
  3233. }
  3234. if (!this.form.fWarehouseid) {
  3235. this.$message.error("请输入仓库!");
  3236. return false;
  3237. }
  3238. let queryParams = {
  3239. pageNum: 1,
  3240. pageSize: 10,
  3241. fWarehouseid: this.form.fWarehouseid,
  3242. fName: name,
  3243. };
  3244. listArea(queryParams).then((response) => {
  3245. console.log(response);
  3246. this.kqhouseOptions = response.rows;
  3247. });
  3248. },
  3249. /* 远程模糊查询质押银行 */
  3250. corpsRemoteMethodd(name) {
  3251. if (name == null || name === "") {
  3252. return false;
  3253. }
  3254. let queryParams = { pageNum: 1, pageSize: 10, fName: name, type: 5 };
  3255. listCorps(queryParams).then((response) => {
  3256. this.Pledgebank = response.rows;
  3257. });
  3258. },
  3259. /* 远程模糊查询操作用户 */
  3260. userRemoteMethod(name) {
  3261. if (name == null || name === "") {
  3262. return false;
  3263. }
  3264. let queryParams = { pageNum: 1, pageSize: 10, userName: name };
  3265. listUser(queryParams).then((response) => {
  3266. this.userOptions = response.rows;
  3267. });
  3268. },
  3269. },
  3270. };
  3271. </script>
  3272. <style lang="scss">
  3273. .juzhong > th {
  3274. text-align: center;
  3275. }
  3276. .biaoge > tr > td {
  3277. height: 30px;
  3278. text-align: center;
  3279. border-right: 1px solid #dfe6ec !important;
  3280. order-bottom: 1px solid #dfe6ec !important;
  3281. border-bottom: 1px solid #dfe6ec !important;
  3282. }
  3283. .el-table thead th {
  3284. background: #1890ff;
  3285. color: #fff;
  3286. }
  3287. .upload-demo {
  3288. margin-left: 50px;
  3289. }
  3290. .el-form-item {
  3291. margin-bottom: 5px!important;
  3292. }
  3293. .el-form-item__label{
  3294. font-size: 12px!important;
  3295. }
  3296. </style>