warehouseManagementRecord.vue 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458
  1. <template>
  2. <div class="container">
  3. <el-row>
  4. <el-col :span="18">
  5. <h2 class="bg-left title">流转记录</h2>
  6. </el-col>
  7. <el-col :span="6" class="bg-right">
  8. <el-button class="bg-bottom" type="primary" size="small" @click="iossrecord()" v-show="this.warehouseType != 2">
  9. 盘损记录</el-button>
  10. <el-button class="bg-bottom" type="primary" size="small" @click="returnWarehouse()">返回</el-button>
  11. </el-col>
  12. </el-row>
  13. <div class="center">
  14. <h2 style="padding-left: 20px">
  15. <img style="position: relative; top: 2px" width="19" height="19" src="../../../public/img/cangku.png" alt="" />
  16. <span style="color: #323233">{{ deptBudgetList.warehouseName }}</span>
  17. <div class="ware" v-show="warehouseType==1">
  18. <!-- {{binNumber}}仓位(容量{{capacity}}吨) -->
  19. <span class="binNo">仓位号:</span>
  20. <el-select filterable clearable v-model="binNumber" placeholder="请选择仓位" class="typeselect"
  21. @change="binNumberChange">
  22. <el-option key="" label="全部仓位" value="全部仓位" />
  23. <el-option v-for="item in binnumberList" :key="item.binNumber" :label="item.binNumber"
  24. :value="item.binNumber" />
  25. </el-select>
  26. </div>
  27. <span v-show="warehouseType==2">(临)</span>
  28. </h2>
  29. <p v-if='remark' style="
  30. margin-left: 42px;
  31. background: #f6f7fc;
  32. color: #afb5cb;
  33. width: 245px;
  34. ">
  35. 备注:{{remark }}
  36. </p>
  37. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  38. <div class="record" :class="{ active: status == 1 }" @click="record('', 1)">
  39. <img v-if="status != 1" width="14" height="14" src="../../../public/img/radio.png" alt="" />
  40. <img v-if="status == 1" width="18" height="18" src="../../../public/img/radio-check.png" alt="" />全部记录
  41. </div>
  42. <div class="record" :class="{ active: status == 2 }" @click="record(2, 2)">
  43. <img v-if="status != 2" width="14" height="14" src="../../../public/img/radio.png" alt="" />
  44. <img v-if="status == 2" width="18" height="18" src="../../../public/img/radio-check.png" alt="" />出库记录
  45. </div>
  46. <div class="record" :class="{ active: status == 3 }" @click="record(3, 3)">
  47. <img v-if="status != 3" width="14" height="14" src="../../../public/img/radio.png" alt="" />
  48. <img v-if="status == 3" width="18" height="18" src="../../../public/img/radio-check.png" alt="" />入库记录
  49. </div>
  50. <el-date-picker style="margin: 0 10px 0 0" class="dataClass" value-format='yyyy-MM-dd' v-model="value2"
  51. @change='datechange' type="daterange" align="right" range-separator="至" start-placeholder="出入库日期起"
  52. end-placeholder="出入库日期止">
  53. </el-date-picker>
  54. <ws-input v-model="searchKeyWord" placeholder="可按合同编号、车牌号查找" clearable maxlength="250" type="input"
  55. class="input">
  56. </ws-input>
  57. <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
  58. <ws-button class="find" type="primary" @click="find()">
  59. <img width="16" height="16" style="vertical-align: text-top; position: relative; top: 0px"
  60. src="../../../public/img/sousuo.png" alt />
  61. </ws-button>
  62. <el-button type="primary" @click="batchPrint">批量打印</el-button>
  63. <el-table show-summary :summary-method="getSummaries" ref="tableData" :data="warehouseList.records" height="570"
  64. v-show="this.warehouseType== '1'" @selection-change="handleSelectionChange">
  65. <el-table-column type="selection" width="55" :selectable="selectInit"></el-table-column>
  66. <el-table-column type="expand">
  67. <template #default="props">
  68. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  69. <ws-info-table>
  70. <ws-form-item label="水分(%)" span="1" prop="waterContent">
  71. {{ props.row.waterContent }}
  72. </ws-form-item>
  73. <ws-form-item label="容重(克/升)" span="1" prop="bulkDensity">
  74. {{ props.row.bulkDensity }}
  75. </ws-form-item>
  76. <ws-form-item label="热损伤(%)" span="1" prop="jiaorenli">
  77. {{ props.row.jiaorenli }}
  78. </ws-form-item>
  79. <ws-form-item label="杂质(%)" span="1" prop="impurity">
  80. {{ props.row.impurity }}
  81. </ws-form-item>
  82. <ws-form-item label="霉变粒(%)" span="1" prop="mildewGrain">
  83. {{ props.row.mildewGrain }}
  84. </ws-form-item>
  85. <ws-form-item label="不完善粒(%)" span="1" prop="imperfectGrain">
  86. {{ props.row.imperfectGrain }}
  87. </ws-form-item>
  88. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  89. {{ props.row.qualityInspector }}
  90. </ws-form-item>
  91. <ws-form-item label="扣重比" span="1" prop="buckleWeightRatio">
  92. {{ props.row.buckleWeightRatio }}
  93. </ws-form-item>
  94. <ws-form-item label="干粮水分(%)" span="1" prop="solidGrainWater">
  95. {{ props.row.solidGrainWater }}
  96. </ws-form-item>
  97. </ws-info-table>
  98. </ws-form>
  99. </template>
  100. </el-table-column>
  101. <el-table-column type="index" label="序号">
  102. <template scope="scope">
  103. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  104. <span v-else>{{ scope.$index + 1 }}</span>
  105. </template>
  106. </el-table-column>
  107. <el-table-column prop="binNumber" label="仓位号" width="60px"> </el-table-column>
  108. <el-table-column prop="goodsName" label="货名" width="100"> </el-table-column>
  109. <!-- <el-table-column prop="type" label="类型" width="60px"> </el-table-column> -->
  110. <el-table-column prop="grossWeight" label="毛重(吨)">
  111. </el-table-column>
  112. <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
  113. <el-table-column prop="deductionWeight" label="扣重(吨)"> </el-table-column>
  114. <el-table-column prop="netWeight" label="净重(吨)"></el-table-column>
  115. <el-table-column prop="pureWeight" label="纯重(吨)"> </el-table-column>
  116. <el-table-column prop="deductionAmount" label="扣款(元/吨)" width="100"></el-table-column>
  117. <el-table-column prop="grade" label="品级" width="80px">
  118. <template slot-scope="scope">
  119. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  120. scope.row.grade
  121. }}</span>
  122. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  123. scope.row.grade
  124. }}</span>
  125. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  126. scope.row.grade
  127. }}</span>
  128. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  129. scope.row.grade
  130. }}</span>
  131. </template>
  132. </el-table-column>
  133. <el-table-column prop="inOutDate" label="出入库日期" width="100px">
  134. <template slot-scope="scope">
  135. <span style="color: #8890b1">{{ scope.row.inOutDate }}</span>
  136. </template>
  137. </el-table-column>
  138. <el-table-column prop="inOutType" label="类型"> </el-table-column>
  139. <el-table-column prop="contractNo" label="合同编号" width="180">
  140. <template slot-scope="scope">
  141. <span style="color: #8890b1">{{ scope.row.contractNo }}</span>
  142. </template>
  143. </el-table-column>
  144. <el-table-column prop="carNo" label="车牌号">
  145. <template slot-scope="scope">
  146. <span style="color: #8890b1">{{ scope.row.carNo }}</span>
  147. </template>
  148. </el-table-column>
  149. <el-table-column prop="boxNo" label="箱号-1">
  150. </el-table-column>
  151. <el-table-column prop="boxNoOther" label="箱号-2">
  152. </el-table-column>
  153. <el-table-column prop="titleNo" label="封号-1">
  154. </el-table-column>
  155. <el-table-column prop="titleNoOther" label="封号-2">
  156. </el-table-column>
  157. <el-table-column prop="wingNumber" label="车厢号-1">
  158. </el-table-column>
  159. <el-table-column prop="wingNumberOther" label="车厢号-2">
  160. </el-table-column>
  161. <el-table-column prop="shipNumber" label="航次">
  162. </el-table-column>
  163. <el-table-column prop="shipName" label="船名">
  164. </el-table-column>
  165. <el-table-column prop="agent" label="经办人">
  166. </el-table-column>
  167. <el-table-column prop="backOffice" label="操作人" width="120px">
  168. </el-table-column>
  169. <el-table-column prop="addressUrl" label="操作" width="200">
  170. <template slot-scope="scope">
  171. <!-- <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
  172. src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" /> -->
  173. <el-button @click="print(scope.row)"
  174. v-if="scope.row.inOutType != '收购入库'&&scope.row.inOutType != '期初'&& scope.row.inOutType != '折转入库'&& scope.row.inOutType != '折转出库'"
  175. v-hasPermission="`acquisitionManagement.acquisitionWeight.print`">打印</el-button>
  176. <el-button @click="back(scope.row)" v-hasPermission="`acquisitionManagement.acquisitionWeight.tui`">退回
  177. </el-button>
  178. </template>
  179. </el-table-column>
  180. <el-table-column prop="createDate" label="录入时间">
  181. <template slot-scope="scope">
  182. <span style="color: #8890b1">{{ scope.row.createDate }}</span>
  183. </template>
  184. </el-table-column>
  185. </el-table>
  186. <el-table show-summary :summary-method="getSummaries" :data="warehouseList.records" height="560"
  187. v-show="this.warehouseType== '2'">
  188. <el-table-column type="expand">
  189. <template #default="props">
  190. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  191. <ws-info-table>
  192. <ws-form-item label="水分(%)" span="1" prop="waterContent">
  193. {{ props.row.waterContent }}
  194. </ws-form-item>
  195. <ws-form-item label="容重(g/l)" span="1" prop="bulkDensity">
  196. {{ props.row.bulkDensity }}
  197. </ws-form-item>
  198. <ws-form-item label="热损伤(%)" span="1" prop="jiaorenli">
  199. {{ props.row.jiaorenli }}
  200. </ws-form-item>
  201. <ws-form-item label="杂质(%)" span="1" prop="impurity">
  202. {{ props.row.impurity }}
  203. </ws-form-item>
  204. <ws-form-item label="霉变粒(%)" span="1" prop="mildewGrain">
  205. {{ props.row.mildewGrain }}
  206. </ws-form-item>
  207. <ws-form-item label="不完善粒(%)" span="1" prop="imperfectGrain">
  208. {{ props.row.imperfectGrain }}
  209. </ws-form-item>
  210. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  211. {{ props.row.qualityInspector }}
  212. </ws-form-item>
  213. </ws-info-table>
  214. </ws-form>
  215. </template>
  216. </el-table-column>
  217. <el-table-column type="index" label="序号">
  218. <template scope="scope">
  219. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  220. <span v-else>{{ scope.$index + 1 }}</span>
  221. </template>
  222. </el-table-column>
  223. <el-table-column prop="goodsName" label="货名"> </el-table-column>
  224. <el-table-column prop="grossWeight" label="毛重(吨)"></el-table-column>
  225. <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
  226. <el-table-column prop="netWeight" label="净重(吨)"></el-table-column>
  227. <el-table-column prop="grade" label="品级">
  228. <template slot-scope="scope">
  229. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  230. scope.row.grade
  231. }}</span>
  232. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  233. scope.row.grade
  234. }}</span>
  235. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  236. scope.row.grade
  237. }}</span>
  238. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  239. scope.row.grade
  240. }}</span>
  241. </template>
  242. </el-table-column>
  243. <el-table-column prop="inOutDate" label="出入库日期">
  244. <template slot-scope="scope">
  245. <span style="color: #8890b1">{{ scope.row.inOutDate }}</span>
  246. </template>
  247. </el-table-column>
  248. <el-table-column prop="inOutType" label="类型"> </el-table-column>
  249. <el-table-column prop="contractNo" label="合同编号">
  250. <template slot-scope="scope">
  251. <span style="color: #8890b1">{{ scope.row.contractNo }}</span>
  252. </template>
  253. </el-table-column>
  254. <el-table-column prop="carNo" label="车牌号">
  255. <template slot-scope="scope">
  256. <span style="color: #8890b1">{{ scope.row.carNo }}</span>
  257. </template>
  258. </el-table-column>
  259. <el-table-column prop="agent" label="经办人">
  260. </el-table-column>
  261. <el-table-column prop="backOffice" label="操作人"> </el-table-column>
  262. <el-table-column prop="addressUrl" label="附件">
  263. <template slot-scope="scope">
  264. <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
  265. src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
  266. <!-- <span v-if="scope.row.addressUrlArray.length > 0">{{
  267. scope.row.addressUrlArray.length
  268. }}</span> -->
  269. <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
  270. </template>
  271. </el-table-column>
  272. <el-table-column prop="createDate" label="录入时间">
  273. <template slot-scope="scope">
  274. <span style="color: #8890b1">{{ scope.row.createDate }}</span>
  275. </template>
  276. </el-table-column>
  277. </el-table>
  278. <div style="text-align: center; padding: 10px">
  279. <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
  280. :current-page="currentPage" :page-sizes="[10, 30, 50, 100,500,1000,9999]"
  281. layout="total, sizes, prev, pager, next, jumper" :total="deptBudgetTotal"></el-pagination>
  282. </div>
  283. </ws-form>
  284. </div>
  285. <div class="mask" v-show="isShowPrintType"></div>
  286. <div class="print-type" v-show="isShowPrintType">
  287. <div class="print-type-content">
  288. <div class="shdw-style" v-if="checked||(!ddchecked&&!checked)">
  289. <div>收货单位:</div>
  290. <!-- <div>{{companyName}}</div> -->
  291. <el-select v-model="companyName" placeholder="请选择" style="width: 75%;">
  292. <el-option v-for="item in companyNameOptions" :key="item.value" :label="item.label" :value="item.value">
  293. </el-option>
  294. </el-select>
  295. </div>
  296. <div v-if="deptBudgetList.warehouseName=='鲅鱼圈金信库'||deptBudgetList.warehouseName=='白城内陆港'">
  297. <div class="print-type-ew">
  298. <el-checkbox v-model="checked" @change="changeEw">打印额外票据</el-checkbox>
  299. <el-checkbox v-model="ddchecked" @change="changeEwDD">单独打印额外票据</el-checkbox>
  300. </div>
  301. <div class="ew-print" v-if="printSeparately">
  302. <div class="row">
  303. <div>额外客户姓名:</div>
  304. <!-- <div>{{companyName}}</div> -->
  305. <el-select v-model="ewCustomer" placeholder="请选择" style="width: 75%;">
  306. <el-option v-for="item in ewCustomerOptions" :key="item.value" :label="item.label" :value="item.value">
  307. </el-option>
  308. </el-select>
  309. </div>
  310. <div class="row">
  311. <div>额外收货单位:</div>
  312. <!-- <div>{{companyNameEW}}</div> -->
  313. <el-select v-model="companyNameEW" placeholder="请选择" style="width: 75%;">
  314. <el-option v-for="item in companyNameEWOptions" :key="item.value" :label="item.label"
  315. :value="item.value">
  316. </el-option>
  317. </el-select>
  318. </div>
  319. </div>
  320. </div>
  321. </div>
  322. <div class="bottom-btn">
  323. <el-button @click="typePrintClick">确定</el-button>
  324. <el-button @click="typePrintCannelClick">取消</el-button>
  325. </div>
  326. </div>
  327. <WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
  328. @on-cancel="handleClose">
  329. <p>查看附件</p>
  330. <el-image style="width: 100px; height: 100px" :src="appendixIdss" :preview-src-list="srcList">
  331. </el-image>
  332. </WinseaContentModal>
  333. </div>
  334. </template>
  335. <script>
  336. import {
  337. addselectinfoList,
  338. recordss,
  339. getPrintInfo,
  340. getbinnumber,
  341. sendback
  342. } from '@/model/warehouse/index'
  343. import {
  344. downloadFile
  345. } from '@/utils/batchDown'
  346. import Pagination from '@/components/Pagination'
  347. import WsUpload from '@/components/WsUpload'
  348. import {
  349. dayjs,
  350. fmoney,
  351. EventBus
  352. } from 'base-core-lib'
  353. export default {
  354. name: 'viewSpareMoney',
  355. components: {
  356. WsUpload,
  357. Pagination,
  358. },
  359. watch: {
  360. vesselId(val) {
  361. this.getList()
  362. },
  363. isShow(val) {
  364. this.showType = val
  365. },
  366. },
  367. data() {
  368. return {
  369. printSeparately: false,
  370. ewCustomerOptions: [{
  371. value: '黑龙江利润元粮食贸易有限公司',
  372. label: '黑龙江利润元粮食贸易有限公司'
  373. }, {
  374. value: '黑龙江众利合粮食贸易有限公司',
  375. label: '黑龙江众利合粮食贸易有限公司'
  376. }, {
  377. value: '黑龙江鑫满仓粮食贸易有限公司',
  378. label: '黑龙江鑫满仓粮食贸易有限公司'
  379. }, {
  380. value: '黑龙江中天昊元贸易有限公司',
  381. label: '黑龙江中天昊元贸易有限公司'
  382. }],
  383. companyNameOptions: [{
  384. value: '黑龙江利润元粮食贸易有限公司',
  385. label: '黑龙江利润元粮食贸易有限公司'
  386. }, {
  387. value: '黑龙江众利合粮食贸易有限公司',
  388. label: '黑龙江众利合粮食贸易有限公司'
  389. }, {
  390. value: '黑龙江鑫满仓粮食贸易有限公司',
  391. label: '黑龙江鑫满仓粮食贸易有限公司'
  392. }, {
  393. value: '黑龙江中天昊元贸易有限公司',
  394. label: '黑龙江中天昊元贸易有限公司'
  395. }, ],
  396. companyNameEWOptions: [{
  397. value: '厦门建发物产有限公司',
  398. label: '厦门建发物产有限公司'
  399. }],
  400. companyName: '黑龙江利润元粮食贸易有限公司',
  401. companyNameEW: "厦门建发物产有限公司",
  402. ewCustomer: "黑龙江利润元粮食贸易有限公司",
  403. ddchecked: false,
  404. checked: false,
  405. isShowPrintType: false,
  406. //弹出框
  407. dialogViewSpareMoney: false,
  408. binnumberList: [],
  409. // 船舶类型
  410. monetaryKey: null,
  411. // 是否显示
  412. showType: true,
  413. // 年
  414. year: '',
  415. srcList: [],
  416. deptBudgetTotal: 0,
  417. currentPage: 1,
  418. pageSize: 10,
  419. capacity: '',
  420. searchKeyWord: '',
  421. contractType: 2,
  422. startDate: null,
  423. endDate: null,
  424. remark: '',
  425. binNumber: '',
  426. status: 1,
  427. value2: [],
  428. appendixIdss: '',
  429. // 提交类型
  430. submitType: true,
  431. selectpackingMethod: {},
  432. size: 10,
  433. warehouseType: '1',
  434. compId: localStorage.getItem('ws-pf_compId'),
  435. deptCircularPage: {},
  436. pcFlag: 1,
  437. date: {
  438. year: dayjs().format('YYYY'),
  439. month: dayjs().format('MM'),
  440. },
  441. warehouseList: [],
  442. deptBudgetList: {},
  443. historyList: [],
  444. searchType: '',
  445. allurl: '../../../public/img/radio.png',
  446. pickerBeginDateBefore: {
  447. disabledDate: (time) => {
  448. return time.getTime() > Date.now()
  449. },
  450. },
  451. accessoryTFs: false,
  452. modification: [],
  453. printList: [], //批量打印数据
  454. onePrint: false, //单个打印开关
  455. idPrint:"",
  456. }
  457. },
  458. activated() {
  459. this.deptBudgetList.baseId = this.$route.query.baseId
  460. this.deptBudgetList.positionId = this.$route.query.positionId
  461. this.deptBudgetList.warehouseName = this.$route.query.warehouseName
  462. this.remark = this.$route.query.remark
  463. this.binNumber = this.$route.query.binNumber
  464. this.capacity = this.$route.query.capacity
  465. this.warehouseType = this.$route.query.warehouseType
  466. this.getList()
  467. this.getPassYearFormatDate()
  468. this.showType = this.isShow
  469. },
  470. updated() {
  471. this.$nextTick(() => {
  472. this.$refs['tableData'].doLayout();
  473. })
  474. },
  475. methods: {
  476. changeEwDD(e) {
  477. this.checked = false
  478. if (e) {
  479. this.printSeparately = true
  480. } else {
  481. this.printSeparately = false
  482. }
  483. },
  484. changeEw(e) {
  485. debugger
  486. this.ddchecked = false
  487. if (e) {
  488. this.printSeparately = true
  489. } else {
  490. this.printSeparately = false
  491. }
  492. },
  493. makeEWjjSelectPrintList() {
  494. let _printList = JSON.parse(JSON.stringify(this.printList));
  495. for (let i = 0; i < _printList.length; i++) {
  496. let _data = _printList[i];
  497. _data.companyName = this.companyNameEW;
  498. _data.customer = this.ewCustomer
  499. }
  500. localStorage.setItem('ewWarehouseBatchPrint', JSON.stringify(_printList))
  501. },
  502. async typePrintClick() {
  503. debugger
  504. this.printList = []
  505. if (this.onePrint) {
  506. sessionStorage.removeItem('ck_bd_printData')
  507. getPrintInfo({
  508. id: this.idPrint
  509. })
  510. .toPromise()
  511. .then((response) => {
  512. if (response) {
  513. if (this.checked || this.ddchecked) {
  514. var arrayPrint = response
  515. // for (let i = 0; i < arrayPrint.length; i++) {
  516. // let _data = arrayPrint[i];
  517. arrayPrint.companyName = this.companyNameEW;
  518. arrayPrint.customer = this.ewCustomer
  519. // }
  520. localStorage.setItem('ck_bd_printData', JSON.stringify(arrayPrint))
  521. window.open('../../../../static/weightCheckInOut.html?type=2')
  522. return
  523. }
  524. localStorage.setItem('ck_bd_printData', JSON.stringify(response))
  525. window.open('../../../../static/weightCheckInOut.html?type=2')
  526. }
  527. })
  528. } else {
  529. var count = 0
  530. for (var i = 0; i < this.modification.length; i++) {
  531. await getPrintInfo({
  532. id: this.modification[i].id
  533. })
  534. .toPromise()
  535. .then((response) => {
  536. count++
  537. response.companyName = this.companyName
  538. this.printList.push(response)
  539. if (count == this.modification.length) {
  540. if (this.checked || this.ddchecked) {
  541. this.makeEWjjSelectPrintList()
  542. // this.selectEW = true;
  543. }
  544. localStorage.setItem("warehouseBatchPrint", JSON.stringify(this.printList))
  545. window.open('../../../../static/warehouseBatchPrint.html?selectEW=' + this.checked +
  546. '&selectEWDD=' + this.ddchecked)
  547. }
  548. })
  549. }
  550. }
  551. // if (this.isExcelPrint) {
  552. // this.printBig(2, this.radio)
  553. // this.isExcelPrint = false
  554. // } else {
  555. // this.jjSelectPrintList = []
  556. // let index1 = 0;
  557. // for (let i = 0; i < this.modification.length; i++) {
  558. // await getPrint({
  559. // id: this.modification[i].id
  560. // })
  561. // .toPromise()
  562. // .then((response) => {
  563. // index1++;
  564. // response.compName = this.companyName
  565. // if (response.compName == '黑龙江秋收有限公司') {
  566. // response.compName = '黑龙江中天昊元贸易有限公司'
  567. // }
  568. // this.jjSelectPrintList.push(response)
  569. // if (index1 == this.modification.length) {
  570. // this.printBig(1, this.radio)
  571. // }
  572. // })
  573. // .catch((response) => {})
  574. // }
  575. // }
  576. },
  577. typePrintCannelClick() {
  578. this.onePrint = false
  579. this.isShowPrintType = false
  580. },
  581. back(row) {
  582. this.$confirm(`确定退回该操作数据?`, {
  583. cancelButtonText: '取消',
  584. confirmButtonText: '确定',
  585. type: 'warning',
  586. })
  587. .then(() => {
  588. sendback({
  589. id: row.id
  590. }).toPromise()
  591. .then((response) => {
  592. this.$notify.success({
  593. title: '成功',
  594. message: '退回成功',
  595. })
  596. this.getList()
  597. })
  598. })
  599. .catch(() => {
  600. return false
  601. })
  602. },
  603. batchPrint() {
  604. debugger
  605. this.printList = []
  606. if (this.modification.length == 0) {
  607. this.$message.error("请勾选要打印的条目!")
  608. } else {
  609. this.isShowPrintType = true
  610. // localStorage.removeItem("warehouseBatchPrint")
  611. // var count = 0
  612. // for (var i = 0; i < this.modification.length; i++) {
  613. // getPrintInfo({
  614. // id: this.modification[i].id
  615. // })
  616. // .toPromise()
  617. // .then((response) => {
  618. // count++
  619. // this.printList.push(response)
  620. // if (count == this.modification.length) {
  621. // localStorage.setItem("warehouseBatchPrint", JSON.stringify(this.printList))
  622. // window.open('../../../../static/warehouseBatchPrint.html')
  623. // }
  624. // })
  625. // }
  626. }
  627. },
  628. handleSelectionChange(val) {
  629. this.modification = val
  630. console.log("sfasa", this.modification)
  631. },
  632. selectInit(row) {
  633. //在这里一定要记得类型匹配的上。
  634. if (row.inOutType != '收购入库' && row.inOutType != '期初') {
  635. return true
  636. } else {
  637. return false
  638. }
  639. },
  640. binNumberChange(e) {
  641. if (e == '全部仓位') {
  642. this.deptBudgetList.positionId = ''
  643. } else {
  644. for (let i = 0; i < this.binnumberList.length; i++) {
  645. if (this.binnumberList[i].binNumber == e) {
  646. this.deptBudgetList.positionId = this.binnumberList[i].id
  647. }
  648. }
  649. }
  650. this.getList()
  651. },
  652. //合计
  653. getSummaries(param) {
  654. const {
  655. columns,
  656. data
  657. } = param
  658. const sums = []
  659. columns.forEach((column, index) => {
  660. if (index === 0) {
  661. sums[index] = '合计'
  662. } else if (
  663. index === 4 ||
  664. index === 5 ||
  665. index === 6 ||
  666. index === 7 ||
  667. index === 8 ||
  668. index === 9
  669. ) {
  670. const values = data.map((item) => Number(item[column.property]))
  671. if (!values.every((value) => isNaN(value))) {
  672. sums[index] = values.reduce((prev, curr) => {
  673. const value = Number(curr)
  674. if (!isNaN(value)) {
  675. return prev + curr
  676. } else {
  677. return prev
  678. }
  679. }, 0)
  680. sums[index] = sums[index].toFixed(3)
  681. }
  682. } else {
  683. sums[index] = '--'
  684. }
  685. })
  686. return sums
  687. },
  688. getPassYearFormatDate() {
  689. var nowDate = new Date()
  690. nowDate.setTime(nowDate.getTime() - 24 * 60 * 60 * 1000 * 30)
  691. var seperator1 = '-'
  692. var year = nowDate.getFullYear()
  693. var month = nowDate.getMonth() + 1
  694. var strDate = nowDate.getDate()
  695. if (month >= 1 && month <= 9) {
  696. month = '0' + month
  697. }
  698. if (strDate >= 0 && strDate <= 9) {
  699. strDate = '0' + strDate
  700. }
  701. var formatDate = year + seperator1 + month + seperator1 + strDate
  702. this.getNowFormatDate(formatDate)
  703. },
  704. /* 获取现在时间,并接受过去时间的值 */
  705. getNowFormatDate(formatDate) {
  706. var date = new Date()
  707. date.setTime(date.getTime() + 24 * 60 * 60 * 1000)
  708. var seperator1 = '-'
  709. var year = date.getFullYear()
  710. var month = date.getMonth() + 1
  711. var strDate = date.getDate()
  712. if (month >= 1 && month <= 9) {
  713. month = '0' + month
  714. }
  715. if (strDate >= 0 && strDate <= 9) {
  716. strDate = '0' + strDate
  717. }
  718. var nowData = year + seperator1 + month + seperator1 + strDate
  719. this.value2 = [formatDate, nowData] // 默认赋值一年时间
  720. },
  721. print(row) {
  722. this.onePrint = true
  723. this.isShowPrintType = true
  724. this.idPrint = row.id
  725. },
  726. //返回按钮
  727. returnWarehouse() {
  728. this.$router.push({
  729. path: 'warehouseManagementList'
  730. })
  731. this.searchKeyWord = ''
  732. },
  733. //
  734. iossrecord() {
  735. this.$router.push({
  736. path: 'warehouseManagementIossRecord',
  737. query: {
  738. baseId: this.deptBudgetList.baseId,
  739. positionId: this.deptBudgetList.positionId,
  740. warehouseName: this.deptBudgetList.warehouseName,
  741. binNumber: this.binNumber,
  742. },
  743. })
  744. },
  745. dateFormat(fmt, date) {
  746. let ret
  747. const opt = {
  748. 'Y+': date.getFullYear().toString(), // 年
  749. 'm+': (date.getMonth() + 1).toString(), // 月
  750. 'd+': date.getDate().toString(), // 日
  751. 'H+': date.getHours().toString(), // 时
  752. // "M+": date.getMinutes().toString(), // 分
  753. // "S+": date.getSeconds().toString() // 秒
  754. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  755. }
  756. for (let k in opt) {
  757. ret = new RegExp('(' + k + ')').exec(fmt)
  758. if (ret) {
  759. fmt = fmt.replace(
  760. ret[1],
  761. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  762. )
  763. }
  764. }
  765. return fmt
  766. },
  767. datechange() {
  768. this.getList()
  769. },
  770. find() {
  771. this.getList()
  772. },
  773. handleClose() {
  774. this.accessoryTFs = false
  775. },
  776. handleSizeChange(val) {
  777. console.log(`每页 ${val} 条`)
  778. this.pageSize = val
  779. this.getList()
  780. },
  781. handleCurrentChange(val) {
  782. this.currentPage = val
  783. console.log(`当前页: ${val}`)
  784. this.getList()
  785. },
  786. record(status, status1) {
  787. this.status = status1
  788. this.searchType = status
  789. this.currentPage = 1
  790. this.getList()
  791. },
  792. // 上传附件
  793. uploadSuccess(data, files, url) {
  794. console.log(data, files, url)
  795. // this.deptBudgetList.
  796. // this.formData.append('files', files)
  797. // this.feedbackObj.uploadNameAttachment = data.appendixName
  798. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  799. // // this.newAppendixs = files
  800. // this.onChangeFlag = true
  801. },
  802. getList() {
  803. var startDate = ''
  804. var endDate = ''
  805. if (this.value2) {
  806. startDate = this.value2[0] ? this.value2[0] : ''
  807. endDate = this.value2[1] ? this.value2[1] : ''
  808. }
  809. if (this.warehouseType == 1) {
  810. getbinnumber({
  811. id: this.deptBudgetList.baseId
  812. }).toPromise()
  813. .then((response) => {
  814. this.binnumberList = response.warehousePositionInfoList
  815. })
  816. addselectinfoList({
  817. compId: localStorage.getItem('ws-pf_compId'),
  818. baseId: this.deptBudgetList.baseId,
  819. positionId: this.deptBudgetList.positionId,
  820. warehouseName: this.deptBudgetList.warehouseName,
  821. startDate: startDate,
  822. endDate: endDate,
  823. searchType: this.searchType,
  824. searchKeyWord: this.searchKeyWord,
  825. currentPage: this.currentPage,
  826. pcFlag: this.pcFlag,
  827. pageSize: this.pageSize
  828. })
  829. .toPromise()
  830. .then((response) => {
  831. for (var i = 0; i < response.records.length; i++) {
  832. if (response.records[i].addressUrl != null) {
  833. response.records[i].addressUrlArray = response.records[
  834. i
  835. ].addressUrl.split(',')
  836. } else {
  837. response.records[i].addressUrlArray = []
  838. }
  839. }
  840. this.deptCircularPage.currentPage = response.current
  841. this.deptCircularPage.pageSize = response.size
  842. this.deptBudgetTotal = response.total
  843. this.warehouseList = response
  844. })
  845. } else if (this.warehouseType == 2) {
  846. recordss({
  847. compId: localStorage.getItem('ws-pf_compId'),
  848. baseId: this.deptBudgetList.baseId,
  849. positionId: this.deptBudgetList.positionId,
  850. warehouseName: this.deptBudgetList.warehouseName,
  851. startDate: startDate,
  852. endDate: endDate,
  853. searchType: this.searchType,
  854. searchKeyWord: this.searchKeyWord,
  855. currentPage: this.currentPage,
  856. pageSize: this.pageSize,
  857. })
  858. .toPromise()
  859. .then((response) => {
  860. for (var i = 0; i < response.records.length; i++) {
  861. if (response.records[i].addressUrl != null) {
  862. response.records[i].addressUrlArray = response.records[
  863. i
  864. ].addressUrl.split(',')
  865. } else {
  866. response.records[i].addressUrlArray = []
  867. }
  868. }
  869. this.deptCircularPage.currentPage = response.current
  870. this.deptCircularPage.pageSize = response.size
  871. this.deptBudgetTotal = response.total
  872. this.warehouseList = response
  873. })
  874. }
  875. },
  876. selecttaskType(e) {
  877. for (var i = 0; i < this.taskTypeList.length; i++) {
  878. if (this.taskTypeList[i].value == e) {
  879. this.searchType = this.taskTypeList[i].type
  880. }
  881. }
  882. },
  883. fujian(row) {
  884. if (
  885. row.addressUrl === null ||
  886. row.addressUrl === ''
  887. ) {
  888. EventBus.$emit(
  889. 'warning',
  890. this.$t('system.noticeCircular.NoInformation')
  891. )
  892. } else {
  893. this.accessoryTFs = true
  894. }
  895. this.appendixIdss = row.addressUrl
  896. this.srcList = [row.addressUrl]
  897. },
  898. // 关闭 dialog时 处理文件url 初始化upload组件
  899. handleCloe() {
  900. this.dialogViewSpareMoney = false
  901. },
  902. history(row) {
  903. console.log(row)
  904. billoperatehis({
  905. id: row.id
  906. })
  907. .toPromise()
  908. .then((response) => {
  909. this.historyList = response
  910. })
  911. },
  912. // async exportlist() {
  913. // const { data } = await export1(
  914. // {
  915. // compId: localStorage.getItem('ws-pf_compId'),
  916. // contractType: this.contractType,
  917. // currentPage: this.currentPage,
  918. // pageSize: this.pageSize,
  919. // searchType: this.searchType,
  920. // searchKeyWord: this.searchKeyWord,
  921. // startDate: this.startDate,
  922. // endDate: this.endDate,
  923. // },
  924. // {},
  925. // { responseType: 'blob' }
  926. // ).toPromise()
  927. // downloadFile({
  928. // res: data,
  929. // fileName: `${
  930. // this.date.year + (this.date.month ? `-${this.date.month}` : '')
  931. // }_采购合同`,
  932. // type: 'xls',
  933. // })
  934. // },
  935. // deletecontract(){},
  936. //删除
  937. approve() {},
  938. listQuery() {},
  939. total() {},
  940. clearfiltQuery() {},
  941. selectCrtDuty() {},
  942. },
  943. }
  944. </script>
  945. <style lang="scss" scoped>
  946. /deep/.totalStorage .el-input__inner {
  947. color: #afb5cb;
  948. background: #f5f7fa;
  949. }
  950. .small-title {
  951. position: relative;
  952. padding: 10px;
  953. font-weight: 600;
  954. }
  955. .small-title::before {
  956. position: absolute;
  957. content: '';
  958. display: block;
  959. background: #5473e8;
  960. width: 4px;
  961. height: 14px;
  962. left: 0px;
  963. top: 13px;
  964. }
  965. .position {
  966. position: relative;
  967. }
  968. .add,
  969. .del {
  970. position: absolute;
  971. right: -38px;
  972. top: 9px;
  973. cursor: pointer;
  974. }
  975. .del {
  976. right: -70px;
  977. }
  978. .amap-page-container {
  979. width: 300px;
  980. height: 300px;
  981. }
  982. .ware {
  983. font-size: 12px;
  984. color: rgb(255, 255, 255);
  985. padding: 3px;
  986. position: relative;
  987. top: -1px;
  988. border-radius: 3px;
  989. display: inline-block;
  990. text-align: center;
  991. }
  992. .title {
  993. position: relative;
  994. }
  995. .title::before {
  996. content: '';
  997. display: inline-block;
  998. width: 5px;
  999. height: 30px;
  1000. background: #5473e8;
  1001. position: absolute;
  1002. left: 0;
  1003. }
  1004. .ws-info-table {
  1005. border-left: 1px solid transparent;
  1006. border-top: 1px solid transparent;
  1007. }
  1008. .el-button--primary {
  1009. background-color: #5878e8;
  1010. border-color: #5878e8;
  1011. }
  1012. .adjustment.el-button--primary {
  1013. background-color: #51cdd9;
  1014. border-color: #51cdd9;
  1015. }
  1016. .el-col {
  1017. background: #f6f7fc;
  1018. }
  1019. .record {
  1020. background: #fff;
  1021. color: #8890b1;
  1022. border-color: #fff;
  1023. display: inline-block;
  1024. margin-bottom: 10px;
  1025. cursor: pointer;
  1026. margin-left: 5px;
  1027. margin-right: 5px;
  1028. }
  1029. .record img {
  1030. position: relative;
  1031. top: 2px;
  1032. }
  1033. .record.active img {
  1034. position: relative;
  1035. top: 4px;
  1036. }
  1037. .record.active {
  1038. color: #262626;
  1039. }
  1040. .button-container {
  1041. display: flex;
  1042. flex-wrap: nowrap;
  1043. justify-content: space-between;
  1044. align-items: center;
  1045. background-color: #fff;
  1046. width: 100%;
  1047. height: 50px;
  1048. padding: 0 10px;
  1049. &>div {
  1050. margin-left: 10px;
  1051. display: flex;
  1052. flex-wrap: nowrap;
  1053. flex-direction: row;
  1054. &>span {
  1055. line-height: 50px;
  1056. }
  1057. }
  1058. /deep/.auditFlow-box {
  1059. position: unset;
  1060. margin-left: 10px;
  1061. &/deep/.auditFlow-icon {
  1062. width: auto;
  1063. padding-right: 30px;
  1064. }
  1065. &/deep/.auditFlow-main {
  1066. position: absolute;
  1067. }
  1068. }
  1069. }
  1070. .box-app {
  1071. display: inline-block;
  1072. float: left;
  1073. margin-left: 30px;
  1074. line-height: 50px;
  1075. }
  1076. /deep/.el-dialog {
  1077. .el-form-item {
  1078. margin-bottom: 0 !important;
  1079. .el-input--medium {
  1080. textarea {
  1081. min-height: 100px !important;
  1082. }
  1083. }
  1084. }
  1085. }
  1086. .top-grade {
  1087. background: linear-gradient(90deg, #5678e9, #7993f6);
  1088. color: #fff;
  1089. padding: 3px;
  1090. border-radius: 2px;
  1091. }
  1092. .second-class {
  1093. background: linear-gradient(90deg, #50cdd9, #82e2ea);
  1094. color: #fff;
  1095. padding: 3px;
  1096. border-radius: 2px;
  1097. }
  1098. .third-class {
  1099. background: linear-gradient(90deg, #ffa735, #ffbf70);
  1100. color: #fff;
  1101. padding: 3px;
  1102. border-radius: 2px;
  1103. }
  1104. .substandard {
  1105. background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  1106. color: #fff;
  1107. padding: 3px;
  1108. border-radius: 2px;
  1109. }
  1110. .collapse-bottom {
  1111. margin-bottom: 20px;
  1112. }
  1113. .input-main .textarea .el-textarea__inner {
  1114. width: 100%;
  1115. z-index: 1;
  1116. }
  1117. .bg-left {
  1118. padding-left: 30px;
  1119. }
  1120. .bg-right {
  1121. padding-right: 10px;
  1122. text-align: right;
  1123. }
  1124. .bg-bottom {
  1125. margin: 15px 0px;
  1126. }
  1127. .wenzi {
  1128. width: 900px;
  1129. margin: 0 auto;
  1130. }
  1131. .wenzi h3 {
  1132. display: inline-block;
  1133. left: 10px;
  1134. }
  1135. .wenzi p {
  1136. display: inline-block;
  1137. }
  1138. .center {
  1139. padding: 0 1%;
  1140. }
  1141. .el-form-item {
  1142. width: 50%;
  1143. }
  1144. .el-form-item__label {
  1145. text-align: center;
  1146. }
  1147. .ce {
  1148. width: 900px;
  1149. margin: 0 auto;
  1150. }
  1151. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  1152. /* height: 82px;*/
  1153. /*}*/
  1154. // 控制select为只读的时候显示样式
  1155. .hide-sel {
  1156. .el-input__inner {
  1157. border: 0px;
  1158. }
  1159. .el-icon-arrow-up {
  1160. display: none;
  1161. }
  1162. .el-textarea__inner {
  1163. background-color: #fff !important;
  1164. border: 0;
  1165. }
  1166. .el-date-editor {
  1167. i {
  1168. display: none;
  1169. }
  1170. }
  1171. .is-disabled {
  1172. .el-input__inner:hover {
  1173. background-color: #fff !important;
  1174. border: 0;
  1175. }
  1176. color: #606266;
  1177. .el-input__inner {
  1178. background-color: #fff !important;
  1179. border: 0;
  1180. color: #606266;
  1181. }
  1182. .el-textarea__inner {
  1183. background-color: #fff !important;
  1184. border: 0;
  1185. color: #606266;
  1186. }
  1187. }
  1188. }
  1189. // 控制select为只读的时候显示样式
  1190. /deep/.ws-class-table-col {
  1191. height: auto;
  1192. padding: 0px 2px;
  1193. /deep/.el-input__inner {
  1194. padding: 0px 2px;
  1195. }
  1196. }
  1197. /deep/.is-disabled {
  1198. .el-input__prefix,
  1199. .el-input__suffix {
  1200. display: none;
  1201. }
  1202. .el-input__inner {
  1203. background-color: #fff;
  1204. border-color: #fff !important;
  1205. color: #000 !important;
  1206. font-size: 14px;
  1207. cursor: text;
  1208. padding: 0 !important;
  1209. }
  1210. }
  1211. .winseaview-view {
  1212. padding: 0 0 20px;
  1213. }
  1214. .container {
  1215. overflow: scroll;
  1216. height: 93vh;
  1217. }
  1218. .el-textarea__inner {
  1219. display: none;
  1220. }
  1221. .readonly {
  1222. width: 16%;
  1223. }
  1224. .ws-info-table .el-form-item {
  1225. width: 14.28%;
  1226. }
  1227. .dataClass {
  1228. width: 20% !important;
  1229. }
  1230. .input {
  1231. width: 20% !important;
  1232. }
  1233. /deep/.ws-info-table .el-form-item .el-form-item__label {
  1234. background-color: #f6f7fc;
  1235. font-size: 12px;
  1236. height: 45px;
  1237. }
  1238. //去边框
  1239. /deep/.el-form-item {
  1240. border-right: 0px;
  1241. border-bottom: 0px;
  1242. }
  1243. /deep/.ws-info-table {
  1244. border-left: 0px;
  1245. border-top: 0px;
  1246. }
  1247. .ws-info-table .el-form-item .el-form-item__content {
  1248. border-right: 0px;
  1249. border-bottom: 0px;
  1250. border-left: 0px;
  1251. border-top: 0px;
  1252. }
  1253. /deep/.ws-info-table .el-form-item {
  1254. border-right: 0px;
  1255. border-bottom: 0px;
  1256. border-left: 0px;
  1257. border-top: 0px;
  1258. }
  1259. /deep/.ws-info-table .el-form-item .el-form-item__content {
  1260. background: #f5f7fa;
  1261. border-radius: 4px;
  1262. border: 1px solid #d8dce6;
  1263. font-family: PingFangSC-Regular, PingFang SC;
  1264. margin-bottom: 5px;
  1265. background-color: #fff;
  1266. font-size: 14px;
  1267. font-weight: 400;
  1268. color: #8890b1;
  1269. line-height: 16px;
  1270. }
  1271. /deep/.ws-info-table .el-form-item .el-form-item__content {
  1272. border: 0px;
  1273. }
  1274. /deep/.el-table td,
  1275. /deep/.el-table .el-table__header .cell {
  1276. text-align: center;
  1277. }
  1278. .binNo {
  1279. color: #333;
  1280. font-size: 18px;
  1281. margin-left: 20px;
  1282. }
  1283. .mask {
  1284. background: black;
  1285. width: 100vw;
  1286. height: 100vh;
  1287. position: fixed;
  1288. top: 0;
  1289. z-index: 99;
  1290. opacity: 0.3;
  1291. }
  1292. .shdw-style {
  1293. display: flex;
  1294. justify-content: space-between;
  1295. align-items: center;
  1296. padding: 0 20px;
  1297. margin-top: 20px;
  1298. }
  1299. .print-type-ew {
  1300. display: flex;
  1301. justify-content: space-between;
  1302. padding: 0 20px;
  1303. /deep/.el-radio__label {
  1304. font-size: 14px;
  1305. }
  1306. margin-top: 10px;
  1307. }
  1308. /deep/.el-table .cell {
  1309. text-align: center;
  1310. }
  1311. .print-type {
  1312. position: absolute;
  1313. top: 0;
  1314. bottom: 0;
  1315. left: 0;
  1316. right: 0;
  1317. margin: auto;
  1318. width: 440px;
  1319. height: 260px;
  1320. background: white;
  1321. border-radius: 10px;
  1322. z-index: 999;
  1323. }
  1324. .bottom-btn {
  1325. display: flex;
  1326. margin-top: 20px;
  1327. justify-content: space-around;
  1328. }
  1329. .ew-print {
  1330. padding: 0 20px;
  1331. margin-top: 10px;
  1332. // display: flex;
  1333. // justify-content: space-between;
  1334. // align-content: center;
  1335. .row {
  1336. display: flex;
  1337. margin-top: 10px;
  1338. align-items: center;
  1339. }
  1340. }
  1341. </style>