exWarehousing.vue 38 KB

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