warehouseManagementRecord.vue 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515
  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. <<<<<<< HEAD
  297. <div v-if="deptBudgetList.warehouseName=='鲅鱼圈金信库'||deptBudgetList.warehouseName=='白城内陆港'||deptBudgetList.warehouseName=='哈尔滨依兰库'||this.warehouseName=='山东园丰库'">
  298. =======
  299. <div v-if="deptBudgetList.warehouseName=='鲅鱼圈金信库'||deptBudgetList.warehouseName=='白城内陆港'">
  300. >>>>>>> 32173094c0b5517c2d64af85d92ed9b3864725d5
  301. <div class="print-type-ew">
  302. <el-checkbox v-model="checked" @change="changeEw">打印额外票据</el-checkbox>
  303. <el-checkbox v-model="ddchecked" @change="changeEwDD">单独打印额外票据</el-checkbox>
  304. </div>
  305. <div class="ew-print" v-if="printSeparately">
  306. <div class="row">
  307. <div>额外客户姓名:</div>
  308. <!-- <div>{{companyName}}</div> -->
  309. <el-select v-model="ewCustomer" placeholder="请选择" style="width: 75%;">
  310. <el-option v-for="item in ewCustomerOptions" :key="item.value" :label="item.label" :value="item.value">
  311. </el-option>
  312. </el-select>
  313. </div>
  314. <div class="row">
  315. <div>额外收货单位:</div>
  316. <!-- <div>{{companyNameEW}}</div> -->
  317. <el-select v-model="companyNameEW" placeholder="请选择" style="width: 75%;">
  318. <el-option v-for="item in companyNameEWOptions" :key="item.value" :label="item.label"
  319. :value="item.value">
  320. </el-option>
  321. </el-select>
  322. </div>
  323. </div>
  324. </div>
  325. </div>
  326. <div class="bottom-btn">
  327. <el-button @click="typePrintClick">确定</el-button>
  328. <el-button @click="typePrintCannelClick">取消</el-button>
  329. </div>
  330. </div>
  331. <WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
  332. @on-cancel="handleClose">
  333. <p>查看附件</p>
  334. <el-image style="width: 100px; height: 100px" :src="appendixIdss" :preview-src-list="srcList">
  335. </el-image>
  336. </WinseaContentModal>
  337. </div>
  338. </template>
  339. <script>
  340. import {
  341. addselectinfoList,
  342. recordss,
  343. getPrintInfo,
  344. getbinnumber,
  345. sendback
  346. } from '@/model/warehouse/index'
  347. import {
  348. downloadFile
  349. } from '@/utils/batchDown'
  350. import Pagination from '@/components/Pagination'
  351. import WsUpload from '@/components/WsUpload'
  352. import {
  353. dayjs,
  354. fmoney,
  355. EventBus
  356. } from 'base-core-lib'
  357. export default {
  358. name: 'viewSpareMoney',
  359. components: {
  360. WsUpload,
  361. Pagination,
  362. },
  363. watch: {
  364. vesselId(val) {
  365. this.getList()
  366. },
  367. isShow(val) {
  368. this.showType = val
  369. },
  370. },
  371. data() {
  372. return {
  373. printSeparately: false,
  374. dialogViewSpareMoney: false,
  375. binnumberList:[],
  376. // 船舶类型
  377. monetaryKey: null,
  378. // 是否显示
  379. showType: true,
  380. // 年
  381. year: '',
  382. deptBudgetTotal: 0,
  383. currentPage: 1,
  384. pageSize: 10,
  385. capacity: '',
  386. searchKeyWord: '',
  387. contractType: 2,
  388. startDate: null,
  389. endDate: null,
  390. remark: '',
  391. binNumber: '',
  392. status: 1,
  393. value2:[],
  394. appendixIdss:'',
  395. // 提交类型
  396. submitType: true,
  397. selectpackingMethod: {},
  398. size: 10,
  399. warehouseType: '1',
  400. compId: localStorage.getItem('ws-pf_compId'),
  401. deptCircularPage: {},
  402. pcFlag: 1,
  403. date: {
  404. year: dayjs().format('YYYY'),
  405. month: dayjs().format('MM'),
  406. },
  407. warehouseList: [],
  408. deptBudgetList: {},
  409. historyList: [],
  410. searchType: '',
  411. allurl: '../../../public/img/radio.png',
  412. pickerBeginDateBefore: {
  413. disabledDate: (time) => {
  414. return time.getTime() > Date.now()
  415. },
  416. },
  417. accessoryTFs: false,
  418. modification:[],
  419. printList:[],//批量打印数据
  420. ewCustomerOptions: [{
  421. value: '黑龙江利润元粮食贸易有限公司',
  422. label: '黑龙江利润元粮食贸易有限公司'
  423. }, {
  424. value: '黑龙江众利合粮食贸易有限公司',
  425. label: '黑龙江众利合粮食贸易有限公司'
  426. }, {
  427. value: '黑龙江鑫满仓粮食贸易有限公司',
  428. label: '黑龙江鑫满仓粮食贸易有限公司'
  429. }, {
  430. value: '黑龙江中天昊元贸易有限公司',
  431. label: '黑龙江中天昊元贸易有限公司'
  432. }],
  433. companyNameOptions: [{
  434. value: '黑龙江利润元粮食贸易有限公司',
  435. label: '黑龙江利润元粮食贸易有限公司'
  436. }, {
  437. value: '黑龙江众利合粮食贸易有限公司',
  438. label: '黑龙江众利合粮食贸易有限公司'
  439. }, {
  440. value: '黑龙江鑫满仓粮食贸易有限公司',
  441. label: '黑龙江鑫满仓粮食贸易有限公司'
  442. }, {
  443. value: '黑龙江中天昊元贸易有限公司',
  444. label: '黑龙江中天昊元贸易有限公司'
  445. }, ],
  446. companyNameEWOptions: [{
  447. value: '厦门建发物产有限公司',
  448. label: '厦门建发物产有限公司'
  449. }],
  450. companyName: '黑龙江利润元粮食贸易有限公司',
  451. companyNameEW: "厦门建发物产有限公司",
  452. ewCustomer: "黑龙江利润元粮食贸易有限公司",
  453. ddchecked: false,
  454. checked: false,
  455. isShowPrintType: false,
  456. // 年
  457. srcList: [],
  458. deptBudgetTotal: 0,
  459. currentPage: 1,
  460. pageSize: 10,
  461. contractType: 2,
  462. // 提交类型
  463. submitType: true,
  464. selectpackingMethod: {},
  465. size: 10,
  466. warehouseType: '1',
  467. compId: localStorage.getItem('ws-pf_compId'),
  468. deptCircularPage: {},
  469. pcFlag: 1,
  470. date: {
  471. year: dayjs().format('YYYY'),
  472. month: dayjs().format('MM'),
  473. },
  474. warehouseList: [],
  475. deptBudgetList: {},
  476. historyList: [],
  477. searchType: '',
  478. allurl: '../../../public/img/radio.png',
  479. pickerBeginDateBefore: {
  480. disabledDate: (time) => {
  481. return time.getTime() > Date.now()
  482. },
  483. },
  484. accessoryTFs: false,
  485. modification: [],
  486. printList: [], //批量打印数据
  487. onePrint: false, //单个打印开关
  488. idPrint:"",
  489. }
  490. },
  491. activated() {
  492. this.deptBudgetList.baseId = this.$route.query.baseId
  493. this.deptBudgetList.positionId = this.$route.query.positionId
  494. this.deptBudgetList.warehouseName = this.$route.query.warehouseName
  495. this.remark = this.$route.query.remark
  496. this.binNumber = this.$route.query.binNumber
  497. this.capacity = this.$route.query.capacity
  498. this.warehouseType = this.$route.query.warehouseType
  499. this.getList()
  500. this.getPassYearFormatDate()
  501. this.showType = this.isShow
  502. },
  503. updated() {
  504. this.$nextTick(() => {
  505. this.$refs['tableData'].doLayout();
  506. })
  507. },
  508. methods: {
  509. changeEwDD(e) {
  510. this.checked = false
  511. if (e) {
  512. this.printSeparately = true
  513. } else {
  514. this.printSeparately = false
  515. }
  516. },
  517. changeEw(e) {
  518. debugger
  519. this.ddchecked = false
  520. if (e) {
  521. this.printSeparately = true
  522. } else {
  523. this.printSeparately = false
  524. }
  525. },
  526. makeEWjjSelectPrintList() {
  527. let _printList = JSON.parse(JSON.stringify(this.printList));
  528. for (let i = 0; i < _printList.length; i++) {
  529. let _data = _printList[i];
  530. _data.companyName = this.companyNameEW;
  531. _data.customer = this.ewCustomer
  532. }
  533. localStorage.setItem('ewWarehouseBatchPrint', JSON.stringify(_printList))
  534. },
  535. async typePrintClick() {
  536. debugger
  537. this.printList = []
  538. if (this.onePrint) {
  539. sessionStorage.removeItem('ck_bd_printData')
  540. getPrintInfo({
  541. id: this.idPrint
  542. })
  543. .toPromise()
  544. .then((response) => {
  545. if (response) {
  546. if (this.checked || this.ddchecked) {
  547. var arrayPrint = response
  548. // for (let i = 0; i < arrayPrint.length; i++) {
  549. // let _data = arrayPrint[i];
  550. arrayPrint.companyName = this.companyNameEW;
  551. arrayPrint.customer = this.ewCustomer
  552. // }
  553. localStorage.setItem('ck_bd_printData', JSON.stringify(arrayPrint))
  554. window.open('../../../../static/weightCheckInOut.html?type=2')
  555. return
  556. }
  557. localStorage.setItem('ck_bd_printData', JSON.stringify(response))
  558. window.open('../../../../static/weightCheckInOut.html?type=2')
  559. }
  560. })
  561. } else {
  562. var count = 0
  563. for (var i = 0; i < this.modification.length; i++) {
  564. await getPrintInfo({
  565. id: this.modification[i].id
  566. })
  567. .toPromise()
  568. .then((response) => {
  569. count++
  570. response.companyName = this.companyName
  571. this.printList.push(response)
  572. if (count == this.modification.length) {
  573. if (this.checked || this.ddchecked) {
  574. this.makeEWjjSelectPrintList()
  575. // this.selectEW = true;
  576. }
  577. localStorage.setItem("warehouseBatchPrint", JSON.stringify(this.printList))
  578. window.open('../../../../static/warehouseBatchPrint.html?selectEW=' + this.checked +
  579. '&selectEWDD=' + this.ddchecked)
  580. }
  581. })
  582. }
  583. }
  584. // if (this.isExcelPrint) {
  585. // this.printBig(2, this.radio)
  586. // this.isExcelPrint = false
  587. // } else {
  588. // this.jjSelectPrintList = []
  589. // let index1 = 0;
  590. // for (let i = 0; i < this.modification.length; i++) {
  591. // await getPrint({
  592. // id: this.modification[i].id
  593. // })
  594. // .toPromise()
  595. // .then((response) => {
  596. // index1++;
  597. // response.compName = this.companyName
  598. // if (response.compName == '黑龙江秋收有限公司') {
  599. // response.compName = '黑龙江中天昊元贸易有限公司'
  600. // }
  601. // this.jjSelectPrintList.push(response)
  602. // if (index1 == this.modification.length) {
  603. // this.printBig(1, this.radio)
  604. // }
  605. // })
  606. // .catch((response) => {})
  607. // }
  608. // }
  609. },
  610. typePrintCannelClick() {
  611. this.onePrint = false
  612. this.isShowPrintType = false
  613. },
  614. back(row) {
  615. this.$confirm(`确定退回该操作数据?`, {
  616. cancelButtonText: '取消',
  617. confirmButtonText: '确定',
  618. type: 'warning',
  619. })
  620. .then(() => {
  621. sendback({
  622. id: row.id
  623. }).toPromise()
  624. .then((response) => {
  625. this.$notify.success({
  626. title: '成功',
  627. message: '退回成功',
  628. })
  629. this.getList()
  630. })
  631. })
  632. .catch(() => {
  633. return false
  634. })
  635. },
  636. // batchPrint(){
  637. // if(this.modification.length == 0 ){
  638. // this.$message.error("请勾选要打印的条目!")
  639. // }else{
  640. // localStorage.removeItem("warehouseBatchPrint")
  641. // var count = 0
  642. // for(var i = 0 ; i < this.modification.length ; i++){
  643. // getPrintInfo({
  644. // id: this.modification[i].id
  645. // })
  646. // .toPromise()
  647. // .then((response) => {
  648. // count++
  649. // this.printList.push(response)
  650. // if(count == this.modification.length){
  651. // localStorage.setItem("warehouseBatchPrint", JSON.stringify(this.printList))
  652. // window.open( '../../../../static/warehouseBatchPrint.html')
  653. // }
  654. // })
  655. // }
  656. // }
  657. // },
  658. batchPrint() {
  659. this.printList = []
  660. if (this.modification.length == 0) {
  661. this.$message.error("请勾选要打印的条目!")
  662. } else {
  663. this.isShowPrintType = true
  664. // localStorage.removeItem("warehouseBatchPrint")
  665. // var count = 0
  666. // for (var i = 0; i < this.modification.length; i++) {
  667. // getPrintInfo({
  668. // id: this.modification[i].id
  669. // })
  670. // .toPromise()
  671. // .then((response) => {
  672. // count++
  673. // this.printList.push(response)
  674. // if (count == this.modification.length) {
  675. // localStorage.setItem("warehouseBatchPrint", JSON.stringify(this.printList))
  676. // window.open('../../../../static/warehouseBatchPrint.html')
  677. // }
  678. // })
  679. // }
  680. }
  681. },
  682. handleSelectionChange(val) {
  683. this.modification = val
  684. console.log("sfasa", this.modification)
  685. },
  686. selectInit(row){
  687. //在这里一定要记得类型匹配的上。
  688. if (row.inOutType != '收购入库' && row.inOutType != '期初'&& row.inOutType != '折转入库'&& row.inOutType != '折转出库') {
  689. return true
  690. } else {
  691. return false
  692. }
  693. },
  694. binNumberChange(e) {
  695. if (e == '全部仓位') {
  696. this.deptBudgetList.positionId = ''
  697. } else {
  698. for (let i = 0; i < this.binnumberList.length; i++) {
  699. if (this.binnumberList[i].binNumber == e) {
  700. this.deptBudgetList.positionId = this.binnumberList[i].id
  701. }
  702. }
  703. }
  704. this.getList()
  705. },
  706. //合计
  707. getSummaries(param) {
  708. const {
  709. columns,
  710. data
  711. } = param
  712. const sums = []
  713. columns.forEach((column, index) => {
  714. if (index === 0) {
  715. sums[index] = '合计'
  716. } else if (
  717. index === 4 ||
  718. index === 5 ||
  719. index === 6 ||
  720. index === 7 ||
  721. index === 8 ||
  722. index === 9
  723. ) {
  724. const values = data.map((item) => Number(item[column.property]))
  725. if (!values.every((value) => isNaN(value))) {
  726. sums[index] = values.reduce((prev, curr) => {
  727. const value = Number(curr)
  728. if (!isNaN(value)) {
  729. return prev + curr
  730. } else {
  731. return prev
  732. }
  733. }, 0)
  734. sums[index] = sums[index].toFixed(3)
  735. }
  736. } else {
  737. sums[index] = '--'
  738. }
  739. })
  740. return sums
  741. },
  742. getPassYearFormatDate() {
  743. var nowDate = new Date()
  744. nowDate.setTime(nowDate.getTime() - 24 * 60 * 60 * 1000 * 30)
  745. var seperator1 = '-'
  746. var year = nowDate.getFullYear()
  747. var month = nowDate.getMonth() + 1
  748. var strDate = nowDate.getDate()
  749. if (month >= 1 && month <= 9) {
  750. month = '0' + month
  751. }
  752. if (strDate >= 0 && strDate <= 9) {
  753. strDate = '0' + strDate
  754. }
  755. var formatDate = year + seperator1 + month + seperator1 + strDate
  756. this.getNowFormatDate(formatDate)
  757. },
  758. /* 获取现在时间,并接受过去时间的值 */
  759. getNowFormatDate(formatDate) {
  760. var date = new Date()
  761. date.setTime(date.getTime() + 24 * 60 * 60 * 1000)
  762. var seperator1 = '-'
  763. var year = date.getFullYear()
  764. var month = date.getMonth() + 1
  765. var strDate = date.getDate()
  766. if (month >= 1 && month <= 9) {
  767. month = '0' + month
  768. }
  769. if (strDate >= 0 && strDate <= 9) {
  770. strDate = '0' + strDate
  771. }
  772. var nowData = year + seperator1 + month + seperator1 + strDate
  773. this.value2 = [formatDate, nowData] // 默认赋值一年时间
  774. },
  775. print(row) {
  776. this.onePrint = true
  777. this.isShowPrintType = true
  778. this.idPrint = row.id
  779. },
  780. //返回按钮
  781. returnWarehouse() {
  782. this.$router.push({
  783. path: 'warehouseManagementList'
  784. })
  785. this.searchKeyWord = ''
  786. },
  787. //
  788. iossrecord() {
  789. this.$router.push({
  790. path: 'warehouseManagementIossRecord',
  791. query: {
  792. baseId: this.deptBudgetList.baseId,
  793. positionId: this.deptBudgetList.positionId,
  794. warehouseName: this.deptBudgetList.warehouseName,
  795. binNumber: this.binNumber,
  796. },
  797. })
  798. },
  799. dateFormat(fmt, date) {
  800. let ret
  801. const opt = {
  802. 'Y+': date.getFullYear().toString(), // 年
  803. 'm+': (date.getMonth() + 1).toString(), // 月
  804. 'd+': date.getDate().toString(), // 日
  805. 'H+': date.getHours().toString(), // 时
  806. // "M+": date.getMinutes().toString(), // 分
  807. // "S+": date.getSeconds().toString() // 秒
  808. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  809. }
  810. for (let k in opt) {
  811. ret = new RegExp('(' + k + ')').exec(fmt)
  812. if (ret) {
  813. fmt = fmt.replace(
  814. ret[1],
  815. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  816. )
  817. }
  818. }
  819. return fmt
  820. },
  821. datechange() {
  822. this.getList()
  823. },
  824. find() {
  825. this.getList()
  826. },
  827. handleClose() {
  828. this.accessoryTFs = false
  829. },
  830. handleSizeChange(val) {
  831. console.log(`每页 ${val} 条`)
  832. this.pageSize = val
  833. this.getList()
  834. },
  835. handleCurrentChange(val) {
  836. this.currentPage = val
  837. console.log(`当前页: ${val}`)
  838. this.getList()
  839. },
  840. record(status, status1) {
  841. this.status = status1
  842. this.searchType = status
  843. this.currentPage = 1
  844. this.getList()
  845. },
  846. // 上传附件
  847. uploadSuccess(data, files, url) {
  848. console.log(data, files, url)
  849. // this.deptBudgetList.
  850. // this.formData.append('files', files)
  851. // this.feedbackObj.uploadNameAttachment = data.appendixName
  852. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  853. // // this.newAppendixs = files
  854. // this.onChangeFlag = true
  855. },
  856. getList() {
  857. var startDate = ''
  858. var endDate = ''
  859. if (this.value2) {
  860. startDate = this.value2[0] ? this.value2[0] : ''
  861. endDate = this.value2[1] ? this.value2[1] : ''
  862. }
  863. if (this.warehouseType == 1) {
  864. getbinnumber({
  865. id: this.deptBudgetList.baseId
  866. }).toPromise()
  867. .then((response) => {
  868. this.binnumberList = response.warehousePositionInfoList
  869. })
  870. addselectinfoList({
  871. compId: localStorage.getItem('ws-pf_compId'),
  872. baseId: this.deptBudgetList.baseId,
  873. positionId: this.deptBudgetList.positionId,
  874. warehouseName: this.deptBudgetList.warehouseName,
  875. startDate: startDate,
  876. endDate: endDate,
  877. searchType: this.searchType,
  878. searchKeyWord: this.searchKeyWord,
  879. currentPage: this.currentPage,
  880. pcFlag: this.pcFlag,
  881. pageSize: this.pageSize
  882. })
  883. .toPromise()
  884. .then((response) => {
  885. for (var i = 0; i < response.records.length; i++) {
  886. if (response.records[i].addressUrl != null) {
  887. response.records[i].addressUrlArray = response.records[
  888. i
  889. ].addressUrl.split(',')
  890. } else {
  891. response.records[i].addressUrlArray = []
  892. }
  893. }
  894. this.deptCircularPage.currentPage = response.current
  895. this.deptCircularPage.pageSize = response.size
  896. this.deptBudgetTotal = response.total
  897. this.warehouseList = response
  898. })
  899. } else if (this.warehouseType == 2) {
  900. recordss({
  901. compId: localStorage.getItem('ws-pf_compId'),
  902. baseId: this.deptBudgetList.baseId,
  903. positionId: this.deptBudgetList.positionId,
  904. warehouseName: this.deptBudgetList.warehouseName,
  905. startDate: startDate,
  906. endDate: endDate,
  907. searchType: this.searchType,
  908. searchKeyWord: this.searchKeyWord,
  909. currentPage: this.currentPage,
  910. pageSize: this.pageSize,
  911. })
  912. .toPromise()
  913. .then((response) => {
  914. for (var i = 0; i < response.records.length; i++) {
  915. if (response.records[i].addressUrl != null) {
  916. response.records[i].addressUrlArray = response.records[
  917. i
  918. ].addressUrl.split(',')
  919. } else {
  920. response.records[i].addressUrlArray = []
  921. }
  922. }
  923. this.deptCircularPage.currentPage = response.current
  924. this.deptCircularPage.pageSize = response.size
  925. this.deptBudgetTotal = response.total
  926. this.warehouseList = response
  927. })
  928. }
  929. },
  930. selecttaskType(e) {
  931. for (var i = 0; i < this.taskTypeList.length; i++) {
  932. if (this.taskTypeList[i].value == e) {
  933. this.searchType = this.taskTypeList[i].type
  934. }
  935. }
  936. },
  937. fujian(row) {
  938. if (
  939. row.addressUrl === null ||
  940. row.addressUrl === ''
  941. ) {
  942. EventBus.$emit(
  943. 'warning',
  944. this.$t('system.noticeCircular.NoInformation')
  945. )
  946. } else {
  947. this.accessoryTFs = true
  948. }
  949. this.appendixIdss = row.addressUrl
  950. this.srcList = [row.addressUrl]
  951. },
  952. // 关闭 dialog时 处理文件url 初始化upload组件
  953. handleCloe() {
  954. this.dialogViewSpareMoney = false
  955. },
  956. history(row) {
  957. console.log(row)
  958. billoperatehis({
  959. id: row.id
  960. })
  961. .toPromise()
  962. .then((response) => {
  963. this.historyList = response
  964. })
  965. },
  966. // async exportlist() {
  967. // const { data } = await export1(
  968. // {
  969. // compId: localStorage.getItem('ws-pf_compId'),
  970. // contractType: this.contractType,
  971. // currentPage: this.currentPage,
  972. // pageSize: this.pageSize,
  973. // searchType: this.searchType,
  974. // searchKeyWord: this.searchKeyWord,
  975. // startDate: this.startDate,
  976. // endDate: this.endDate,
  977. // },
  978. // {},
  979. // { responseType: 'blob' }
  980. // ).toPromise()
  981. // downloadFile({
  982. // res: data,
  983. // fileName: `${
  984. // this.date.year + (this.date.month ? `-${this.date.month}` : '')
  985. // }_采购合同`,
  986. // type: 'xls',
  987. // })
  988. // },
  989. // deletecontract(){},
  990. //删除
  991. approve() {},
  992. listQuery() {},
  993. total() {},
  994. clearfiltQuery() {},
  995. selectCrtDuty() {},
  996. },
  997. }
  998. </script>
  999. <style lang="scss" scoped>
  1000. /deep/.totalStorage .el-input__inner {
  1001. color: #afb5cb;
  1002. background: #f5f7fa;
  1003. }
  1004. .small-title {
  1005. position: relative;
  1006. padding: 10px;
  1007. font-weight: 600;
  1008. }
  1009. .small-title::before {
  1010. position: absolute;
  1011. content: '';
  1012. display: block;
  1013. background: #5473e8;
  1014. width: 4px;
  1015. height: 14px;
  1016. left: 0px;
  1017. top: 13px;
  1018. }
  1019. .position {
  1020. position: relative;
  1021. }
  1022. .add,
  1023. .del {
  1024. position: absolute;
  1025. right: -38px;
  1026. top: 9px;
  1027. cursor: pointer;
  1028. }
  1029. .del {
  1030. right: -70px;
  1031. }
  1032. .amap-page-container {
  1033. width: 300px;
  1034. height: 300px;
  1035. }
  1036. .ware {
  1037. font-size: 12px;
  1038. color: rgb(255, 255, 255);
  1039. padding: 3px;
  1040. position: relative;
  1041. top: -1px;
  1042. border-radius: 3px;
  1043. display: inline-block;
  1044. text-align: center;
  1045. }
  1046. .title {
  1047. position: relative;
  1048. }
  1049. .title::before {
  1050. content: '';
  1051. display: inline-block;
  1052. width: 5px;
  1053. height: 30px;
  1054. background: #5473e8;
  1055. position: absolute;
  1056. left: 0;
  1057. }
  1058. .ws-info-table {
  1059. border-left: 1px solid transparent;
  1060. border-top: 1px solid transparent;
  1061. }
  1062. .el-button--primary {
  1063. background-color: #5878e8;
  1064. border-color: #5878e8;
  1065. }
  1066. .adjustment.el-button--primary {
  1067. background-color: #51cdd9;
  1068. border-color: #51cdd9;
  1069. }
  1070. .el-col {
  1071. background: #f6f7fc;
  1072. }
  1073. .record {
  1074. background: #fff;
  1075. color: #8890b1;
  1076. border-color: #fff;
  1077. display: inline-block;
  1078. margin-bottom: 10px;
  1079. cursor: pointer;
  1080. margin-left: 5px;
  1081. margin-right: 5px;
  1082. }
  1083. .record img {
  1084. position: relative;
  1085. top: 2px;
  1086. }
  1087. .record.active img {
  1088. position: relative;
  1089. top: 4px;
  1090. }
  1091. .record.active {
  1092. color: #262626;
  1093. }
  1094. .button-container {
  1095. display: flex;
  1096. flex-wrap: nowrap;
  1097. justify-content: space-between;
  1098. align-items: center;
  1099. background-color: #fff;
  1100. width: 100%;
  1101. height: 50px;
  1102. padding: 0 10px;
  1103. &>div {
  1104. margin-left: 10px;
  1105. display: flex;
  1106. flex-wrap: nowrap;
  1107. flex-direction: row;
  1108. &>span {
  1109. line-height: 50px;
  1110. }
  1111. }
  1112. /deep/.auditFlow-box {
  1113. position: unset;
  1114. margin-left: 10px;
  1115. &/deep/.auditFlow-icon {
  1116. width: auto;
  1117. padding-right: 30px;
  1118. }
  1119. &/deep/.auditFlow-main {
  1120. position: absolute;
  1121. }
  1122. }
  1123. }
  1124. .box-app {
  1125. display: inline-block;
  1126. float: left;
  1127. margin-left: 30px;
  1128. line-height: 50px;
  1129. }
  1130. /deep/.el-dialog {
  1131. .el-form-item {
  1132. margin-bottom: 0 !important;
  1133. .el-input--medium {
  1134. textarea {
  1135. min-height: 100px !important;
  1136. }
  1137. }
  1138. }
  1139. }
  1140. .top-grade {
  1141. background: linear-gradient(90deg, #5678e9, #7993f6);
  1142. color: #fff;
  1143. padding: 3px;
  1144. border-radius: 2px;
  1145. }
  1146. .second-class {
  1147. background: linear-gradient(90deg, #50cdd9, #82e2ea);
  1148. color: #fff;
  1149. padding: 3px;
  1150. border-radius: 2px;
  1151. }
  1152. .third-class {
  1153. background: linear-gradient(90deg, #ffa735, #ffbf70);
  1154. color: #fff;
  1155. padding: 3px;
  1156. border-radius: 2px;
  1157. }
  1158. .substandard {
  1159. background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  1160. color: #fff;
  1161. padding: 3px;
  1162. border-radius: 2px;
  1163. }
  1164. .collapse-bottom {
  1165. margin-bottom: 20px;
  1166. }
  1167. .input-main .textarea .el-textarea__inner {
  1168. width: 100%;
  1169. z-index: 1;
  1170. }
  1171. .bg-left {
  1172. padding-left: 30px;
  1173. }
  1174. .bg-right {
  1175. padding-right: 10px;
  1176. text-align: right;
  1177. }
  1178. .bg-bottom {
  1179. margin: 15px 0px;
  1180. }
  1181. .wenzi {
  1182. width: 900px;
  1183. margin: 0 auto;
  1184. }
  1185. .wenzi h3 {
  1186. display: inline-block;
  1187. left: 10px;
  1188. }
  1189. .wenzi p {
  1190. display: inline-block;
  1191. }
  1192. .center {
  1193. padding: 0 1%;
  1194. }
  1195. .el-form-item {
  1196. width: 50%;
  1197. }
  1198. .el-form-item__label {
  1199. text-align: center;
  1200. }
  1201. .ce {
  1202. width: 900px;
  1203. margin: 0 auto;
  1204. }
  1205. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  1206. /* height: 82px;*/
  1207. /*}*/
  1208. // 控制select为只读的时候显示样式
  1209. .hide-sel {
  1210. .el-input__inner {
  1211. border: 0px;
  1212. }
  1213. .el-icon-arrow-up {
  1214. display: none;
  1215. }
  1216. .el-textarea__inner {
  1217. background-color: #fff !important;
  1218. border: 0;
  1219. }
  1220. .el-date-editor {
  1221. i {
  1222. display: none;
  1223. }
  1224. }
  1225. .is-disabled {
  1226. .el-input__inner:hover {
  1227. background-color: #fff !important;
  1228. border: 0;
  1229. }
  1230. color: #606266;
  1231. .el-input__inner {
  1232. background-color: #fff !important;
  1233. border: 0;
  1234. color: #606266;
  1235. }
  1236. .el-textarea__inner {
  1237. background-color: #fff !important;
  1238. border: 0;
  1239. color: #606266;
  1240. }
  1241. }
  1242. }
  1243. // 控制select为只读的时候显示样式
  1244. /deep/.ws-class-table-col {
  1245. height: auto;
  1246. padding: 0px 2px;
  1247. /deep/.el-input__inner {
  1248. padding: 0px 2px;
  1249. }
  1250. }
  1251. /deep/.is-disabled {
  1252. .el-input__prefix,
  1253. .el-input__suffix {
  1254. display: none;
  1255. }
  1256. .el-input__inner {
  1257. background-color: #fff;
  1258. border-color: #fff !important;
  1259. color: #000 !important;
  1260. font-size: 14px;
  1261. cursor: text;
  1262. padding: 0 !important;
  1263. }
  1264. }
  1265. .winseaview-view {
  1266. padding: 0 0 20px;
  1267. }
  1268. .container {
  1269. overflow: scroll;
  1270. height: 93vh;
  1271. }
  1272. .el-textarea__inner {
  1273. display: none;
  1274. }
  1275. .readonly {
  1276. width: 16%;
  1277. }
  1278. .ws-info-table .el-form-item {
  1279. width: 14.28%;
  1280. }
  1281. .dataClass {
  1282. width: 20% !important;
  1283. }
  1284. .input {
  1285. width: 20% !important;
  1286. }
  1287. /deep/.ws-info-table .el-form-item .el-form-item__label {
  1288. background-color: #f6f7fc;
  1289. font-size: 12px;
  1290. height: 45px;
  1291. }
  1292. //去边框
  1293. /deep/.el-form-item {
  1294. border-right: 0px;
  1295. border-bottom: 0px;
  1296. }
  1297. /deep/.ws-info-table {
  1298. border-left: 0px;
  1299. border-top: 0px;
  1300. }
  1301. .ws-info-table .el-form-item .el-form-item__content {
  1302. border-right: 0px;
  1303. border-bottom: 0px;
  1304. border-left: 0px;
  1305. border-top: 0px;
  1306. }
  1307. /deep/.ws-info-table .el-form-item {
  1308. border-right: 0px;
  1309. border-bottom: 0px;
  1310. border-left: 0px;
  1311. border-top: 0px;
  1312. }
  1313. /deep/.ws-info-table .el-form-item .el-form-item__content {
  1314. background: #f5f7fa;
  1315. border-radius: 4px;
  1316. border: 1px solid #d8dce6;
  1317. font-family: PingFangSC-Regular, PingFang SC;
  1318. margin-bottom: 5px;
  1319. background-color: #fff;
  1320. font-size: 14px;
  1321. font-weight: 400;
  1322. color: #8890b1;
  1323. line-height: 16px;
  1324. }
  1325. /deep/.ws-info-table .el-form-item .el-form-item__content {
  1326. border: 0px;
  1327. }
  1328. /deep/.el-table td,
  1329. /deep/.el-table .el-table__header .cell {
  1330. text-align: center;
  1331. }
  1332. .binNo {
  1333. color: #333;
  1334. font-size: 18px;
  1335. margin-left: 20px;
  1336. }
  1337. .mask {
  1338. background: black;
  1339. width: 100vw;
  1340. height: 100vh;
  1341. position: fixed;
  1342. top: 0;
  1343. z-index: 99;
  1344. opacity: 0.3;
  1345. }
  1346. .shdw-style {
  1347. display: flex;
  1348. justify-content: space-between;
  1349. align-items: center;
  1350. padding: 0 20px;
  1351. margin-top: 20px;
  1352. }
  1353. .print-type-ew {
  1354. display: flex;
  1355. justify-content: space-between;
  1356. padding: 0 20px;
  1357. /deep/.el-radio__label {
  1358. font-size: 14px;
  1359. }
  1360. margin-top: 10px;
  1361. }
  1362. /deep/.el-table .cell {
  1363. text-align: center;
  1364. }
  1365. .print-type {
  1366. position: absolute;
  1367. top: 0;
  1368. bottom: 0;
  1369. left: 0;
  1370. right: 0;
  1371. margin: auto;
  1372. width: 440px;
  1373. height: 260px;
  1374. background: white;
  1375. border-radius: 10px;
  1376. z-index: 999;
  1377. }
  1378. .bottom-btn {
  1379. display: flex;
  1380. margin-top: 20px;
  1381. justify-content: space-around;
  1382. }
  1383. .ew-print {
  1384. padding: 0 20px;
  1385. margin-top: 10px;
  1386. // display: flex;
  1387. // justify-content: space-between;
  1388. // align-content: center;
  1389. .row {
  1390. display: flex;
  1391. margin-top: 10px;
  1392. align-items: center;
  1393. }
  1394. }
  1395. </style>