salecontract.vue 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363
  1. <template>
  2. <view class="container">
  3. <view class="headInfo">
  4. <view class="headInfo_left">
  5. <u-icon name="checkmark" color="#22C572" size="30" v-if="auditCheck=='success'"></u-icon>
  6. <u-icon name="close" color="#FB2323" size="24" v-if="auditCheck=='error'"></u-icon>
  7. <u-icon name="clock-fill" color="#FE6430" size="30" v-if="auditCheck=='question'"></u-icon>
  8. </view>
  9. <view class="headInfo_middle">
  10. <view class="headInfo_title">销售合同审批</view>
  11. <view class="headInfo_No">{{list.contractNo}}</view>
  12. </view>
  13. <view class="headInfo_right">
  14. <view class="char_a" v-if="auditCheck == 'success'">审批通过</view>
  15. <view class="char_b" v-if="auditCheck == 'question'">审核中</view>
  16. <view class="char_c" v-if="auditCheck == 'error'">审批未通过</view>
  17. </view>
  18. <view class="adopt" v-if="auditCheck == 'success'">
  19. <image src="../../../static/img/oa_office/adopt.png" class="adopt_img" mode=""></image>
  20. </view>
  21. </view>
  22. <u-form ref="uForm" >
  23. <view class="form_top">基本信息</view>
  24. <u-form-item label-width='260' :borderBottom="false" class="label_css" label="合同编号">
  25. <u-input v-model="list.contractNo" input-align="right" placeholder="--" disabled />
  26. </u-form-item>
  27. <u-form-item label-width='260' :borderBottom="false" label="买方">
  28. <u-input v-model="list.buyer" input-align="right" placeholder="--" disabled />
  29. </u-form-item>
  30. <u-form-item label-width='260' :borderBottom="false" label="买方电话">
  31. <u-input v-model="list.buyerPhone" input-align="right" placeholder="--" disabled />
  32. </u-form-item>
  33. <u-form-item label-width='260' :borderBottom="false" label="卖方">
  34. <u-input v-model="list.seller" input-align="right" placeholder="--" disabled />
  35. </u-form-item>
  36. <u-form-item label-width='260' :borderBottom="false" label="卖方电话">
  37. <u-input v-model="list.sellerPhone" input-align="right" placeholder="--" disabled />
  38. </u-form-item>
  39. <u-form-item label-width='260' label="合营方" :borderBottom="false" v-show="list.jointVentureParties">
  40. <u-input v-model="list.jointVentureParties" input-align="right" placeholder="--" disabled />
  41. </u-form-item>
  42. <u-form-item label-width='260' label="合营方电话" :borderBottom="false" v-show="list.jointPhone">
  43. <u-input v-model="list.jointPhone" input-align="right" placeholder="--" disabled />
  44. </u-form-item>
  45. <u-form-item label-width='260' :borderBottom="false" label="中转公司">
  46. <u-input v-model="list.transitCompany" input-align="right" placeholder="--" disabled />
  47. </u-form-item>
  48. <u-form-item label-width='260' :borderBottom="false" label="交货日期(起 - 止)" v-show="list.deliveryDateStart">
  49. <view class="textCss">
  50. {{list.deliveryDateStart }} ~ {{list.deliveryDateEnd}}
  51. </view>
  52. </u-form-item>
  53. <!-- <u-form-item label-width='260' :borderBottom="false" label="交货日期(止)">
  54. <u-input v-model="list.deliveryDateEnd" input-align="right" placeholder="--" disabled />
  55. </u-form-item> -->
  56. <u-form-item label-width='150' :borderBottom="false" label="签订日期">
  57. <u-input v-model="list.signingDate" input-align="right" placeholder="--" disabled />
  58. </u-form-item>
  59. <u-form-item label-width='230' :borderBottom="false" label="合同总价(元)">
  60. <u-input v-model="list.totalContractPrice" input-align="right" placeholder="--" disabled />
  61. </u-form-item>
  62. <u-form-item label-width='260' :borderBottom="false" label="合同单价(元/吨)">
  63. <u-input v-model="list.unitContractPrice" input-align="right" placeholder="--" disabled />
  64. </u-form-item>
  65. <u-form-item label-width='260' :borderBottom="false" label="货源所在地区" v-show="list.sourceProvince">
  66. <view class="textCss">
  67. {{list.sourceProvince}}{{list.sourceCity}}{{list.sourceArea}}
  68. </view>
  69. </u-form-item>
  70. <u-form-item label-width='260' :borderBottom="false" label="货源详细地址" v-show="list.sourceGoods">
  71. <u-input v-model="list.sourceGoods" input-align="right" placeholder="--" disabled />
  72. </u-form-item>
  73. <u-form-item label-width='260' :borderBottom="false" label="交货地所在地区" v-show="list.deliveryProvince">
  74. <view class="textCss">
  75. {{list.deliveryProvince}}{{list.deliveryCity}}{{list.deliveryArea}}
  76. </view>
  77. </u-form-item>
  78. <u-form-item label-width='260' :borderBottom="false" label="交货地详细地址" v-show="list.placeDelivery">
  79. <u-input v-model="list.placeDelivery" input-align="right" placeholder="--" disabled />
  80. </u-form-item>
  81. <u-form-item label-width='300' :borderBottom="false" label="最终实际交易量(吨)">
  82. <u-input v-model="list.finalTradingVolume" input-align="right" placeholder="--" disabled />
  83. </u-form-item>
  84. <u-form-item label-width='300' :borderBottom="false" label="结算单价(元/吨)" v-show="list.settlementPrice">
  85. <u-input v-model="list.settlementPrice" input-align="right" placeholder="--" disabled />
  86. </u-form-item>
  87. <u-form-item label-width='260' :borderBottom="false" label="合同收入(元)" v-show="list.contractProcessInfo.goodsNameKey">
  88. <u-input v-model="list.contractProcessInfo.goodsNameKey" input-align="right" placeholder="--" disabled />
  89. </u-form-item>
  90. <u-form-item label-width='260' :borderBottom="false" label="已开发票(元)" v-show="list.contractProcessInfo.goodsName">
  91. <u-input v-model="list.contractProcessInfo.goodsName" input-align="right" placeholder="--" disabled />
  92. </u-form-item>
  93. <u-form-item label-width='260' :borderBottom="false" label="费用支出(元)" v-show="list.contractProcessInfo.waterContent">
  94. <u-input v-model="list.contractProcessInfo.waterContent" input-align="right" placeholder="--" disabled />
  95. </u-form-item>
  96. <u-form-item label-width='260' :borderBottom="false" label="未开发票(元)" v-show="list.contractProcessInfo.impurity">
  97. <u-input v-model="list.contractProcessInfo.impurity" input-align="right" placeholder="--" disabled />
  98. </u-form-item>
  99. <u-form-item label-width='260' :borderBottom="false" label="未回款(元)" v-show="list.contractProcessInfo.mildewGrain">
  100. <u-input v-model="list.contractProcessInfo.mildewGrain" input-align="right" placeholder="--" disabled />
  101. </u-form-item>
  102. <u-form-item label-width='260' :borderBottom="false" label="双章原件回收情况" v-show="list.contractProcessInfo.grade">
  103. <u-input v-model="list.contractProcessInfo.grade" input-align="right" placeholder="--" disabled />
  104. </u-form-item>
  105. <u-form-item label-width='260' :borderBottom="false" label="备注信息" v-show="list.contractProcessInfo.grade">
  106. </u-form-item>
  107. <!-- <view class="form_top">备注信息</view> -->
  108. <u-form-item>
  109. <textarea class='textarea' autoHeight v-model="list.remarks" input-align="right" placeholder="暂无备注信息" disabled />
  110. </u-form-item>
  111. </u-form>
  112. <u-form ref="uForm">
  113. <view class="form_top">货物信息</view>
  114. <view class="form_view" style="background: #F9F9FA;">
  115. <u-row customStyle="margin-bottom: 10px;">
  116. <u-col span="6">
  117. <u-form-item label-width='100' :borderBottom="false" label="货名" class="label_css">
  118. <u-input v-model="list.contractGoodsInfo.goodsName" class="input_css" input-align="right" placeholder="--"
  119. disabled />
  120. </u-form-item>
  121. </u-col>
  122. <u-col span="6">
  123. <u-form-item label-width='150' :borderBottom="false" label="品级" class="label_css">
  124. <u-input v-model="list.contractGoodsInfo.grade" class="input_css" input-align="right" placeholder="--"
  125. disabled />
  126. </u-form-item>
  127. </u-col>
  128. </u-row>
  129. <u-row customStyle="margin-bottom: 10px;">
  130. <u-col span="6">
  131. <u-form-item label-width='230' :borderBottom="false" label="容重(克/升)>=" class="label_css">
  132. <u-input v-model="list.contractGoodsInfo.bulkDensity" class="input_css" input-align="right" placeholder="--"
  133. disabled />
  134. </u-form-item>
  135. </u-col>
  136. <u-col span="6">
  137. <u-form-item label-width='230' :borderBottom="false" label="水分(%)<=" class="label_css">
  138. <u-input v-model="list.contractGoodsInfo.waterContent" class="input_css" input-align="right" placeholder="--"
  139. disabled />
  140. </u-form-item>
  141. </u-col>
  142. </u-row>
  143. <u-row customStyle="margin-bottom: 10px;">
  144. <u-col span="6">
  145. <u-form-item label-width='230' :borderBottom="false" label="热损伤(%)<=" class="label_css">
  146. <u-input v-model="list.contractGoodsInfo.jiaorenli" class="input_css" input-align="right" placeholder="--"
  147. disabled />
  148. </u-form-item>
  149. </u-col>
  150. <u-col span="6">
  151. <u-form-item label-width='230' :borderBottom="false" label="杂质(%)<=" class="label_css">
  152. <u-input v-model="list.contractGoodsInfo.impurity" class="input_css" input-align="right" placeholder="--"
  153. disabled />
  154. </u-form-item>
  155. </u-col>
  156. </u-row>
  157. <u-row customStyle="margin-bottom: 10px;">
  158. <u-col span="6">
  159. <u-form-item label-width='230' :borderBottom="false" label="霉变粒(%)<=" class="label_css">
  160. <u-input v-model="list.contractGoodsInfo.mildewGrain" class="input_css" input-align="right" placeholder="--"
  161. disabled />
  162. </u-form-item>
  163. </u-col>
  164. <u-col span="6">
  165. <u-form-item label-width='240' :borderBottom="false" label="不完善粒(%)<=" class="label_css">
  166. <u-input v-model="list.contractGoodsInfo.imperfectGrain" class="input_css" input-align="right" placeholder="--"
  167. disabled />
  168. </u-form-item>
  169. </u-col>
  170. </u-row>
  171. </view>
  172. </u-form>
  173. <u-form ref="uForm">
  174. <view class="form_top">约定信息</view>
  175. <view class="form_view">
  176. <u-row customStyle="margin-bottom: 10px;">
  177. <u-col span="6">
  178. <u-form-item label-width='150' :borderBottom="false" label="结算方式" class="label_css">
  179. <u-input v-model="list.settlementMethod" class="input_css" input-align="right" placeholder="--" disabled />
  180. </u-form-item>
  181. </u-col>
  182. <u-col span="6">
  183. <u-form-item label-width='150' :borderBottom="false" label="交货方式" class="label_css">
  184. <u-input v-model="list.deliverType1" class="input_css" input-align="right" placeholder="--" disabled />
  185. </u-form-item>
  186. </u-col>
  187. </u-row>
  188. <u-row customStyle="margin-bottom: 10px;">
  189. <u-col span="6">
  190. <u-form-item label-width='150' :borderBottom="false" label="运输方式" class="label_css">
  191. <u-input v-model="list.shippingType" input-align="right" class="input_css" placeholder="--" disabled />
  192. </u-form-item>
  193. </u-col>
  194. <u-col span="6">
  195. <u-form-item label-width='150' :borderBottom="false" label="交易主体" class="label_css">
  196. <u-input v-model="list.transactionSubject" input-align="right" class="input_css" placeholder="--" disabled />
  197. </u-form-item>
  198. </u-col>
  199. </u-row>
  200. <u-row customStyle="margin-bottom: 10px;">
  201. <u-col span="6">
  202. <u-form-item label-width='150' :borderBottom="false" label="验收方式" class="label_css">
  203. <u-input v-model="list.acceptanceMethod" input-align="right" class="input_css" placeholder="--" disabled />
  204. </u-form-item>
  205. </u-col>
  206. <u-col span="6">
  207. <u-form-item label-width='150' :borderBottom="false" label="包装方式" class="label_css">
  208. <u-input v-model="list.packingMethod" input-align="right" class="input_css" placeholder="--" disabled />
  209. </u-form-item>
  210. </u-col>
  211. </u-row>
  212. <u-row customStyle="margin-bottom: 10px;">
  213. <u-col span="6">
  214. <u-form-item label-width='150' :borderBottom="false" label="重量(吨)" class="label_css">
  215. <u-input v-model="list.weight" input-align="right" class="input_css" placeholder="--" disabled />
  216. </u-form-item>
  217. </u-col>
  218. <u-col span="6">
  219. <u-form-item label-width='180' :borderBottom="false" label="溢短装(%)" class="label_css">
  220. <u-input v-model="list.overShort" input-align="right" class="input_css" placeholder="--" disabled />
  221. </u-form-item>
  222. </u-col>
  223. </u-row>
  224. </view>
  225. </u-form>
  226. <u-form ref="uForm">
  227. <view class="form_top">共{{imglist.length}}个附件</view>
  228. <view v-if='imglist.length>0'>
  229. <view style="justify-content: space-between;" class='flex' v-for='item in imglist'>
  230. <view class="img_item">
  231. <view class="" style="width: 16%;">
  232. <image
  233. v-if="item.type == 'pdf'"
  234. class="imgsign" src="../../../static/img/oa_office/pdf3.png"
  235. mode=""></image>
  236. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  237. class="imgsign" src="../../../static/img/oa_office/excle3.png"
  238. mode=""></image>
  239. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  240. class="imgsign" src="../../../static/img/oa_office/word3.png"
  241. mode=""></image>
  242. <image v-else class="imgsign" :src="item.appendixPath" mode="">
  243. </image>
  244. </view>
  245. <view class="" style="width: 70%;">
  246. <view class="char_css">{{item.appendixName}}</view>
  247. <u-line-progress v-if='item.progressstatus' :striped="true" :percent="item.progress" :striped-active="true"></u-line-progress>
  248. <view class="img_size">{{item.appendixSize}}</view>
  249. </view>
  250. <view style="color: #22C572;" class="img_dowload" @click="openDocument(item)">
  251. 下载
  252. </view>
  253. </view>
  254. </view>
  255. </view>
  256. </u-form>
  257. <u-form ref="uForm">
  258. <view class="form_top">流程</view>
  259. <view class="content2">
  260. <view v-for="(item,index) in auditList" :key='index' class="audit">
  261. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  262. <view class="left">
  263. <view class="item1">
  264. <view class="item-content">{{item.operatorTitle}}</view>
  265. <view v-if="item.status=='success'" class='status success'>
  266. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  267. </view>
  268. <view v-if="item.status=='error'" class='status error'>
  269. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  270. </view>
  271. <view v-if="item.status=='question'" class='status question'>
  272. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  273. </view>
  274. </view>
  275. </view>
  276. <view class="right">
  277. <view class="right-item">
  278. <view class="item2">
  279. <view class="name">{{item.desc}}
  280. </view>
  281. <!-- <view class='time'>{{item.updateDate}}</view> -->
  282. <view v-if="item.status=='success'" class="status success">
  283. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  284. v-if='!item.commonStaffs1&&index!=0'>已审核</text>
  285. </view>
  286. <view v-if="item.status=='error'" class="status error">
  287. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  288. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  289. </view>
  290. <view v-if="item.status=='question'" class="status question">
  291. {{item.commonStaffs1?item.staffscontent:''}}<text
  292. v-if='!item.commonStaffs1'>未审核</text>
  293. </view>
  294. <!-- <view class="status success">吕波(已审核)</view> -->
  295. </view>
  296. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  297. class='time'>
  298. {{item.updateDate}}
  299. </view>
  300. </view>
  301. <view v-if='item.auditMind' class="right-content">
  302. {{item.auditMind}}
  303. </view>
  304. <view class="flex audit_img">
  305. <view v-for="(items,indexs) in item.fileUrl" class="url_css">
  306. <image :src="items" mode="aspectFill" class="url_img" @click="auditFile(items)"></image>
  307. </view>
  308. </view>
  309. </view>
  310. <view v-if='item.commonStaffs1' class="right">
  311. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  312. </u-icon>
  313. </view>
  314. </view>
  315. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  316. <view class='row2'>
  317. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  318. <view class="item-content">
  319. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  320. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  321. </view>
  322. <view class="name">{{item1.staffName}}</view>
  323. </view>
  324. </view>
  325. </view>
  326. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  327. </view>
  328. </view>
  329. </u-form>
  330. <view v-if='list.taskId' style='padding:10px;' class='flex bottom-btn'>
  331. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  332. 驳回
  333. </u-button>
  334. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过
  335. </u-button>
  336. </view>
  337. <view v-if='show' class="shade">
  338. <view class="wrap">
  339. <view class="alert-top">
  340. <view class="title">
  341. {{title}}
  342. </view>
  343. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  344. </view>
  345. <view class="content1">
  346. <view class="u-textarea-style">
  347. <view class="right-bottom">
  348. {{auditMind.length}}/1000个字
  349. </view>
  350. <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30" rows="11"></textarea>
  351. </view>
  352. <view class="upload_css">
  353. 上传附件
  354. <u-upload :custom-btn='true' class="upload" ref="upload" name='fileName' :form-data="{companyId: pcUserInfo.compId,
  355. modelId: '',
  356. vesselId: ''}" :action="action" :show-tips="false" :max-size="maxSize" :max-count="9"
  357. :size-type="['compressed']" @on-success="getImgUrl($event)" @on-error="onError"
  358. @on-remove="onRemove" @on-uploaded="isAdd = true" :limitType ="['png', 'jpg', 'jpeg', 'webp', 'gif']"
  359. @on-progress="onProgress">
  360. <view slot="addBtn" class="slot-btn u-list-item" hover-class="slot-btn__hover" hover-stay-time="150">
  361. <image style="width:23px;height:23px;" src="../../../static/img/liangmai/xiangji-2.png" mode=""></image>
  362. <view>选择图片</view>
  363. </view>
  364. </u-upload>
  365. <!-- <upload :form-data="{companyId: pcUserInfo.compId,
  366. modelId: '',
  367. vesselId: ''}" class="upload" :width="150" ref="upload" :action="action" :max-size="maxSize" :max-count="99"
  368. :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  369. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload> -->
  370. </view>
  371. </view>
  372. <view class="audit_btn">
  373. <view @click='close()' class="cancel">取消</view>
  374. <view @click='passSubmit()' class="confirm">确定</view>
  375. </view>
  376. </view>
  377. </view>
  378. <view @click='imgShow=false' v-if="imgShow" class="shade">
  379. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  380. </view>
  381. </view>
  382. </template>
  383. <script>
  384. import upload from '@/components/upload.vue';
  385. import helper from '@/common/helper.js';
  386. export default {
  387. components: {
  388. upload
  389. },
  390. data() {
  391. return {
  392. everyCheck: '',
  393. id: "",
  394. currentPage: 1,
  395. pageSize: 10,
  396. list: {
  397. status: "",
  398. contractGoodsInfo: {},
  399. contractProcessInfo: {}
  400. },
  401. imglist: [],
  402. title: '',
  403. auditMind: '',
  404. auditList: [],
  405. show: false,
  406. contractNo: "",
  407. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  408. isAdd: true,
  409. url: "",
  410. imgShow: false,
  411. height: 200,
  412. autoHeight: true,
  413. border: false,
  414. rejectInfo: "",
  415. rejectInfo1: "",
  416. isSHowBtn: true,
  417. pcUserInfo :uni.getStorageSync('pcUserInfo'),
  418. auditCheck:"question",//判断审核是否通过
  419. // 上传附件、
  420. action: this.$uploadUrl,
  421. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  422. isAdd: true,
  423. fileUrl: []
  424. }
  425. },
  426. onBackPress(e) {
  427. if (this.everyCheck) {
  428. uni.navigateTo({
  429. url: "/pages/task/my_task"
  430. })
  431. return true;
  432. }
  433. },
  434. onLoad(options) {
  435. this.id = options.id
  436. this.everyCheck = uni.getStorageSync("everyTask")
  437. this.isSHowBtn = options.isShowbtn
  438. this.getList()
  439. },
  440. methods: {
  441. auditFile(src) {
  442. uni.downloadFile({
  443. url: src,
  444. success: function(res) {
  445. var filePath = res.tempFilePath;
  446. uni.openDocument({
  447. filePath: filePath,
  448. showMenu: true,
  449. success: function(res) {
  450. console.log('打开文档成功');
  451. }
  452. });
  453. }
  454. });
  455. },
  456. getImgUrl(res) {
  457. this.fileUrl.push(res.data.appendixPath)
  458. },
  459. onError(error) {
  460. alert(error)
  461. console.log('------------error-----------')
  462. console.log(error)
  463. },
  464. onProgress(e) {
  465. console.log(e)
  466. },
  467. onRemove(index) {
  468. this.fileUrl.splice(index, 1)
  469. },
  470. openDocument(item) {
  471. this.$set(item,'progressstatus',true)
  472. this.$forceUpdate()
  473. const downloadTask =uni.downloadFile({
  474. url: item.appendixPath,
  475. success: function(res) {
  476. var filePath = res.tempFilePath;
  477. if(item.type=='pdf'||item.type == 'xls'||item.type == 'xlsx'||item.type == 'doc'||item.type == 'docx'){
  478. uni.openDocument({
  479. filePath: filePath,
  480. showMenu: true,
  481. success: function(res) {
  482. console.log('打开文档成功');
  483. }
  484. });
  485. }else{
  486. uni.previewImage({
  487. current: 0, //预览图片的下标
  488. urls: [item.appendixPath]
  489. })
  490. }
  491. }
  492. });
  493. downloadTask.onProgressUpdate((res) => {
  494. this.$set(item,'progress',res.progress)
  495. this.$forceUpdate()
  496. console.log('下载进度' + res.progress);
  497. console.log('已经下载的数据长度' + res.totalBytesWritten);
  498. console.log('预期需要下载的数据总长度' + res.totalBytesExpectedToWrite);
  499. // 满足测试条件,取消下载任务。
  500. // if (res.progress > 50) {
  501. // downloadTask.abort();
  502. // }
  503. });
  504. },
  505. shadeshow(url) {
  506. this.imgShow = true
  507. this.url = url
  508. },
  509. showcontent(item) {
  510. item.showflow = !item.showflow
  511. },
  512. getList(id) {
  513. var that = this
  514. uni.showLoading({
  515. title: '加载中',
  516. mask: true
  517. })
  518. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  519. id: this.id
  520. }).then(res => {
  521. if (res.data.code == 200) {
  522. this.list = res.data.data
  523. if (this.list.deliverType == 1) {
  524. this.list.deliverType1 = '我方送货'
  525. } else if (this.list.deliverType == 2) {
  526. this.list.deliverType1 = '对方自提'
  527. }
  528. this.$api.doRequest('get', '/appendix/query/getFileList', {
  529. appendixIds: that.list.addressUrl
  530. }).then(res1 => {
  531. that.imglist = res1.data.data
  532. for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  533. that.imglist[i].progressstatus=false
  534. that.imglist[i].progress=0
  535. if (that.imglist[i].appendixName) {
  536. let index = that.imglist[i].appendixName.lastIndexOf(".")
  537. that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  538. }
  539. }
  540. // 审核流程
  541. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  542. businessCode: 'SALE-CONTRACT-APPROVE',
  543. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  544. }).then(res1 => {
  545. this.$api.doRequest('get', '/commonUser/getHis', {
  546. workflowId: res1.data.data[0].id,
  547. businessKey: this.id,
  548. branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  549. }).then(response => {
  550. uni.hideLoading()
  551. for (let i = 0; i < response.data.data.length; i++) {
  552. this.$set(response.data.data[i], 'status', 'question')
  553. // console.log(response.data.data[i].workflowHistoricTasks,i)
  554. if (response.data.data[i].commonStaffs) {
  555. response.data.data[i].showflow = false
  556. response.data.data[i].operatorTitle = response.data.data[i]
  557. .desc.substring(0, 2)
  558. response.data.data[i].operatorName = response.data.data[i]
  559. .desc
  560. response.data.data[i].staffscontent = '共' + response.data
  561. .data[i].commonStaffs.length + '人,当前审核' + response.data
  562. .data[i].workflowHistoricTasks.length + '人'
  563. if (response.data.data[i].workflowHistoricTasks && response
  564. .data.data[i].workflowHistoricTasks.length > 0) {
  565. if (response.data.data[i].workflowHistoricTasks
  566. .length != response.data.data[i].commonStaffs
  567. .length) {
  568. // response.data.data[i].status='question'
  569. this.$set(response.data.data[i], 'status',
  570. 'question')
  571. } else {
  572. this.$set(response.data.data[i], 'status',
  573. 'success')
  574. // response.data.data[i].status='success'
  575. }
  576. response.data.data[i].workflowlen = response.data.data[
  577. i].workflowHistoricTasks.length
  578. var workflowdata = response.data.data[i]
  579. .workflowHistoricTasks
  580. var staffsdata = response.data.data[i].commonStaffs
  581. for (let q = 0; q < staffsdata.length; q++) {
  582. staffsdata[q].status = false
  583. staffsdata[q].staffTitle = staffsdata[q].staffName
  584. for (let k = 0; k < workflowdata.length; k++) {
  585. if (staffsdata[q].staffId == workflowdata[k]
  586. .operatorId) {
  587. staffsdata[q].status = true
  588. }
  589. }
  590. }
  591. }
  592. response.data.data[i].commonStaffs1 = response.data.data[i]
  593. .commonStaffs
  594. } else {
  595. if (response.data.data[i].workflowHistoricTasks && response
  596. .data.data[i].workflowHistoricTasks.length > 0) {
  597. var len = response.data.data[i].workflowHistoricTasks
  598. .length - 1
  599. if (response.data.data[i].workflowHistoricTasks[len]
  600. .approved) {
  601. this.$set(response.data.data[i], 'status',
  602. 'success')
  603. } else {
  604. this.$set(response.data.data[i], 'status', 'error')
  605. }
  606. response.data.data[i].operatorTitle = response.data
  607. .data[i].workflowHistoricTasks[len].operatorName
  608. .substring(response.data.data[i]
  609. .workflowHistoricTasks[0].operatorName.length -
  610. 2)
  611. response.data.data[i].operatorName = response.data
  612. .data[i].workflowHistoricTasks[len].operatorName
  613. var time = new Date(response.data.data[i]
  614. .workflowHistoricTasks[len].claimTime)
  615. .getTime()
  616. response.data.data[i].updateDate = this.$u.timeFormat(
  617. time, 'mm.dd hh:MM')
  618. // response.data.data[i].auditMind = response.data.data[i]
  619. // .workflowHistoricTasks[len].auditMind
  620. // 显示附件和审核意见
  621. if (response.data.data[i].workflowHistoricTasks[len].auditMind && response.data.data[i].workflowHistoricTasks[len].auditMind.indexOf("##") !=-1) {
  622. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[0]
  623. response.data.data[i].fileUrl = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[1].split(",")
  624. }else{
  625. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind
  626. }
  627. } else {
  628. this.$set(response.data.data[i], 'status', 'question')
  629. // response.data.data[i].status='question'
  630. if (response.data.data[i].desc == '总经理助理审核') {
  631. response.data.data[i].operatorTitle = '总助'
  632. } else if (response.data.data[i].desc == '杜大光审核') {
  633. response.data.data[i].operatorTitle = '大光'
  634. } else {
  635. response.data.data[i].operatorTitle = response.data
  636. .data[i].desc.substring(0, 2)
  637. }
  638. response.data.data[i].operatorName = response.data
  639. .data[i].desc
  640. var time1 = new Date(response.data.data[i].updateDate)
  641. .getTime()
  642. response.data.data[i].updateDate = this.$u.timeFormat(
  643. time1, 'mm.dd hh:MM')
  644. response.data.data[i].auditMind = ''
  645. }
  646. }
  647. }
  648. console.log(response.data.data)
  649. for(let i = 0 ;i<response.data.data.length;i++){
  650. if(response.data.data[i].status == "error"){
  651. this.auditCheck = "error"
  652. break;
  653. }else if(response.data.data[i].status == "question"){
  654. this.auditCheck = "question"
  655. break;
  656. }else{
  657. this.auditCheck = "success"
  658. }
  659. }
  660. this.auditList = response.data.data
  661. var time2 = new Date(this.list.createDate).getTime()
  662. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  663. this.auditList.unshift({
  664. operatorTitle: this.list.creater.substring(0, 2),
  665. operatorName: this.list.creater,
  666. updateDate: time3,
  667. auditMind: '',
  668. desc: '发起申请',
  669. showflow: false,
  670. commonStaffs1: null,
  671. commonStaffs: null,
  672. workflowHistoricTasks: [],
  673. status: 'success'
  674. })
  675. })
  676. })
  677. })
  678. }
  679. })
  680. },
  681. onRemove() {
  682. return
  683. },
  684. filterFileType(index, lists) {
  685. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  686. lists.splice(index, 1);
  687. // 当前文件不支持
  688. uni.showModal({
  689. title: '暂不支持当前图片类型',
  690. showCancel: false
  691. });
  692. } else {
  693. this.isAdd = false;
  694. }
  695. },
  696. close() {
  697. this.show = false
  698. this.fileUrl = []//清除审核附件
  699. },
  700. pass() {
  701. this.show = true
  702. this.title = '审核意见(通过)'
  703. },
  704. reject() {
  705. this.show = true
  706. this.title = '驳回原因(驳回)'
  707. },
  708. //驳回
  709. rejectSubmit() {
  710. var that = this
  711. uni.showLoading({
  712. title: '加载中',
  713. mask: true
  714. });
  715. var info = that.auditMind
  716. if (that.fileUrl.length > 0) {
  717. info = that.auditMind + "##" + that.fileUrl.toString()
  718. }
  719. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  720. taskId: that.list.taskId,
  721. approved: false,
  722. auditMind: info?info:"",
  723. needReapply: true,
  724. }).then(res => {
  725. that.$api.msg('驳回成功')
  726. that.show = false
  727. setTimeout(function() {
  728. if (that.everyCheck) {
  729. helper.setAudit(that.list)
  730. } else {
  731. uni.navigateBack()
  732. }
  733. uni.hideLoading()
  734. }, 1000);
  735. })
  736. },
  737. pass() {
  738. this.show = true
  739. this.title = '审核意见'
  740. },
  741. reject() {
  742. this.show = true
  743. this.title = '驳回原因(驳回)'
  744. },
  745. //通过
  746. passSubmit() {
  747. var that = this
  748. if (this.title == '驳回原因(驳回)') {
  749. this.rejectSubmit()
  750. } else {
  751. uni.showLoading({
  752. title: '加载中',
  753. mask: true
  754. });
  755. var info = that.auditMind
  756. if (that.fileUrl.length > 0) {
  757. info = that.auditMind + "##" + that.fileUrl.toString()
  758. }
  759. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  760. taskId: that.list.taskId,
  761. approved: true,
  762. auditMind: info?info:"",
  763. needReapply: true,
  764. }).then(res => {
  765. that.$api.msg('通过成功')
  766. that.show = false
  767. setTimeout(function() {
  768. if (that.everyCheck) {
  769. helper.setAudit(that.list)
  770. } else {
  771. uni.navigateBack()
  772. }
  773. uni.hideLoading()
  774. }, 1000);
  775. })
  776. }
  777. },
  778. //审核方法
  779. audit(item, index, status, status2, reason) {
  780. if (index < this.list.length) {
  781. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  782. taskId: item.taskId,
  783. approved: status,
  784. auditMind: reason != undefined ? '已驳回' : '34',
  785. needReapply: status2 != undefined ? true : false,
  786. }).then(res => {
  787. this.audit(this.list[index + 1], index + 1, status)
  788. })
  789. } else {
  790. if (status == true) {
  791. that.$api.msg('通过成功')
  792. this.getList()
  793. } else if (status == false) {
  794. that.$api.msg('驳回成功')
  795. this.getList()
  796. }
  797. }
  798. },
  799. }
  800. }
  801. </script>
  802. <style scoped lang="scss">
  803. .container {
  804. padding: 20rpx 20rpx 250rpx 20rpx;
  805. }
  806. .u-form {
  807. margin-bottom: 20rpx;
  808. background: #fff;
  809. border-radius: 10px;
  810. padding: 30rpx 10px;
  811. .u-form-item {
  812. line-height: 30px;
  813. padding: 0px 0;
  814. font-size: 26rpx;
  815. color: #878C9C;
  816. }
  817. }
  818. .content {
  819. margin-top: 30rpx;
  820. .top {
  821. display: flex;
  822. justify-content: space-between;
  823. }
  824. .content-item {
  825. border-radius: 20rpx;
  826. background: white;
  827. padding: 40rpx 20rpx;
  828. margin-bottom: 30rpx;
  829. }
  830. .title {
  831. font-size: 32rpx;
  832. font-weight: 600;
  833. color: #333333;
  834. text-align: left;
  835. margin: 20rpx 0;
  836. }
  837. .car-container {
  838. border-bottom: 2rpx solid #EEEEEE;
  839. }
  840. .car-type-item {
  841. font-size: 28rpx;
  842. margin: 20rpx 0;
  843. color: #878C9C;
  844. }
  845. .weightInfoCss {
  846. font-size: 28rpx;
  847. color: #333333;
  848. font-weight: 500;
  849. }
  850. .row {
  851. display: flex;
  852. justify-content: space-between;
  853. // .right,
  854. // input {
  855. // font-size: 28rpx;
  856. // // color: #333333;
  857. // }
  858. }
  859. .money {
  860. font-size: 32rpx;
  861. font-weight: 500;
  862. margin-bottom: 30rpx;
  863. }
  864. .moneyInfo {
  865. color: #22C572;
  866. font-size: 32rpx;
  867. }
  868. }
  869. .bottom-btn {
  870. width: 100%;
  871. position: fixed;
  872. bottom: 0;
  873. display: flex;
  874. z-index: 2;
  875. left: 0;
  876. background-color: #f8f8f8;
  877. flex-direction: column;
  878. .btn1,
  879. .btn2 {
  880. width: 100%;
  881. margin-bottom: 26rpx;
  882. border-radius: 90rpx;
  883. }
  884. .btn1 {
  885. background: white;
  886. color: #00C265;
  887. }
  888. }
  889. .topInfo {
  890. height: 210rpx;
  891. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  892. padding: 30rpx;
  893. .topInfo-item {
  894. height: 150rpx;
  895. background-color: #FFFFFF;
  896. border-radius: 20rpx;
  897. padding: 40rpx;
  898. .logo {
  899. width: 40rpx;
  900. height: 40rpx;
  901. margin-top: 8rpx;
  902. }
  903. .infoText {
  904. font-size: 36rpx;
  905. font-weight: 600;
  906. margin-left: 20rpx;
  907. }
  908. .infoData {
  909. color: #878C9C;
  910. font-size: 26rpx;
  911. margin-top: 10rpx;
  912. }
  913. }
  914. }
  915. .shade {
  916. position: fixed;
  917. top: 0;
  918. left: 0;
  919. height: 100%;
  920. width: 100%;
  921. background: rgba(0, 0, 0, 0.4);
  922. z-index: 3;
  923. overflow-y: scroll;
  924. .wrap {
  925. position: absolute;
  926. left: 0;
  927. top: 0;
  928. right: 0;
  929. bottom: 0;
  930. margin: auto;
  931. background: #fff;
  932. width: calc(100% - 198rpx);
  933. height: 770rpx;
  934. // overflow: hidden;
  935. border-radius: 20rpx;
  936. .content1{
  937. height:600rpx;
  938. overflow-y: scroll;
  939. }
  940. .alert-top {
  941. padding: 33rpx;
  942. display: flex;
  943. justify-content: center;
  944. align-items: center;
  945. position: relative;
  946. }
  947. .title {
  948. font-size: 32rpx;
  949. font-weight: 600;
  950. color: #333333;
  951. }
  952. .close {
  953. position: absolute;
  954. right: 33rpx;
  955. }
  956. .upload_css {
  957. margin-left: 20rpx;
  958. .upload {
  959. // width: 80px;
  960. // height: 80px;
  961. }
  962. }
  963. }
  964. }
  965. .audit_btn {
  966. display: flex;
  967. top: 0px;
  968. }
  969. .cancel,
  970. .confirm {
  971. // position: absolute;
  972. // display: inline-block;
  973. width: 50%;
  974. text-align: center;
  975. // bottom: 0;
  976. padding: 10px;
  977. border-top: 1px solid #eee;
  978. font-size: 34rpx;
  979. margin: auto;
  980. }
  981. .cancel {
  982. left: 0;
  983. border-right: 1px solid #eee;
  984. color: #AFB3BF;
  985. }
  986. .confirm {
  987. right: 0;
  988. color: #22C572;
  989. }
  990. .textarea {
  991. margin: 18rpx auto;
  992. width: 100%;
  993. background: #F9F9FA;
  994. border-radius: 10px;
  995. border: 1px solid #EEEEEE;
  996. font-size: 28rpx;
  997. padding: 10px;
  998. }
  999. .textCss {
  1000. display: flex;
  1001. justify-content: flex-end;
  1002. width: 100%;
  1003. text-align: right;
  1004. color: #333333;
  1005. }
  1006. .u-textarea-style {
  1007. margin: 20rpx;
  1008. background: #F9F9FA;
  1009. border-radius: 10px;
  1010. border: 1px solid #EEEEEE;
  1011. padding: 10rpx 20rpx;
  1012. position: relative;
  1013. height:280rpx;
  1014. overflow: scroll;
  1015. /deep/.uni-textarea-textarea{
  1016. width: 80%;
  1017. }
  1018. .right-bottom {
  1019. position: absolute;
  1020. right: 20rpx;
  1021. bottom: 20rpx;
  1022. color: #AFB3BF;
  1023. }
  1024. }
  1025. /deep/.u-input__textarea {
  1026. height: 300rpx !important;
  1027. }
  1028. .content2 {
  1029. background: white;
  1030. margin: 20rpx 0;
  1031. border-radius: 20rpx;
  1032. padding: 20rpx;
  1033. .row {
  1034. display: flex;
  1035. .left {
  1036. display: flex;
  1037. align-items: center;
  1038. .item1 {
  1039. position: relative;
  1040. .item-content {
  1041. background: #617AE0;
  1042. width: 44px;
  1043. height: 44px;
  1044. border-radius: 22px;
  1045. line-height: 44px;
  1046. text-align: center;
  1047. font-size: 15px;
  1048. color: #fff;
  1049. }
  1050. .status {
  1051. position: absolute;
  1052. border-radius: 50%;
  1053. padding: 0px 2px;
  1054. right: -3px;
  1055. bottom: -3px;
  1056. background: #fff;
  1057. }
  1058. .status.success {
  1059. border: 1px solid rgb(60, 156, 255);
  1060. }
  1061. .status.error {
  1062. border: 1px solid rgb(245, 108, 108);
  1063. }
  1064. .status.question {
  1065. border: 1px solid #f9ae3d;
  1066. }
  1067. }
  1068. }
  1069. .right {
  1070. width: 80%;
  1071. // color: #B0B1B5;
  1072. margin-top: 10px;
  1073. .right-content {
  1074. background: #F2F3F7;
  1075. margin-left: 10px;
  1076. margin-top: 10px;
  1077. padding: 10px;
  1078. border-radius: 5px;
  1079. color: #B0B1B5;
  1080. }
  1081. .right-item {
  1082. display: flex;
  1083. justify-content: space-between;
  1084. .time {
  1085. color: #999;
  1086. }
  1087. .item2 {
  1088. margin-left: 20rpx;
  1089. margin-top: -7px;
  1090. .name {
  1091. font-size: 28rpx;
  1092. font-weight: 800;
  1093. margin-bottom: 4px;
  1094. }
  1095. .status.success {
  1096. color: #6CC48C;
  1097. }
  1098. .status.error {
  1099. color: rgb(245, 108, 108);
  1100. }
  1101. .status.question {
  1102. color: #f9ae3d;
  1103. }
  1104. }
  1105. }
  1106. .audit_img {
  1107. flex-wrap: wrap;
  1108. margin: 0 20rpx;
  1109. .url_css {
  1110. // border: 1px solid #999999;
  1111. border-radius: 10px;
  1112. margin-top: 10px;
  1113. margin-right: 10px;
  1114. .url_img {
  1115. width: 66px;
  1116. height: 66px;
  1117. border-radius: 10px;
  1118. }
  1119. }
  1120. }
  1121. }
  1122. }
  1123. .row2 {
  1124. display: flex;
  1125. .item-content {
  1126. background: #22C572;
  1127. width: 30px;
  1128. height: 30px;
  1129. border-radius: 50%;
  1130. line-height: 30px;
  1131. text-align: center;
  1132. font-size: 12px;
  1133. color: #fff;
  1134. padding: 0 2px;
  1135. margin: 0 auto;
  1136. }
  1137. .status {
  1138. position: absolute;
  1139. top: 0;
  1140. right: 0;
  1141. }
  1142. }
  1143. .row-line {
  1144. width: 1px;
  1145. height: 30px;
  1146. background: #F2F2F2;
  1147. margin: 10rpx 50rpx;
  1148. }
  1149. .audit {
  1150. margin-top: 20rpx;
  1151. }
  1152. }
  1153. .form_top {
  1154. border-bottom: 1px solid #F5F6FA;
  1155. padding-bottom: 10px;
  1156. margin-bottom: 18rpx;
  1157. font-size: 30rpx;
  1158. font-weight: 600;
  1159. }
  1160. .form_view{
  1161. margin: 20rpx 0;
  1162. border-radius: 20rpx;
  1163. background: #F9F9FA;
  1164. padding: 30rpx 20rpx;
  1165. margin-top: 30rpx;
  1166. }
  1167. .label_css{
  1168. font-size: 26rpx;
  1169. color: #878C9C;
  1170. }
  1171. .input_css{
  1172. font-size: 20rpx;
  1173. }
  1174. /deep/.uni-textarea-wrapper{
  1175. height:200px;
  1176. }
  1177. // .fujian_title{
  1178. // font-size: 34rpx;
  1179. // margin-top: 20px;
  1180. // font-weight: 600;
  1181. // // margin-left: 10px;
  1182. // }
  1183. .headInfo{
  1184. height: 100px;
  1185. background-color: #FFFFFF;
  1186. margin-bottom: 20rpx;
  1187. border-radius: 10px;
  1188. padding: 30rpx 10px;
  1189. display: flex;
  1190. .headInfo_left{
  1191. width: 10%;
  1192. line-height: 60px;
  1193. text-align: center;
  1194. }
  1195. .headInfo_middle{
  1196. width: 60%;
  1197. padding-left: 10px;
  1198. margin-top: 10px;
  1199. }
  1200. .headInfo_right{
  1201. width: 30%;
  1202. line-height: 60px;
  1203. .char_a{
  1204. color: #22C572;
  1205. }
  1206. .char_b{
  1207. color: #FE6430;
  1208. }
  1209. .char_c{
  1210. color: #FB2323;
  1211. }
  1212. .char_a,.char_b,.char_c{
  1213. font-size: 16px;
  1214. }
  1215. }
  1216. .adopt{
  1217. position: absolute;
  1218. right: 30px;
  1219. top: 60px;
  1220. .adopt_img{
  1221. width: 90px;
  1222. height: 90px;
  1223. }
  1224. }
  1225. .headInfo_title{
  1226. font-size: 19px;
  1227. color: #333333;
  1228. font-weight: 600;
  1229. }
  1230. .headInfo_No{
  1231. color: #878C9C;
  1232. font-size: 13px;
  1233. margin-top: 6px;
  1234. }
  1235. }
  1236. .img_item {
  1237. display: flex;
  1238. width: 100%;
  1239. margin: 10px 0;
  1240. padding: 0 10rpx;
  1241. .imgsign{
  1242. width: 25px;
  1243. height: 25px;
  1244. margin-top: 6px;
  1245. }
  1246. .char_css {
  1247. font-size: 28rpx;
  1248. font-weight: 600;
  1249. display: -webkit-box;
  1250. overflow: hidden;
  1251. /*! autoprefixer: off; */
  1252. -webkit-box-orient: vertical;
  1253. -webkit-line-clamp: 1;
  1254. -webkit-box-orient: vertical;
  1255. text-overflow: ellipsis;
  1256. word-break: break-all;
  1257. }
  1258. .img_size{
  1259. color: #B0B3BF;
  1260. font-size: 12px;
  1261. margin-top: 5px;
  1262. }
  1263. .img_dowload {
  1264. width: 14%;
  1265. color: #22C572;
  1266. text-align: right;
  1267. }
  1268. }
  1269. /deep/.u-upload .u-list-item{
  1270. background:#fff;
  1271. border:1px dashed #ccc;
  1272. border-radius:10rpx;
  1273. height:190rpx;
  1274. width:190rpx;
  1275. margin:10rpx;
  1276. text-align:center;
  1277. display: flex;
  1278. align-items: center;
  1279. justify-content: center;
  1280. flex-direction: column;
  1281. }
  1282. </style>