exWarehousing.vue 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140
  1. <template>
  2. <view class="warp">
  3. <view class="top">
  4. <view class="top-left">{{warehouseName}}</view>
  5. <view>{{binNumber}}仓位</view>
  6. </view>
  7. <view class="content">
  8. <view class="row">
  9. <view class="left">任务编号</view>
  10. <view @click='inOutShow=true'>{{detailData.inOutTaskNo ? detailData.inOutTaskNo : "暂未获取到任务编号"}}</view>
  11. <u-picker :range="inOutNoList" range-key="inOutTaskNo" @confirm='inOutChange' v-model="inOutShow"
  12. mode="selector">
  13. </u-picker>
  14. </view>
  15. <view class="row row-bottom">
  16. <view class="left">合同编号</view>
  17. <!-- <view @click='slectcontractNo'>{{detailData.contractNo}}</view> -->
  18. <input v-model='detailData.contractNo' style="width: 200px;" class="right-bottom" placeholder="暂未获取到合同编号" disabled=""></input>
  19. </view>
  20. <view class="row">
  21. <view class="left">提示</view>
  22. <view class="right">{{detailData.tips}}</view>
  23. </view>
  24. <view class="row">
  25. <view class="left">货名</view>
  26. <view class="right">{{detailData.goodsName ? detailData.goodsName : "选择合同,自动获取"}}
  27. </view>
  28. </view>
  29. <!-- <view class="row">
  30. <view class="left">类型</view>
  31. <view @click='show1=true'>{{detailData.type}}</view>
  32. <u-picker :range="typeList" range-key="type" @confirm='typePicker($event)' v-model="show1"
  33. mode="selector">
  34. <view class="">{{detailData.type}}</view>
  35. </u-picker>
  36. </view> -->
  37. <view class="row row-bottom">
  38. <view class="left">毛重(吨)</view>
  39. <input type="digit" @input='calculate' v-model='detailData.grossWeight' class="right-bottom"
  40. placeholder="输入毛重"></input>
  41. </view>
  42. <view class="row row-bottom">
  43. <view class="left">皮重(吨)</view>
  44. <input type="digit" @input='calculate' v-model='detailData.tare' class="right-bottom"
  45. placeholder="输入皮重"></input>
  46. </view>
  47. <view class="row row-bottom">
  48. <view class="left">净重(吨)</view>
  49. <input v-model='netWeight' disabled class="right-bottom" placeholder="不可编辑,自动计算"></input>
  50. </view>
  51. <view class="row row-bottom" v-if="detailData.type == '潮粮'">
  52. <view class="left">扣重比</view>
  53. <input type="digit" v-model='detailData.buckleWeightRatio' class="right-bottom" placeholder="输入扣重比"
  54. @input="pureWeightCount"></input>
  55. </view>
  56. <view class="row row-bottom" v-if="detailData.type == '潮粮'">
  57. <view class="left">干粮水分(%)</view>
  58. <input type="digit" v-model='detailData.solidGrainWater' class="right-bottom" placeholder="输入干粮水分占比"
  59. @input="pureWeightCount"></input>
  60. </view>
  61. <view class="row row-bottom" v-if="detailData.type == '潮粮'">
  62. <view class="left">潮粮水分(%)</view>
  63. <input type="digit" v-model='detailData.tidalGrainWater' class="right-bottom" placeholder="输入潮粮水分占比"
  64. @input="pureWeightCount"></input>
  65. </view>
  66. <view class="row row-bottom" v-if="detailData.type == '潮粮'">
  67. <view class="left">纯重(吨)</view>
  68. <input v-model='detailData.pureWeight' class="right-bottom" placeholder="不可编辑,自动计算"></input>
  69. </view>
  70. <view class="row row-bottom">
  71. <view class="left">运费(元/吨)</view>
  72. <input v-model='detailData.freight' class="right-bottom" placeholder="不可编辑,自动计算"></input>
  73. </view>
  74. <view class="row row-bottom">
  75. <view class="left">出库单价(元/吨)</view>
  76. <input v-model='detailData.cost' class="right-bottom" placeholder="输入出库单价"></input>
  77. </view>
  78. <view class="row">
  79. <view class="left">品级</view>
  80. <view @click='show3=true'>{{detailData.grade}}</view>
  81. <u-picker :range="pjList" range-key="type" @confirm='pjPicker($event)' v-model="show3" mode="selector">
  82. </u-picker>
  83. </view>
  84. <view class="row">
  85. <view class="left">经办人</view>
  86. <view @click='show6=true'>{{detailData.agent}}</view>
  87. <u-picker :range="handlerList" range-key="staffName" @confirm='handlerPicker($event)' v-model="show6"
  88. mode="selector">
  89. </u-picker>
  90. </view>
  91. <view class="row">
  92. <view class="left">出库日期</view>
  93. <view @click='show7=true'>{{detailData.inOutDate}}</view>
  94. <u-picker v-model="show7" mode="time" @confirm='dateChange($event)' :params="params">
  95. </u-picker>
  96. </view>
  97. <view class="row row-bottom">
  98. <view class="left">出库类型</view>
  99. <input v-model='detailData.inOutType' class="right-bottom" :disabled="isSelectType"
  100. placeholder="自动获取"></input>
  101. <!-- <u-picker :range="warehousingTypeList" range-key="constValue" @confirm='warehousingTypePicker($event)'
  102. v-model="show5" mode="selector">
  103. </u-picker> -->
  104. </view>
  105. <view class="row">
  106. <view class="left">出库方式</view>
  107. <view @click='show8=true'>{{detailData.outType?detailData.outType:'汽运'}}</view>
  108. <u-picker v-model="show8" mode="selector" range-key="name" :range="multiSelector"
  109. @confirm='outtypeChange($event)'>
  110. </u-picker>
  111. </view>
  112. <view class="row row-bottom" v-if="detailData.outType!='火运' && detailData.outType!='散船'">
  113. <!-- <view class="left">车牌号</view>
  114. <input v-if="!isPC" v-model='detailData.carNo' class="right-bottom" placeholder="请输入车牌号"></input>
  115. <view @click='slectCarNo' v-if="isPC">{{detailData.carNo}}</view> -->
  116. <view class="left">车牌号</view>
  117. <!-- 他运合同车牌号输入 -->
  118. <input v-model='detailData.carNo' @click.stop="handleShowKeyboard":disabled="true" class="right-bottom" placeholder="请输入车牌号" v-if="!showCar"></input>
  119. <input v-model='detailData.carNo' @click.stop="handleShowKeyboard":disabled="true" class="right-bottom" placeholder="请输入车牌号" v-if="showCar&&carjudge"></input>
  120. <view v-else v-show="showCar" @click="carno = true">
  121. <view v-if="detailData.tranCarNo">
  122. {{detailData.carNo?detailData.carNo +'('+detailData.tranCarNo+')':"请选择车牌号"}}
  123. </view>
  124. <view v-else>
  125. {{detailData.carNo?detailData.carNo:"请选择车牌号"}}
  126. </view>
  127. </view>
  128. <master-keyboard ref="keyboard" keyboardtype="car" :randomNumber="true" :newCar="false" :defaultValue="detailData.carNo" @keyboardClick="handleClick"></master-keyboard>
  129. <!-- <view @click='slectCarNo' v-if="isPC">{{detailData.carNo}}</view> -->
  130. <!-- 自运合同车牌号需下拉 -->
  131. <u-picker :range="carList" range-key="carNo1" @confirm='carPicker($event)' v-model="carno"
  132. mode="selector">
  133. </u-picker>
  134. <view type="success" @click="carNoTypeChange" class="carNo_but" v-if="showCar||carjudge" v-show="showCar">{{carChange1}}</view>
  135. </view>
  136. <view class="row row-bottom" v-if="detailData.outType=='火运'">
  137. <view class="left">车号</view>
  138. <input v-model='detailData.carNo' class="right-bottom" placeholder="请输入车号"></input>
  139. </view>
  140. <view v-if='detailData.outType=="集装箱船"||!detailData.outType||detailData.outType=="汽运"'
  141. class="row row-bottom">
  142. <view class="left">箱号</view>
  143. <input v-model='detailData.boxNo' class="right-bottom" placeholder="请输入箱号" type="digit"></input>
  144. <input v-model='detailData.boxNoOther' class="right-bottom" type="digit" placeholder="请输入箱号"></input>
  145. </view>
  146. <view v-if='!detailData.outType||detailData.outType=="汽运" || detailData.outType=="集装箱船"'
  147. class="row row-bottom">
  148. <view class="left">封号</view>
  149. <input v-model='detailData.titleNo' class="right-bottom" placeholder="请输入封号" type="digit"></input>
  150. <input v-model='detailData.titleNoOther' class="right-bottom" placeholder="请输入封号" type="digit"></input>
  151. </view>
  152. <view v-if='detailData.outType=="火运"' class="row row-bottom">
  153. <view class="left">车厢号</view>
  154. <input v-model='detailData.wingNumber' @input="toUpperCase2" class="right-bottom" placeholder="请输入车厢号"
  155. type="digit"></input>
  156. <input v-model='detailData.wingNumberOther' @input="toUpperCase3" class="right-bottom"
  157. placeholder="请输入车厢号" type="digit"></input>
  158. </view>
  159. <view v-if='detailData.outType=="散船"' class="row row-bottom">
  160. <view class="left">航次</view>
  161. <input v-model='detailData.shipNumber' class="right-bottom" placeholder="请输入航次"></input>
  162. </view>
  163. <view v-if='detailData.outType=="散船"' class="row row-bottom">
  164. <view class="left">船名</view>
  165. <input v-model='detailData.shipName' class="right-bottom" placeholder="请输入船名"></input>
  166. </view>
  167. </view>
  168. <view class="content2">
  169. <view class="left">上传磅单</view>
  170. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  171. :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  172. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
  173. </view>
  174. <view class="content1">
  175. <view class="title">
  176. 质检数据(选填)
  177. </view>
  178. <view class="row row-bottom">
  179. <view class="left">质检员</view>
  180. <input v-model='detailData.warehouseInOutDetail.qualityInspector' class="right-bottom"
  181. placeholder="输入质检员姓名"></input>
  182. </view>
  183. <view class="row row-bottom">
  184. <view class="left">水分(%)</view>
  185. <input type="digit" v-model='detailData.warehouseInOutDetail.waterContent' class="right-bottom"
  186. placeholder="输入水分占比"></input>
  187. </view>
  188. <view class="row row-bottom">
  189. <view class="left">容重(克/升)</view>
  190. <input type="digit" v-model='detailData.warehouseInOutDetail.bulkDensity' class="right-bottom"
  191. placeholder="输入容重"></input>
  192. </view>
  193. <view class="row row-bottom">
  194. <view class="left">热损伤(%)</view>
  195. <input type="digit" v-model='detailData.warehouseInOutDetail.jiaorenli' class="right-bottom"
  196. placeholder="输入热损伤占比"></input>
  197. </view>
  198. <view class="row row-bottom">
  199. <view class="left">杂质(%)</view>
  200. <input type="digit" v-model='detailData.warehouseInOutDetail.impurity' class="right-bottom"
  201. placeholder="输入杂质占比"></input>
  202. </view>
  203. <view class="row row-bottom">
  204. <view class="left">霉变粒(%)</view>
  205. <input type="digit" v-model='detailData.warehouseInOutDetail.mildewGrain' class="right-bottom"
  206. placeholder="输入霉变粒占比"></input>
  207. </view>
  208. <view class="row row-bottom">
  209. <view class="left">不完善粒(%)</view>
  210. <input type="digit" v-model='detailData.warehouseInOutDetail.imperfectGrain' class="right-bottom"
  211. placeholder="输入不完善粒占比"></input>
  212. </view>
  213. </view>
  214. <u-toast ref="uToast" />
  215. <view class="bottom-btn">
  216. <u-button type="primary" class="submit" hover-class="none" @click="submit(1)">暂存</u-button>
  217. <u-button type="primary" class="submit" hover-class="none" @click="submit(2)">提交</u-button>
  218. </view>
  219. <u-popup v-model="isShowPrint" class="popup" @close="close" mode="bottom" border-radius="30" :closeable="true">
  220. <view class="buns_item">
  221. <view class="but_css" @click="print">打印小票</view>
  222. <view class="but_css" @click="close">返回</view>
  223. </view>
  224. </u-popup>
  225. </view>
  226. </template>
  227. <script>
  228. import upload from '@/components/upload.vue';
  229. import helper from '@/common/helper.js';
  230. import keyboard from "@/components/master-keyboard/master-keyboard.vue";
  231. import {
  232. mapState
  233. } from 'vuex';
  234. export default {
  235. components: {
  236. upload,
  237. keyboard
  238. },
  239. data() {
  240. return {
  241. weightbills: {},
  242. isShowPrint: false,
  243. show: false,
  244. show1: false,
  245. show2: false,
  246. show3: false,
  247. show4: false,
  248. show5: false,
  249. show6: false,
  250. show7: false,
  251. isPC: true,
  252. show8: false,
  253. carno: false,
  254. usestart: '',
  255. multiSelector: [{
  256. name: '汽运',
  257. value: '0'
  258. },
  259. {
  260. name: '火运',
  261. value: '1'
  262. },
  263. {
  264. name: '集装箱船',
  265. value: '2'
  266. },
  267. {
  268. name: '散船',
  269. value: '3'
  270. },
  271. ],
  272. show9: false,
  273. multiSelector1: [{
  274. name: '汽运',
  275. value: '0'
  276. },
  277. {
  278. name: '火运',
  279. value: '1'
  280. },
  281. {
  282. name: '集装箱船',
  283. value: '2'
  284. },
  285. {
  286. name: '散船',
  287. value: '3'
  288. },
  289. ],
  290. isSelectType: true,
  291. // contractNoList: [{
  292. // contractNo: ""
  293. // }],
  294. typeList: [{
  295. type: "干粮"
  296. },
  297. {
  298. type: "潮粮"
  299. }
  300. ],
  301. pjList: [{
  302. type: "一等品"
  303. },
  304. {
  305. type: "二等品"
  306. },
  307. {
  308. type: "三等品"
  309. },
  310. {
  311. type: "等外"
  312. }
  313. ],
  314. handlerList: [],
  315. warehousingTypeList: [],
  316. action: this.$uploadUrl,
  317. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  318. btnLoading: false, //防止重复点击
  319. isAdd: true,
  320. warehouseName: '',
  321. binNumber: '',
  322. detailData: {
  323. outType: '汽运',
  324. contractNo: "",
  325. type: "干粮",
  326. grade: "请输入品级",
  327. agent: "请选择经办人",
  328. inOutDate: "请选择出库日期",
  329. inOutType: "请选择出库类型",
  330. warehouseInOutDetail: {},
  331. gradeKey: "",
  332. grossWeight: "",
  333. tare: "",
  334. tips: '',
  335. carNo:'',
  336. selfLoading:"0",
  337. goodsName:"",
  338. },
  339. params: {
  340. year: true,
  341. month: true,
  342. day: true,
  343. },
  344. netWeight: "",
  345. inOutShow: false,
  346. inOutNoList: [],
  347. carList: [], //车牌号下拉
  348. showCar: false,
  349. carChange1:"手动填写",
  350. carjudge:false
  351. }
  352. },
  353. computed: {
  354. ...mapState(['hasLogin', 'userInfo'])
  355. },
  356. watch: {
  357. netWeight: function(v) {
  358. this.pureWeightCount()
  359. },
  360. },
  361. onLoad(options) {
  362. this.id = options.id
  363. this.cangId = options.cangId
  364. this.binNumber = helper.erpWarehouse.binNumber
  365. this.warehouseName = helper.erpWarehouse.warehouseName
  366. //查看任务编号
  367. // this.inOutNo()
  368. },
  369. onShow() {
  370. uni.showLoading({
  371. title:"加载中...",
  372. mask:true
  373. })
  374. // let _data = uni.getStorageSync('erpContractNoCK') == '' ? {} : uni.getStorageSync('erpContractNoCK')
  375. // if(_data.goodsName){
  376. // this.detailData.goodsName = _data.goodsName;
  377. // }
  378. // this.detailData.inOutType = _data.inOutType ? _data.inOutType : '';
  379. // if (this.detailData.inOutType == '销售出库') {
  380. // this.detailData.inOutTypeKey = 1
  381. // } else if (this.detailData.inOutType == '移库出库') {
  382. // this.detailData.inOutTypeKey = 3
  383. // } else if (this.detailData.inOutType == '暂存出库') {
  384. // this.detailData.inOutTypeKey = 4
  385. // } else if (this.detailData.inOutType == '贸易服务出库') {
  386. // this.detailData.inOutTypeKey = 5
  387. // } else if (this.detailData.inOutType == '采购出库') {
  388. // this.detailData.inOutTypeKey = 6
  389. // }
  390. // if (_data.contractNo) {
  391. // this.detailData.contractNo = _data.contractNo;
  392. // }
  393. // this.detailData.goodsNameKey = _data.goodsNameKey ? _data.goodsNameKey : '';
  394. // if (!_data.tranCarInfoList) {
  395. // this.isPC = false
  396. // _data.tranCarInfoList = []
  397. // } else {
  398. // this.isPC = true
  399. // if (uni.getStorageSync('ContractNoCarCK')) {
  400. // this.detailData.carNo = uni.getStorageSync('ContractNoCarCK')
  401. // } else {
  402. // this.detailData.carNo = _data.tranCarInfoList[0].carNo
  403. // }
  404. // }
  405. // if (this.detailData.carNo) {
  406. // for (let i = 0; i < uni.getStorageSync('erpContractNoCK').tranCarInfoList.length; i++) {
  407. // if (uni.getStorageSync('erpContractNoCK').tranCarInfoList[i].carNo == this.detailData.carNo)
  408. // this.detailData.tranCarNo = uni.getStorageSync('erpContractNoCK').tranCarInfoList[i].tranCarNo
  409. // }
  410. // }
  411. // if (!this.detailData.contractNo) {
  412. // this.detailData.contractNo = '请选择合同编号'
  413. // } else {
  414. // if (_data.tranCarInfoList.length == 0) {
  415. // this.isPC = false
  416. // }
  417. // }
  418. if (!this.detailData.goodsName) {
  419. this.detailData.goodsName = '暂无'
  420. }
  421. let _day = new Date();
  422. _day.setTime(_day.getTime());
  423. this.detailData.inOutDate = _day.getFullYear() + "-" + (_day.getMonth() + 1) + "-" + _day.getDate();
  424. //出库类型
  425. this.outWarehouse()
  426. if (helper.erpWarehouse.personCharge) {
  427. this.detailData.agent = helper.erpWarehouse.personCharge
  428. }
  429. //经办人
  430. this.handler()
  431. this.inOutNo()
  432. },
  433. methods: {
  434. //切换车牌号输入状态
  435. carNoTypeChange(){
  436. this.carjudge = !this.carjudge
  437. if(!this.carjudge){
  438. this.detailData.selfLoading = "0"
  439. this.carChange1="手动填写"
  440. this.detailData.carNo = ""
  441. }else{
  442. this.detailData.selfLoading = "1"
  443. this.carChange1="识别下拉"
  444. this.detailData.carNo = ""
  445. }
  446. },
  447. print() {
  448. uni.navigateTo({
  449. url: '/pages/erpbusiness/exbleConnect'
  450. })
  451. },
  452. close() {
  453. this.isShowPrint = false
  454. uni.navigateBack({})
  455. },
  456. hidden(){
  457. this.$refs.keyboard.open(false)
  458. },
  459. handleShowKeyboard(){
  460. if(this.$refs.keyboard.open){
  461. this.$refs.keyboard.open(true)//true 键盘显示 false 键盘隐藏
  462. }else{
  463. this.$refs.keyboard[0].open(true)
  464. }
  465. },
  466. handleClick(e){
  467. this.detailData.carNo = e.value //键盘输入值
  468. },
  469. inOutNo() {
  470. uni.showLoading({
  471. title:"加载中...",
  472. mask:true
  473. })
  474. var that=this
  475. this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
  476. flag: 1,
  477. warehouseName: this.warehouseName,
  478. agentKey: this.userInfo.id
  479. }).then(res => {
  480. if(res.data.data.length == 0){
  481. this.$api.msg('暂无出库任务')
  482. }else{
  483. this.inOutNoList = res.data.data
  484. this.detailData.goodsNameKey = res.data.data[0].goodsNameKey
  485. this.detailData.inOutTaskNo = this.inOutNoList[0].inOutTaskNo ? this.inOutNoList[0]
  486. .inOutTaskNo : ''
  487. this.detailData.agent = this.inOutNoList[0].agent
  488. if (this.inOutNoList[0].contractNo) {
  489. this.detailData.contractNo = this.inOutNoList[0].contractNo
  490. } else {
  491. this.detailData.contractNo = this.inOutNoList[0].moveTaskNo
  492. }
  493. this.detailData.goodsName = this.inOutNoList[0].goodsName
  494. this.detailData.goodsNameKey = this.inOutNoList[0].goodsNameKey
  495. this.detailData.grade = this.inOutNoList[0].grade
  496. this.detailData.inOutType = this.inOutNoList[0].inOutType
  497. if (this.detailData.inOutType == '销售出库') {
  498. this.detailData.inOutTypeKey = 1
  499. } else if (this.detailData.inOutType == '移库出库') {
  500. this.detailData.inOutTypeKey = 3
  501. } else if (this.detailData.inOutType == '暂存出库') {
  502. this.detailData.inOutTypeKey = 4
  503. } else if (this.detailData.inOutType == '贸易服务出库') {
  504. this.detailData.inOutTypeKey = 5
  505. } else if (this.detailData.inOutType == '采购出库') {
  506. this.detailData.inOutTypeKey = 6
  507. }
  508. }
  509. console.log(this.detailData.inOutType)
  510. //查询所有的合同 进行获取车牌号
  511. this.$api.doRequest('get', '/warehouseBaseInfo/selectContractNoList', {
  512. flag: 5,
  513. compId: helper.erpWarehouse.compId,
  514. }).then(res => {
  515. if (res.data.code == 200) {
  516. for (let i = 0; i < res.data.data.length; i++) {
  517. // "MYCGYMHLJ2021102401"
  518. if (res.data.data[i].contractNo == this.detailData.contractNo) {
  519. if (this.detailData.inOutType == '销售出库') {
  520. this.detailData.tips = '买方' + res.data.data[i].buyer
  521. } else if (this.detailData.inOutType == '移库出库') {
  522. this.detailData.tips = '入货库' + this.inOutNoList[0].receiveWarehouse
  523. }
  524. //如果查到该合同
  525. // res.data.data[i].deliverType = !res.data.data[i].deliverType?'1':res.data.data[i].deliverType
  526. if (res.data.data[i].deliverType == '1') { //判断自运1,他运2合同
  527. that.showCar = true
  528. } else {
  529. that.showCar = false
  530. }
  531. if (res.data.data[i].tranCarInfoList) {
  532. for(var num = 0 ; num < res.data.data[i].tranCarInfoList.length; num++){
  533. res.data.data[i].tranCarInfoList[num].carNo1 = res.data.data[i].tranCarInfoList[num].carNo + '('+res.data.data[i].tranCarInfoList[num].tranCarNo+')'
  534. }
  535. this.carList = res.data.data[i].tranCarInfoList //车牌号下拉列表
  536. }
  537. }
  538. }
  539. uni.hideLoading()
  540. }
  541. })
  542. })
  543. // this.$api.doRequest('get', 'warehouseBaseInfo/selectContractNoList', ).then(res => {
  544. // this.contractNoList = res.data.data
  545. // for (var i = 0; i < this.contractNoList.length; i++) {
  546. // if (this.contractNoList[i].contractNo == this.detailData.contractNo) {
  547. // if (this.detailData.inOutType == '销售出库') {
  548. // this.detailData.tips = '买方' + this.contractNoList[i].buyer
  549. // } else if (this.detailData.inOutType == '移库出库') {
  550. // this.detailData.tips = '入货库' + this.inOutNoList[0].warehouseName
  551. // }
  552. // }
  553. // }
  554. // })
  555. },
  556. inOutChange(e) {
  557. this.detailData.inOutTaskNo = this.inOutNoList[e[0]].inOutTaskNo
  558. this.detailData.agent = this.inOutNoList[e[0]].agent
  559. if (this.inOutNoList[e[0]].contractNo) {
  560. this.detailData.contractNo = this.inOutNoList[e[0]].contractNo
  561. } else {
  562. this.detailData.contractNo = this.inOutNoList[e[0]].moveTaskNo
  563. }
  564. this.detailData.goodsName = this.inOutNoList[e[0]].goodsName
  565. this.detailData.goodsNameKey = this.inOutNoList[e[0]].goodsNameKey
  566. this.detailData.grade = this.inOutNoList[e[0]].grade
  567. this.detailData.inOutType = this.inOutNoList[e[0]].inOutType
  568. this.weightbills.goodsName = this.inOutNoList[e[0]].goodsName
  569. if (this.detailData.inOutType == '销售出库') {
  570. this.weightbills.buyer = this.inOutNoList[e[0]].buyer
  571. this.weightbills.seller = uni.getStorageSync('compName')
  572. if (this.detailData.tips = '买方' + this.contractNoList[e[0]].buyer) {
  573. this.detailData.tips = '买方' + this.contractNoList[e[0]].buyer +
  574. '( ' +
  575. this.contractNoList[e[0]].unitContractPrice +
  576. '元/吨)'
  577. } else {
  578. this.detailData.tips = '买方' + this.contractNoList[e[0]].buyer
  579. }
  580. } else if (this.detailData.inOutType == '移库出库') {
  581. this.weightbills.buyer = this.inOutNoList[e[0]].receiveWarehouse
  582. this.weightbills.seller = uni.getStorageSync('compName')
  583. this.detailData.tips = '入货库' + this.inOutNoList[e[0]].receiveWarehouse
  584. }
  585. },
  586. toUpperCase(val) {
  587. this.detailData.boxNo = val.detail.value.toUpperCase()
  588. },
  589. toUpperCase1(val) {
  590. this.detailData.boxNoOther = val.detail.value.toUpperCase()
  591. },
  592. usestartChange(e) {
  593. this.usestart = this.multiSelector1[e].name
  594. },
  595. //计算纯重
  596. pureWeightCount() {
  597. if (this.netWeight && this.detailData.buckleWeightRatio && this.detailData.solidGrainWater && this
  598. .detailData.tidalGrainWater) {
  599. // 纯重=净重x[100-(潮粮水分-干粮水分)x扣重比]/100
  600. this.detailData.pureWeight = 100 - (this.detailData.tidalGrainWater - this.detailData
  601. .solidGrainWater) * this.netWeight * this.detailData.buckleWeightRatio / 100
  602. this.detailData.pureWeight = this.detailData.pureWeight.toFixed(3)
  603. }
  604. },
  605. outtypeChange(e) {
  606. this.detailData.outType = this.multiSelector[e].name
  607. console.log(e)
  608. },
  609. toUpperCase2(val) {
  610. this.detailData.wingNumber = val.detail.value.toUpperCase()
  611. },
  612. toUpperCase3(val) {
  613. this.detailData.wingNumberOther = val.detail.value.toUpperCase()
  614. },
  615. outWarehouse() {
  616. this.$api.doRequest('get', '/commonSysParameter/getInfo', {
  617. constId: 'CON6'
  618. }).then(res => {
  619. this.warehousingTypeList = res.data.data
  620. })
  621. },
  622. handler() {
  623. this.$api.doRequest('get', '/staff/query/getStaffListByCompIdAndWarehouseId', {
  624. compId: helper.erpWarehouse.compId,
  625. warehouseId: helper.erpWarehouse.warehouseId
  626. }).then(res => {
  627. this.handlerList = res.data.data
  628. })
  629. },
  630. contractNopicker(e) {
  631. },
  632. typePicker(e) {
  633. this.detailData.type = this.typeList[e].type
  634. },
  635. pjPicker(e) {
  636. this.detailData.gradeKey = e[0] + 1
  637. this.detailData.grade = this.pjList[e].type
  638. },
  639. handlerPicker(e) {
  640. this.detailData.agentKey = e[0]
  641. this.detailData.agent = this.handlerList[e].staffName
  642. },
  643. dateChange(e) {
  644. this.detailData.inOutDate = e.year + "-" + e.month + "-" + e.day
  645. },
  646. warehousingTypePicker(e) {
  647. this.detailData.inOutType = this.warehousingTypeList[e].constValue
  648. if (this.detailData.inOutType == '销售出库') {
  649. this.detailData.inOutTypeKey = 1
  650. } else if (this.detailData.inOutType == '移库出库') {
  651. this.detailData.inOutTypeKey = 3
  652. } else if (this.detailData.inOutType == '暂存出库') {
  653. this.detailData.inOutTypeKey = 4
  654. } else if (this.detailData.inOutType == '贸易服务出库') {
  655. this.detailData.inOutTypeKey = 5
  656. } else if (this.detailData.inOutType == '采购出库') {
  657. this.detailData.inOutTypeKey = 6
  658. }
  659. },
  660. filterFileType(index, lists) {
  661. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  662. lists.splice(index, 1);
  663. // 当前文件不支持
  664. uni.showModal({
  665. title: '暂不支持当前图片类型',
  666. showCancel: false
  667. });
  668. } else {
  669. this.isAdd = false;
  670. }
  671. },
  672. calculate() {
  673. if (this.detailData.grossWeight && this.detailData.tare) {
  674. this.netWeight =(this.detailData.grossWeight - this.detailData.tare).toFixed(3)
  675. }
  676. },
  677. getImgUrl(res) {
  678. this.detailData.addressUrl = res
  679. },
  680. onError(error) {
  681. console.log('------------error-----------')
  682. console.log(error)
  683. },
  684. binNumberpicker(e) {
  685. this.detailData.binNumber = this.positionList[e[0]].binNumber
  686. },
  687. carPicker(e) {
  688. // this.detailData.gradeKey = e[0] + 1
  689. // this.detailData.tranCarNo = this.carList[e].tranCarNo
  690. this.detailData.carNo = this.carList[e].carNo
  691. this.detailData.tranCarNo = this.carList[e].tranCarNo
  692. this.detailData.carId = this.carList[e].id
  693. },
  694. onProgress(e) {},
  695. onRemove() {
  696. this.detailData.addressUrl = ""
  697. },
  698. submit(num) {
  699. if (!this.detailData.inOutTaskNo) {
  700. this.$api.msg('暂无出库任务')
  701. return
  702. }
  703. if (!this.detailData.contractNo) {
  704. this.$api.msg('合同编号不能为空')
  705. return
  706. }
  707. if (!this.detailData.goodsName) {
  708. this.$api.msg('货名不能为空')
  709. return
  710. }
  711. if (!this.detailData.grossWeight && num == 2) {
  712. this.$api.msg('毛重不能为空')
  713. return
  714. }
  715. if (isNaN(this.detailData.grossWeight) ||
  716. (String(this.detailData.grossWeight).indexOf('.') != -1 &&
  717. String(this.detailData.grossWeight).length -
  718. (String(this.detailData.grossWeight).indexOf('.') + 1) >
  719. 3) ||
  720. this.detailData.grossWeight < 0 ||
  721. this.detailData.grossWeight > 10000
  722. ) {
  723. this.$api.msg('毛重输入错误!')
  724. return
  725. }
  726. if (!this.detailData.tare && num == 2) {
  727. this.$api.msg('皮重不能为空')
  728. return
  729. }
  730. if (isNaN(this.detailData.tare) ||
  731. (String(this.detailData.tare).indexOf('.') != -1 &&
  732. String(this.detailData.tare).length -
  733. (String(this.detailData.tare).indexOf('.') + 1) >
  734. 3) ||
  735. this.detailData.tare < 0 ||
  736. this.detailData.tare > 10000
  737. ) {
  738. this.$api.msg('皮重输入错误!')
  739. return
  740. }
  741. if (Number(this.detailData.tare) > Number(this.detailData.grossWeight)) {
  742. this.$api.msg('皮重不能大于毛重')
  743. return
  744. }
  745. if (this.netWeight <= 0 && num == 2) {
  746. this.$api.msg('净重不能小于等于0')
  747. return
  748. }
  749. if (this.detailData.type == "潮粮") {
  750. if (!this.detailData.buckleWeightRatio && num == 2) {
  751. this.$api.msg('扣重比不能为空')
  752. return
  753. }
  754. if (isNaN(this.detailData.buckleWeightRatio) ||
  755. (String(this.detailData.buckleWeightRatio).indexOf('.') != -1 &&
  756. String(this.detailData.buckleWeightRatio).length -
  757. (String(this.detailData.buckleWeightRatio).indexOf('.') + 1) >
  758. 2) ||
  759. this.detailData.buckleWeightRatio < 0 ||
  760. this.detailData.buckleWeightRatio > 3
  761. ) {
  762. this.$api.msg('扣重比输入错误!')
  763. return
  764. }
  765. if (!this.detailData.solidGrainWater && num == 2) {
  766. this.$api.msg('干粮水分不能为空')
  767. return
  768. }
  769. if (isNaN(this.detailData.solidGrainWater) ||
  770. (String(this.detailData.solidGrainWater).indexOf('.') != -1 &&
  771. String(this.detailData.solidGrainWater).length -
  772. (String(this.detailData.solidGrainWater).indexOf('.') + 1) >
  773. 1) ||
  774. this.detailData.solidGrainWater < 1 ||
  775. this.detailData.solidGrainWater > 40
  776. ) {
  777. this.$api.msg('干粮水分输入错误!')
  778. return
  779. }
  780. if (!this.detailData.tidalGrainWater && num == 2) {
  781. this.$api.msg('潮粮水分不能为空')
  782. return
  783. }
  784. if (isNaN(this.detailData.tidalGrainWater) ||
  785. (String(this.detailData.tidalGrainWater).indexOf('.') != -1 &&
  786. String(this.detailData.tidalGrainWater).length -
  787. (String(this.detailData.tidalGrainWater).indexOf('.') + 1) >
  788. 1) ||
  789. this.detailData.tidalGrainWater < 1 ||
  790. this.detailData.tidalGrainWater > 40
  791. ) {
  792. this.$api.msg('潮粮水分输入错误!')
  793. return
  794. }
  795. if (this.detailData.tidalGrainWater <= this.detailData.solidGrainWater) {
  796. this.$api.msg('潮粮水分输入错误!')
  797. return
  798. }
  799. if (!this.detailData.pureWeight && num == 2) {
  800. this.$api.msg('纯重不能为空')
  801. return
  802. }
  803. }
  804. if (this.detailData.grade == "请输入品级" && num == 2) {
  805. this.$api.msg('品级不能为空')
  806. return
  807. }
  808. if (this.detailData.agent == "请选择经办人") {
  809. this.$api.msg('经办人不能为空')
  810. return
  811. }
  812. if (this.detailData.inOutDate == "请选择出库日期") {
  813. this.$api.msg('出库日期不能为空')
  814. return
  815. }
  816. if (this.detailData.inOutType == "请选择出库类型") {
  817. this.$api.msg('出库类型不能为空')
  818. return
  819. }
  820. if (this.detailData.outType == "集装箱船" || this.detailData.outType == "汽运") {
  821. if (!this.detailData.carNo && num == 2) {
  822. this.$api.msg('车牌号不能为空')
  823. return
  824. }
  825. if (this.detailData.carNo.length != 7) {
  826. this.$api.msg('车牌号输入有误!')
  827. return
  828. }
  829. }
  830. if (!this.detailData.addressUrl && num == 2) {
  831. this.$api.msg('请上传磅单')
  832. return
  833. }
  834. if (this.detailData.warehouseInOutDetail.qualityInspector) {
  835. if (this.detailData.warehouseInOutDetail.qualityInspector.length < 2 || this.detailData.warehouseInOutDetail
  836. .qualityInspector.length > 10) {
  837. this.$api.msg('质检员姓名需要2-10个字')
  838. return
  839. }
  840. }
  841. if (this.detailData.warehouseInOutDetail.waterContent) {
  842. if (this.detailData.type == "潮粮" && this.detailData.warehouseInOutDetail.waterContent != this
  843. .detailData.tidalGrainWater) {
  844. this.$api.msg('水分占比与潮粮水分不一致')
  845. return
  846. }
  847. if (this.detailData.type == "干粮") {
  848. if (this.detailData.warehouseInOutDetail.waterContent < 0 || this.detailData.warehouseInOutDetail
  849. .waterContent > 40) {
  850. this.$api.msg('水分占比输入错误')
  851. return
  852. }
  853. }
  854. if (String(this.detailData.warehouseInOutDetail.waterContent).indexOf('.') != -1 && String(this
  855. .detailData.warehouseInOutDetail.waterContent).length - (String(
  856. this.detailData.warehouseInOutDetail.waterContent).indexOf('.') + 1) > 1) {
  857. this.$api.msg('水分占比输入错误')
  858. return
  859. }
  860. }
  861. if (this.detailData.warehouseInOutDetail.bulkDensity) {
  862. if (this.detailData.warehouseInOutDetail.bulkDensity < 500 || this.detailData.warehouseInOutDetail
  863. .bulkDensity > 1000) {
  864. this.$api.msg('容重输入错误')
  865. return
  866. }
  867. if (String(this.detailData.warehouseInOutDetail.bulkDensity).indexOf('.') != -1 && String(this
  868. .detailData.warehouseInOutDetail.bulkDensity).length - (
  869. String(this.detailData.warehouseInOutDetail.bulkDensity).indexOf('.') + 1) > 0) {
  870. this.$api.msg('容重输入错误')
  871. return
  872. }
  873. }
  874. if (this.detailData.warehouseInOutDetail.jiaorenli) {
  875. if (this.detailData.warehouseInOutDetail.jiaorenli < 0 || this.detailData.warehouseInOutDetail
  876. .jiaorenli > 40) {
  877. this.$api.msg('热损伤占比输入错误')
  878. return
  879. }
  880. if (String(this.detailData.warehouseInOutDetail.jiaorenli).indexOf('.') != -1 && String(this.detailData
  881. .warehouseInOutDetail.jiaorenli).length - (String(
  882. this.detailData.warehouseInOutDetail.jiaorenli).indexOf('.') + 1) > 1) {
  883. this.$api.msg('热损伤占比输入错误')
  884. return
  885. }
  886. }
  887. if (this.detailData.warehouseInOutDetail.impurity) {
  888. if (this.detailData.warehouseInOutDetail.impurity < 0 || this.detailData.warehouseInOutDetail
  889. .impurity > 40) {
  890. this.$api.msg('杂质占比输入错误')
  891. return
  892. }
  893. if (String(this.detailData.warehouseInOutDetail.impurity).indexOf('.') != -1 && String(this.detailData
  894. .warehouseInOutDetail.impurity).length - (String(
  895. this.detailData.warehouseInOutDetail.impurity).indexOf('.') + 1) > 1) {
  896. this.$api.msg('杂质占比输入错误')
  897. return
  898. }
  899. }
  900. if (this.detailData.warehouseInOutDetail.mildewGrain) {
  901. if (this.detailData.warehouseInOutDetail.mildewGrain < 0 || this.detailData.warehouseInOutDetail
  902. .mildewGrain > 40) {
  903. this.$api.msg('霉变粒占比输入错误')
  904. return
  905. }
  906. if (String(this.detailData.warehouseInOutDetail.mildewGrain).indexOf('.') != -1 && String(this
  907. .detailData
  908. .warehouseInOutDetail.mildewGrain).length - (String(
  909. this.detailData.warehouseInOutDetail.mildewGrain).indexOf('.') + 1) > 1) {
  910. this.$api.msg('霉变粒占比输入错误')
  911. return
  912. }
  913. }
  914. if (this.detailData.warehouseInOutDetail.imperfectGrain) {
  915. if (this.detailData.warehouseInOutDetail.imperfectGrain < 0 || this.detailData.warehouseInOutDetail
  916. .imperfectGrain > 40) {
  917. this.$api.msg('不完善粒占比输入错误')
  918. return
  919. }
  920. if (String(this.detailData.warehouseInOutDetail.imperfectGrain).indexOf('.') != -1 && String(this
  921. .detailData
  922. .warehouseInOutDetail.imperfectGrain).length - (String(
  923. this.detailData.warehouseInOutDetail.imperfectGrain).indexOf('.') + 1) > 1) {
  924. this.$api.msg('不完善粒占比输入错误')
  925. return
  926. }
  927. }
  928. if(!this.showCar){//若自运的合同该字段置空
  929. this.detailData.selfLoading = ""
  930. }
  931. if (this.detailData.boxNo) {
  932. this.detailData.boxNo = this.detailData.boxNo.toUpperCase()
  933. }
  934. if (this.detailData.boxNoOther) {
  935. this.detailData.boxNoOther = this.detailData.boxNoOther.toUpperCase()
  936. }
  937. this.detailData.baseId = helper.erpWarehouse.warehouseId
  938. this.detailData.warehouseName = helper.erpWarehouse.warehouseName
  939. this.detailData.positionId = helper.erpWarehouse.positionId
  940. this.detailData.binNumber = this.binNumber
  941. this.detailData.compId = helper.erpWarehouse.compId
  942. this.detailData.netWeight = this.netWeight
  943. this.detailData.inOutFlag = 1
  944. this.detailData.taskType = "出库任务"
  945. this.detailData.pcFlag = 0
  946. let title = ""
  947. if (num == 1) {
  948. this.detailData.statusFlag = 1
  949. this.detailData.backOffice = this.userInfo.userName
  950. this.detailData.backOfficeId = this.userInfo.id
  951. title = "暂存成功"
  952. } else if (num == 2) {
  953. this.detailData.statusFlag = 3
  954. this.detailData.backOffice = this.userInfo.userName
  955. this.detailData.backOfficeId = this.userInfo.id
  956. title = "提交成功"
  957. }
  958. let that = this
  959. uni.showModal({
  960. content: "确定提交出库信息?",
  961. success(res) {
  962. if (res.confirm) {
  963. that.$api.doRequest('post', '/warehouseInOutInfo/InOutWarehouse',
  964. that.detailData).then(res => {
  965. console.log(res, "报异常")
  966. if (res.data.code == 200) {
  967. that.weightbills.carNo = that.detailData.carNo
  968. that.weightbills.boxNo = that.detailData.boxNo
  969. that.weightbills.boxNoOther = that.detailData.boxNoOther
  970. that.weightbills.wingNumber = that.detailData.wingNumber
  971. that.weightbills.wingNumberOther = that.detailData.wingNumberOther
  972. that.weightbills.shipName = that.detailData.shipName
  973. that.weightbills.shipNumber = that.detailData.shipNumber
  974. that.weightbills.type = that.detailData.type
  975. that.weightbills.grossWeight = that.detailData.grossWeight
  976. that.weightbills.tare = that.detailData.tare
  977. that.weightbills.netWeight = that.detailData.netWeight
  978. that.weightbills.outType = that.detailData.outType
  979. that.weightbills.backOffice = that.detailData.outType
  980. var date = new Date()
  981. that.weightbills.updateDate = date.getFullYear() + '-' + (date
  982. .getMonth() + 1) + '-' + date.getDate() + ' ' + date
  983. .getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()
  984. that.$api.msg(title)
  985. that.isShowPrint = true
  986. uni.setStorageSync("exWarehousing_print", that.weightbills)
  987. // setTimeout(() => {
  988. // uni.navigateBack()
  989. // }, 1000)
  990. } else {
  991. that.$api.msg(res.data.message)
  992. }
  993. })
  994. }
  995. }
  996. })
  997. },
  998. slectcontractNo() {
  999. uni.navigateTo({
  1000. url: '/pages/erp/exWarehousing/selectContractNo?flag=' + 5
  1001. })
  1002. },
  1003. slectCarNo() {
  1004. uni.navigateTo({
  1005. url: '/pages/erp/exWarehousing/selectCarNo'
  1006. })
  1007. },
  1008. }
  1009. }
  1010. </script>
  1011. <style scoped lang="scss">
  1012. uni-page-body {
  1013. overflow: hidden;
  1014. }
  1015. .warp {
  1016. margin: 10rpx;
  1017. padding: 20rpx 20rpx 300rpx 20rpx;
  1018. .top {
  1019. display: flex;
  1020. margin-bottom: 20rpx;
  1021. align-items: center;
  1022. .top-left {
  1023. margin-right: 20rpx;
  1024. }
  1025. }
  1026. }
  1027. .content,
  1028. .content1,
  1029. .content2 {
  1030. border-radius: 20rpx;
  1031. background: white;
  1032. padding: 20rpx;
  1033. .title {
  1034. font-size: 28rpx;
  1035. font-weight: 600;
  1036. color: #333333;
  1037. }
  1038. .row {
  1039. display: flex;
  1040. justify-content: space-between;
  1041. border-bottom: 1px solid #EEEEEE;
  1042. padding: 21rpx 0;
  1043. .right,
  1044. input {
  1045. font-size: 28rpx;
  1046. color: #333333;
  1047. }
  1048. }
  1049. .row-bottom {
  1050. // border: 0;
  1051. .right-bottom {
  1052. width: 280rpx;
  1053. text-align: right;
  1054. }
  1055. }
  1056. }
  1057. .content1 {
  1058. margin-top: 20rpx;
  1059. }
  1060. .content2 {
  1061. margin-top: 10px;
  1062. // display: flex;
  1063. align-items: center;
  1064. .left {
  1065. margin-right: 20px;
  1066. }
  1067. }
  1068. .submit {
  1069. width: 40%;
  1070. background: #22C572;
  1071. border-radius: 10rpx;
  1072. }
  1073. .edit-btn {
  1074. background: #22C572;
  1075. width: 100rpx;
  1076. height: 50rpx;
  1077. margin: 0;
  1078. color: white;
  1079. }
  1080. .has-btn {
  1081. align-items: center;
  1082. }
  1083. .bottom-btn {
  1084. padding: 30rpx;
  1085. background: #FFFFFF;
  1086. width: 92%;
  1087. position: fixed;
  1088. bottom: 0rpx;
  1089. display: flex;
  1090. z-index: 9999;
  1091. }
  1092. .buns_item {
  1093. display: flex;
  1094. padding: 80rpx 0 50rpx 0;
  1095. justify-content: space-around;
  1096. }
  1097. .but_css {
  1098. background: #22C572;
  1099. width: 40%;
  1100. padding: 20rpx;
  1101. color: #fff;
  1102. text-align: center;
  1103. border-radius: 20rpx;
  1104. }
  1105. .carNo_but{
  1106. // padding: 2rpx 5rpx;
  1107. background: #19be6b;
  1108. line-height: 50rpx;
  1109. text-align: center;
  1110. width: 130rpx!important;
  1111. height: 50rpx;
  1112. color: #FFFFFF;
  1113. border-radius: 10rpx;
  1114. }
  1115. </style>