storeOrderDetails2.vue 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141
  1. <template>
  2. <div style="background-color: #f0f2f5; padding-bottom: 20px; min-height: 100%; " >
  3. <div style="padding: 20px; background-color: #fff;">
  4. 订单详情
  5. </div>
  6. <div class="contentx" v-if="item!=null">
  7. <div class="desct"></div>
  8. <div class="order-status" v-if="item!=null" >
  9. <el-steps :active="item.status==4?item.status:item.status-1" align-center finish-status="success">
  10. <el-step title="待支付"></el-step>
  11. <el-step title="待发货"></el-step>
  12. <el-step title="待收货"></el-step>
  13. <el-step title="已完成"></el-step>
  14. </el-steps>
  15. </div>
  16. <el-card shadow="never" style="margin-top: 15px">
  17. <div class="operate-container" v-if="item!=null">
  18. <span style="margin-left: 20px" class="color-danger">订单状态:
  19. <el-tag prop="status" v-for="(ite, index) in orderOptions" v-if="item.status==ite.dictValue">{{ite.dictLabel}}</el-tag>
  20. </span>
  21. <div class="operate-button-container" v-if="item.status==3">
  22. <el-button size="mini" @click="finishOrder()" v-hasPermi="['his:storeOrder:good']">确认收货</el-button>
  23. </div>
  24. <div class="operate-button-container" v-if="item.status==2&&item.orderType==1">
  25. <el-button size="mini" @click="sendVisible=true" v-hasPermi="['his:storeOrder:sendGoods']">发货</el-button>
  26. </div>
  27. <div class="operate-button-container" v-if="item.status==2&&item.orderType==2">
  28. <el-button size="mini" @click="tuiOrder()" v-hasPermi="['his:storeOrder:sendHisGoods']" >推送订单</el-button>
  29. </div>
  30. <div class="operate-button-container" v-if="item.inquiryOrderId!=null&&item.inquiryOrderId!=''" v-hasPermi="['his:storeOrder:inquiry']">
  31. <el-button size="mini" @click="getInquiryOrder()" >问诊订单</el-button>
  32. </div>
  33. <div class="operate-button-container" v-if="item.packageOrderId!=null&&item.packageOrderId!=''" v-hasPermi="['his:storeOrder:package']" >
  34. <el-button size="mini" @click="getPackageOrder()" >套餐包订单</el-button>
  35. </div>
  36. <div class="operate-button-container" v-if="item.deliverySn!=null" v-hasPermi="['his:storeOrder:express']">
  37. <el-button size="mini" @click="showExpress()" >查看物流</el-button>
  38. </div>
  39. <div class="operate-button-container" >
  40. <el-button size="mini" @click="editDelivery()" v-hasPermi="['his:storeOrder:updateDelivery']" >修改物流单号</el-button>
  41. </div>
  42. <div class="operate-button-container" >
  43. <el-button size="mini" @click="editOrder()" v-hasPermi="['his:storeOrder:edit']" >修改订单</el-button>
  44. </div>
  45. <div class="operate-button-container" v-if="item.status ==2 && item.extendOrderId == null && item.deliverySn == null&&item.orderType==1" v-hasPermi="['his:storeOrder:createErpOrder']">
  46. <el-button size="mini" @click="addErpOrder()" >创建ERP订单信息</el-button>
  47. </div>
  48. <div class="operate-button-container" v-if="item.extendOrderId!=null && item.orderType==1" v-hasPermi="['his:storeOrder:getEroOrder']" >
  49. <el-button size="mini" @click="showErpOrder()" >ERP订单信息</el-button>
  50. </div>
  51. <div class="operate-button-container" v-if="item.tuiMoneyStatus==0 && item.status==4" v-hasPermi="['his:storeOrder:editTuiMoney']" >
  52. <el-button size="mini" @click="editTuiMoney1()" >解冻</el-button>
  53. </div>
  54. <div class="operate-button-container" v-if="item.tuiMoneyStatus==1 && item.status==4" v-hasPermi="['his:storeOrder:editTuiMoney']" >
  55. <el-button size="mini" @click="editTuiMoney2()" >冻结</el-button>
  56. </div>
  57. <div class="operate-button-container" v-if="item.followTime!=null&&item.followTime!=''" v-hasPermi="['his:storeOrder:msgList']" >
  58. <el-button size="mini" @click="followMsg()" >随访记录</el-button>
  59. </div>
  60. <div class="operate-button-container" v-if="item.status>1">
  61. <el-button size="mini" @click="refund()" v-hasPermi="['his:storeOrder:afterSales']">申请退款</el-button>
  62. </div>
  63. <div class="operate-button-container" v-if="item.prescribeId!=null&&item.prescribeId!=''" >
  64. <el-button size="mini" @click="getPrescribeOrder()" >处方单</el-button>
  65. </div>
  66. <div class="operate-button-container" v-if="item.status== -2" >
  67. <el-button size="mini" @click="returnCost()" v-hasPermi="['his:storeOrder:returnCost']" >成本退还</el-button>
  68. </div>
  69. <div class="operate-button-container" >
  70. <el-button size="mini" @click="sendFollowMsg()" v-if="item.status>1" v-hasPermi="['his:storeOrder:sendMsg']">发送随访消息</el-button>
  71. </div>
  72. </div>
  73. <div class="desct">
  74. 基本信息
  75. </div>
  76. <el-descriptions :column="3" border >
  77. <el-descriptions-item label="订单编号" ><span v-if="item!=null">{{item.orderCode}}</span></el-descriptions-item>
  78. <el-descriptions-item label="会员"><span v-if="item.nickName!=null">{{item.nickName}}({{item.phone}})</span></el-descriptions-item>
  79. <el-descriptions-item label="会员ID" ><span v-if="item!=null">{{item.userId}}</span></el-descriptions-item>
  80. <el-descriptions-item label="支付方式" ><dict-tag :options="PayOptions" :value="item.payType"/></el-descriptions-item>
  81. <el-descriptions-item label="药品类型" ><dict-tag :options="orderTypeOptions" :value="item.orderType"/></el-descriptions-item>
  82. <el-descriptions-item label="医生名称" ><span v-if="item!=null">{{item.doctorName}}</span></el-descriptions-item>
  83. <el-descriptions-item label="店铺名称" ><span v-if="item!=null">{{item.storeName}}</span></el-descriptions-item>
  84. <el-descriptions-item label="患者姓名" > <span v-if="item!=null">{{item.patientName}}</span></el-descriptions-item>
  85. <el-descriptions-item label="患者年龄" ><span v-if="item!=null">{{item.patientAge}}</span></el-descriptions-item>
  86. <el-descriptions-item label="患者性别" > <dict-tag :options="sexOptions" :value="item.patientGender"/> </el-descriptions-item>
  87. <el-descriptions-item label="与本人关系" ><span v-if="item!=null">{{item.relation}}</span> </el-descriptions-item>
  88. <el-descriptions-item label="收货人" > <span v-if="item!=null">{{item.userName}}</span> </el-descriptions-item>
  89. <el-descriptions-item label="收货人电话" > <span v-if="item!=null">{{item.userPhone}}</span>
  90. <el-button icon="el-icon-search" size="mini" @click="handlePhone()" style="margin-left: 20px;" circle v-hasPermi="['his:storeOrder:queryPhone']"></el-button>
  91. </el-descriptions-item>
  92. <el-descriptions-item label="详细地址" > <span>{{item.userAddress}}</span> </el-descriptions-item>
  93. <el-descriptions-item label="所属公司"><span v-if="item!=null">{{item.companyName}}</span></el-descriptions-item>
  94. <el-descriptions-item label="员工"><span v-if="item!=null">{{item.companyUserName}}</span></el-descriptions-item>
  95. <el-descriptions-item label="推广佣金" ><span v-if="item.tuiMoney!=null">{{item.tuiMoney.toFixed(2)}}</span></el-descriptions-item>
  96. <el-descriptions-item label="推广佣金状态" ><span v-if="item!=null"><dict-tag :options="tuiOptions" :value="item.tuiMoneyStatus"/> </span></el-descriptions-item>
  97. <el-descriptions-item label="快递公司编号" > <span v-if="item!=null">{{item.deliveryCode}}</span></el-descriptions-item>
  98. <el-descriptions-item label="快递名称" ><span v-if="item!=null">{{item.deliveryName}}</span></el-descriptions-item>
  99. <el-descriptions-item label="快递单号" ><span v-if="item!=null">{{item.deliverySn}}</span></el-descriptions-item>
  100. <el-descriptions-item label="ERP编号" ><span v-if="item!=null">{{item.extendOrderId}}</span></el-descriptions-item>
  101. <el-descriptions-item label="物流状态" ><dict-tag :options="deliveryStatusOptions" :value="item.deliveryStatus"/></el-descriptions-item>
  102. <el-descriptions-item label="物流结算状态" ><dict-tag :options="deliveryPayStatusOptions" :value="item.deliveryPayStatus"/></el-descriptions-item>
  103. <el-descriptions-item label="物流结算时间" ><span v-if="item!=null">{{item.deliveryPayTime}}</span></el-descriptions-item>
  104. <el-descriptions-item label="物流结算金额" ><span v-if="item!=null">{{item.deliveryPayMoney}}</span></el-descriptions-item>
  105. <el-descriptions-item label="物流跟踪状态" ><span v-if="item!=null"><dict-tag :options="deliveryTypeOptions" :value="item.deliveryType"/> </span></el-descriptions-item>
  106. <el-descriptions-item label="用户备注" ><span v-if="item!=null">{{item.remark}}</span></el-descriptions-item>
  107. <el-descriptions-item label="档期归属" >
  108. <el-tag prop="scheduleId" v-for="(schedule, index) in scheduleOptions" v-if="item!=null&&item.scheduleId==schedule.id">{{schedule.name}}
  109. </el-tag>
  110. </el-descriptions-item>
  111. <el-descriptions-item label="订单购买类型" ><span v-if="item!=null"><dict-tag :options="orderBuyTypeOptions" :value="item.orderBuyType"/></span></el-descriptions-item>
  112. <el-descriptions-item label=" 公众号/渠道" ><span v-if="item!=null">{{item.channel}}</span></el-descriptions-item>
  113. <el-descriptions-item label=" 渠道" ><span v-if="item!=null"><dict-tag :options="channelOptions" :value="item.orderChannel"/></span></el-descriptions-item>
  114. <el-descriptions-item label=" 企微主体" ><span v-if="item!=null"><dict-tag :options="qwSubjectOptions" :value="item.qwSubject"/></span></el-descriptions-item>
  115. </el-descriptions>
  116. </el-card>
  117. </div>
  118. <div class="contentx" v-if="item!=null" style="padding-bottom: 70px;">
  119. <div class="desct">
  120. 商品信息
  121. </div>
  122. <el-tooltip class="item" effect="dark" :content="showList ? '显示全部' : '隐藏'" placement="top" style="float: right;">
  123. <el-button size="mini" circle icon="el-icon-search" @click="showListD()" />
  124. </el-tooltip>
  125. <el-table border v-if="showProd!=null" :data="showProd" size="small" style="width: 100%;margin-top: 20px" >
  126. <el-table-column label="商品图片" width="150" align="center">
  127. <template slot-scope="scope">
  128. <img :src="JSON.parse(scope.row.jsonInfo).image" style="height: 80px">
  129. </template>
  130. </el-table-column>
  131. <el-table-column label="商品编码" width="300" align="center">
  132. <template slot-scope="scope">
  133. <p>{{JSON.parse(scope.row.jsonInfo).barCode}}</p>
  134. </template>
  135. </el-table-column>
  136. <el-table-column label="商品名称" width="300" align="center">
  137. <template slot-scope="scope">
  138. <p>{{JSON.parse(scope.row.jsonInfo).productName}}</p>
  139. </template>
  140. </el-table-column>
  141. <el-table-column label="单价" width="240" align="center">
  142. <template slot-scope="scope">
  143. <p>¥{{JSON.parse(scope.row.jsonInfo).price.toFixed(2)}}</p>
  144. </template>
  145. </el-table-column>
  146. <el-table-column label="规格" width="240" align="center">
  147. <template slot-scope="scope">
  148. {{JSON.parse(scope.row.jsonInfo).sku}}
  149. </template>
  150. </el-table-column>
  151. <el-table-column label="数量" width="180" align="center">
  152. <template slot-scope="scope">
  153. {{scope.row.num}}
  154. </template>
  155. </el-table-column>
  156. <el-table-column label="处方药" width="240" align="center">
  157. <template slot-scope="scope">
  158. {{scope.row.isPrescribe!=null&&scope.row.isPrescribe==1?'是':'否'}}
  159. </template>
  160. </el-table-column>
  161. <el-table-column label="小计" align="center">
  162. <template slot-scope="scope" >
  163. ¥{{(scope.row.num*JSON.parse(scope.row.jsonInfo).price).toFixed(2)}}
  164. </template>
  165. </el-table-column>
  166. </el-table>
  167. <div style="float: right;margin: 20px" v-if="item.totalPrice!=null">
  168. 合计:<span class="color-danger">¥{{item.totalPrice.toFixed(2)}}</span>
  169. </div>
  170. <div style="float: right;margin: 20px" v-if="item.orderType==2">
  171. 剂数:<span class="color-danger">{{counts}}</span>
  172. </div>
  173. <div style="float: right;margin: 20px" v-if="item.orderType==2">
  174. 制作类型:<span class="color-danger">{{ recipeType === 0 ? '颗粒剂' : '膏方'}}</span>
  175. </div>
  176. </div>
  177. <div class="contentx" v-if="item!=null">
  178. <div class="desct">
  179. 费用信息
  180. </div>
  181. <el-descriptions :column="3" border >
  182. <el-descriptions-item label="商品合计" ><span v-if="item.totalPrice!=null">¥{{item.totalPrice.toFixed(2)}} </span></el-descriptions-item>
  183. <el-descriptions-item label="处方定价" ><span v-if="item.prescribePrice!=null"> ¥{{item.prescribePrice.toFixed(2)}}</span></el-descriptions-item>
  184. <el-descriptions-item label="处方应付金额" ><span v-if="item.payPrice!=null"> ¥{{item.payPrice.toFixed(2)}}</span></el-descriptions-item>
  185. <el-descriptions-item label="运费" ><span v-if="item.payDelivery!=null">¥{{item.payDelivery.toFixed(2)}}</span></el-descriptions-item>
  186. <el-descriptions-item label="优惠劵" ><span v-if="item.discountMoney!=null">¥{{item.discountMoney.toFixed(2)}}</span></el-descriptions-item>
  187. <el-descriptions-item label="实付金额" ><span v-if="item.payMoney!=null">¥{{item.payMoney.toFixed(2)}}</span></el-descriptions-item>
  188. <el-descriptions-item label="代收金额" ><span v-if="item.payRemain!=null">¥{{item.payRemain.toFixed(2)}}</span></el-descriptions-item>
  189. </el-descriptions>
  190. </div>
  191. <div class="contentx" v-if="item!=null">
  192. <div class="desct">
  193. 支付信息
  194. </div>
  195. <el-table
  196. border
  197. :data="pay"
  198. size="small"
  199. style="width: 100%;margin-top: 20px" >
  200. <el-table-column label="支付单号" align="center" prop="payCode" width="120px" />
  201. <el-table-column label="支付金额" align="center" prop="payMoney" />
  202. <el-table-column label="类型" align="center" prop="payTypeCode" />
  203. <el-table-column label="外部订单号 " align="center" prop="tradeNo" />
  204. <el-table-column label="创建时间" align="center" prop="createTime" />
  205. <el-table-column label="支付时间" align="center" prop="payTime" />
  206. </el-table>
  207. </div>
  208. <div class="contentx" v-if="item!=null">
  209. <div class="desct">
  210. 操作信息
  211. </div>
  212. <el-table style="margin-top: 20px;width: 100%"
  213. ref="orderHistoryTable"
  214. :data="logs" border>
  215. <el-table-column label="操作时间" width="160" align="center">
  216. <template slot-scope="scope">
  217. {{scope.row.changeTime}}
  218. </template>
  219. </el-table-column>
  220. <el-table-column label="备注" align="center">
  221. <template slot-scope="scope">
  222. {{scope.row.changeMessage}}
  223. </template>
  224. </el-table-column>
  225. </el-table>
  226. </div>
  227. <div class="contentx" v-if="item!=null">
  228. <div class="desct">
  229. 分佣信息
  230. </div>
  231. <el-table
  232. border
  233. :data="tuiMoneyLogs"
  234. size="small"
  235. style="width: 100%;margin-top: 20px" >
  236. <el-table-column label="公司名称" align="center" prop="companyName" width="120px" />
  237. <el-table-column label="金额" align="center" prop="money" />
  238. <el-table-column label="余额" align="center" prop="balance" />
  239. <el-table-column label="创建时间" align="center" prop="createTime" />
  240. <el-table-column label="备注" align="center" prop="remark" />
  241. </el-table>
  242. </div>
  243. <el-dialog
  244. width="50%"
  245. title="发货"
  246. :visible.sync="sendVisible"
  247. append-to-body @close="sendCancel">
  248. <el-form ref="form" :model="form" :rules="rules" label-width="120px">
  249. <el-form-item label="快递公司编号" prop="deliveryCode">
  250. <el-input v-model="form.deliveryCode" placeholder="请输入快递公司编号" />
  251. </el-form-item>
  252. <el-form-item label="快递名称" prop="deliveryName">
  253. <el-input v-model="form.deliveryName" placeholder="请输入快递名称" />
  254. </el-form-item>
  255. <el-form-item label="快递单号" prop="deliverySn">
  256. <el-input v-model="form.deliverySn" placeholder="请输入快递单号" />
  257. </el-form-item>
  258. </el-form>
  259. <div slot="footer" class="dialog-footer">
  260. <el-button type="primary" @click="sendGoods">确 定</el-button>
  261. <el-button @click="sendCancel">取 消</el-button>
  262. </div>
  263. </el-dialog>
  264. <el-dialog :title="expressDialog.title" :visible.sync="expressDialog.open" width="600px" append-to-body>
  265. <div v-hasPermi="['his:storeOrder:syncExpress']" >
  266. <el-button size="mini" @click="syncExpress()" >同步快递鸟物流状态</el-button>
  267. </div>
  268. <el-table style="margin-top: 20px;width: 100%"
  269. ref="orderHistoryTable"
  270. :data="traces" border>
  271. <el-table-column label="操作时间" width="160" align="center">
  272. <template slot-scope="scope">
  273. {{scope.row.AcceptTime}}
  274. </template>
  275. </el-table-column>
  276. <el-table-column label="位置" align="center">
  277. <template slot-scope="scope">
  278. {{scope.row.Location}}
  279. </template>
  280. </el-table-column>
  281. <el-table-column label="描述" align="center">
  282. <template slot-scope="scope">
  283. {{scope.row.AcceptStation}}
  284. </template>
  285. </el-table-column>
  286. </el-table>
  287. </el-dialog>
  288. <el-dialog :title="editDy.title" :visible.sync="editDy.open" width="600px" append-to-body>
  289. <el-form ref="editDyForm" :model="editDyForm" :rules="editDyRules" label-width="100px">
  290. <div v-hasPermi="['his:storeOrder:updateErpOrder']" style="margin-bottom: 20px;" >
  291. <el-button size="mini" @click="updateErpOrder" >同步物流单号信息</el-button>
  292. </div>
  293. <el-form-item label="物流公司" prop="deliveryCode" >
  294. <el-select style="width:220px" v-model="editDyForm.deliveryCode" placeholder="请选择" clearable size="small">
  295. <el-option key="SF" label="顺丰" value="SF" />
  296. <el-option key="EMS" label="邮政" value="EMS" />
  297. <el-option key="ZTO" label="中通" value="ZTO" />
  298. <el-option key="STO" label="申通" value="STO" />
  299. <el-option key="JD" label="京东" value="JD" />
  300. <el-option key="DBL" label="德邦" value="DBL" />
  301. <el-option key="JTSD" label="极兔" value="JTSD" />
  302. <el-option key="YD" label="韵达" value="YD" />
  303. <el-option key="STO" label="申通" value="STO" />
  304. </el-select>
  305. </el-form-item>
  306. <el-form-item label="物流单号" prop="deliverySn" >
  307. <el-input v-model="editDyForm.deliverySn" placeholder="请输入物流单号" />
  308. </el-form-item>
  309. </el-form>
  310. <div slot="footer" class="dialog-footer">
  311. <el-button type="primary" @click="submitEditDyForm">确 定</el-button>
  312. <el-button @click="editDy.open = false">取 消</el-button>
  313. </div>
  314. </el-dialog>
  315. <el-dialog :title="erpDialog.title" :visible.sync="erpDialog.open" width="800px" append-to-body>
  316. <div v-if="item!=null&&item.extendOrderId!=null&&item.status==2" style="position: absolute; top: 50px;right: 20px;">
  317. <el-button size="mini" @click="updateExpress()" v-hasPermi="['his:storeOrder:updateExpress']" >同步物流发货</el-button>
  318. </div>
  319. <div class="table-layout" v-if="erpOrder!=null" >
  320. <el-descriptions direction="vertical" :column="3" border >
  321. <el-descriptions-item label="订单编号" > <span v-if="item!=null"> {{erpOrder.code}}</span></el-descriptions-item>
  322. <el-descriptions-item label="是否代收" ><span v-if="item!=null">{{erpOrder.cod?'是':'否'}}</span></el-descriptions-item>
  323. <el-descriptions-item label="快递编号" ><span v-if="item!=null">{{erpOrder.express_code}}</span></el-descriptions-item>
  324. <el-descriptions-item label="快递名称" ><span v-if="item!=null"> {{erpOrder.express_name}}</span></el-descriptions-item>
  325. <el-descriptions-item label="收货人" ><span v-if="item!=null">{{erpOrder.receiver_name}}</span></el-descriptions-item>
  326. <el-descriptions-item label="电话" ><span v-if="item!=null"> {{erpOrder.receiver_mobile}}</span></el-descriptions-item>
  327. <el-descriptions-item label="地址" ><span v-if="item!=null"> {{erpOrder.receiver_address}}</span></el-descriptions-item>
  328. <el-descriptions-item label="运单号" ><span v-if="item!=null"> {{erpOrder.deliverys!=null&&erpOrder.deliverys.length>0?erpOrder.deliverys[0].mail_no:''}}</span></el-descriptions-item>
  329. </el-descriptions>
  330. </div>
  331. </el-dialog>
  332. <el-dialog :title="edit.title" :visible.sync="edit.open" width="600px" append-to-body>
  333. <el-form ref="editForm" :model="editForm" :rules="editRules" label-width="100px">
  334. <el-form-item label="订单状态" prop="status" >
  335. <el-select v-model="editForm.status" placeholder="请选择状态" clearable size="small" filterable>
  336. <el-option
  337. v-for="dict in orderOptions "
  338. :key="dict.dictValue"
  339. :label="dict.dictLabel"
  340. :value="dict.dictValue"
  341. />
  342. </el-select>
  343. </el-form-item>
  344. <el-form-item label="物流状态" prop="deliveryStatus" >
  345. <el-select v-model="editForm.deliveryStatus" placeholder="请选择物流状态" clearable size="small" filterable>
  346. <el-option
  347. v-for="dict in deliveryStatusOptions "
  348. :key="dict.dictValue"
  349. :label="dict.dictLabel"
  350. :value="dict.dictValue"
  351. />
  352. </el-select>
  353. </el-form-item>
  354. <el-form-item label="物流跟踪状态" prop="deliveryType" >
  355. <el-select v-model="editForm.deliveryType" placeholder="请选择状态" clearable size="small" filterable>
  356. <el-option
  357. v-for="dict in deliveryTypeOptions "
  358. :key="dict.dictValue"
  359. :label="dict.dictLabel"
  360. :value="dict.dictValue"
  361. />
  362. </el-select>
  363. </el-form-item>
  364. <el-form-item label="详情地址" prop="userAddress" >
  365. <el-input v-model="editForm.userAddress" placeholder="请输入" />
  366. </el-form-item>
  367. <el-form-item label="备注" prop="remark" >
  368. <el-input v-model="editForm.remark" placeholder="请输入备注" />
  369. </el-form-item>
  370. </el-form>
  371. <div slot="footer" class="dialog-footer">
  372. <el-button type="primary" @click="submitEditForm">确 定</el-button>
  373. </div>
  374. </el-dialog>
  375. <el-drawer
  376. :with-header="false"
  377. :append-to-body="true"
  378. size="75%"
  379. :title="show.title" :visible.sync="show.open">
  380. <inquiryOrderDetails ref="Details" />
  381. </el-drawer>
  382. <el-drawer
  383. :with-header="false"
  384. :append-to-body="true"
  385. size="75%"
  386. :title="pack.title" :visible.sync="pack.open">
  387. <packageOrderDetails ref="packDetails" />
  388. </el-drawer>
  389. <el-dialog
  390. title="聊天记录"
  391. :visible.sync="dialogVisible"
  392. width="80%"
  393. :before-close="msgDialogClose" append-to-body >
  394. <msgDetails ref="msgDetails" :msgDialogClose="msgDialogClose" /><strong></strong>
  395. <span slot="footer" class="dialog-footer">
  396. <el-button @click="msgDialogClose">取 消</el-button>
  397. <el-button type="primary" @click="msgDialogClose">确 定</el-button>
  398. </span>
  399. </el-dialog>
  400. <el-drawer
  401. :with-header="false"
  402. :append-to-body="true"
  403. size="75%"
  404. :title="prescribeDialog.title" :visible.sync="prescribeDialog.open">
  405. <prescribeDetails ref="prescribeDetails" />
  406. </el-drawer>
  407. </div>
  408. </template>
  409. <script>
  410. import {getMsgFollow,sendMsg,msgList,updateMoney,getGoods,getEroOrder,editTuiMoney,updateDelivery,createErpOrder,updateExpress,updateErp, afterSales,sendgoods,logList,listOrder,getExpress,syncExpress, listOrderitem,getOrder, delOrder, addOrder, updateOrder, exportOrder,payment,tuiOrder ,getPrescribe,getOrderUserPhone,returnCost} from "@/api/his/storeOrder";
  411. import inquiryOrderDetails from '../his/inquiryOrderDetails.vue';
  412. import packageOrderDetails from '../his/packageOrderDetails2.vue';
  413. import prescribeDetails from '../his/prescribeDetails.vue';
  414. import msgDetails from '../../components/his/followMsgDetails.vue';
  415. import { getTcmScheduleList } from "@/api/company/schedule";
  416. export default {
  417. name: "orderDe",
  418. props:["data"],
  419. components: { inquiryOrderDetails,packageOrderDetails,prescribeDetails ,msgDetails},
  420. data() {
  421. return {
  422. expressDialog:{
  423. title:"物流信息",
  424. open:false,
  425. },
  426. editDy:{
  427. title:"修改物流单号",
  428. open:false,
  429. },
  430. prescribeDialog:{
  431. title:"处方单",
  432. open:false,
  433. },
  434. followDialogVisible:false,
  435. dialogVisible:false,
  436. total: 0,
  437. msgForm:{
  438. pageNum: 1,
  439. pageSize: 10,
  440. userId:null,
  441. followDoctorId:null,
  442. },
  443. editDyForm:{
  444. orderId:null,
  445. deliveryId:null,
  446. deliveryCode:null,
  447. },
  448. showList:true,
  449. edit:{
  450. title:"修改订单",
  451. open:false,
  452. },
  453. erpDialog:{
  454. title:"ERP订单信息",
  455. open:false,
  456. },
  457. show:{
  458. title:"问诊详情",
  459. open:false,
  460. },
  461. pack:{
  462. title:"套餐包",
  463. open:false,
  464. },
  465. followList:[],
  466. counts:null,
  467. recipeType:null,
  468. money:null,
  469. moneyVisible:false,
  470. rules:{},
  471. sendVisible:false,
  472. logs:[],
  473. pay:[],
  474. nickName:null,
  475. storeName:null,
  476. PayOptions:[],
  477. orderOptions:[],
  478. payStatusOptions:[],
  479. express:null,
  480. traces:[],
  481. msg:[],
  482. sexOptions:[],
  483. refundOptions:[],
  484. channelOptions:[],
  485. qwSubjectOptions:[],
  486. tuiOptions:[],
  487. orOptions:[],
  488. storeOPtions:[],
  489. deliveryStatusOptions:[],
  490. deliveryPayStatusOptions:[],
  491. deliveryTypeOptions:[],
  492. orderTypeOptions:[],
  493. orderBuyTypeOptions:[],
  494. scheduleOptions:[],
  495. item:null,
  496. tuiMoneyLogs:[],
  497. erpOrder:null,
  498. prod:null,
  499. showProd:null,
  500. editForm:{
  501. orderId:null,
  502. status:null,
  503. userAddress:null,
  504. deliveryStatus:null,
  505. deliveryType:null,
  506. remark:"",
  507. },
  508. editDyRules:{
  509. deliverySn: [
  510. { required: true, message: "物流单号不能为空", trigger: "blur" }
  511. ],
  512. deliveryCode: [
  513. { required: true, message: "物流公司不能为空", trigger: "blur" }
  514. ],
  515. },
  516. editRules:{
  517. userAddress: [
  518. { required: true, message: "收货地址不能为空", trigger: "blur" }
  519. ],
  520. },
  521. mrules:{
  522. },
  523. form: {
  524. deliveryCode: null,
  525. deliveryName:null,
  526. deliverySn:null,
  527. orderId:null,
  528. }
  529. }
  530. },
  531. created() {
  532. getTcmScheduleList().then(response => {
  533. this.scheduleOptions = response.data;
  534. });
  535. this.getDicts("sys_store_pay_type").then(response => {
  536. this.PayOptions = response.data;
  537. });
  538. this.getDicts("sys_order_status").then(response => {
  539. this.orderOptions = response.data;
  540. });
  541. this.getDicts("sys_order_pay").then(response => {
  542. this.payStatusOptions = response.data;
  543. });
  544. this.getDicts("sys_store_order_type").then(response => {
  545. this.orderTypeOptions = response.data;
  546. });
  547. this.getDicts("sys_store_order_buy_type").then(response => {
  548. this.orderBuyTypeOptions = response.data;
  549. });
  550. this.getDicts("sys_refund_status").then(response => {
  551. this.refundOptions = response.data;
  552. });
  553. this.getDicts("sys_store_channel").then(response => {
  554. this.channelOptions = response.data;
  555. });
  556. this.getDicts("sys_store_qw_subject").then(response => {
  557. this.qwSubjectOptions = response.data;
  558. });
  559. this.getDicts("sys_tui_money_status").then(response => {
  560. this.tuiOptions = response.data;
  561. });
  562. this.getDicts("sys_company_or").then(response => {
  563. this.orOptions = response.data;
  564. });
  565. this.getDicts("sys_patient_sex").then(response => {
  566. this.sexOptions = response.data;
  567. });
  568. this.getDicts("sys_store_delivery_pay_status").then(response => {
  569. this.deliveryPayStatusOptions = response.data;
  570. });
  571. this.getDicts("sys_store_order_delivery_status").then(response => {
  572. this.deliveryStatusOptions = response.data;
  573. });
  574. this.getDicts("sys_delivery_type").then(response => {
  575. this.deliveryTypeOptions = response.data;
  576. });
  577. },
  578. methods: {
  579. followMsg(row){
  580. const userId = this.item.userId;
  581. const followDoctorId =this.item.followDoctorId;
  582. const doctorName = this.item.doctorName;
  583. const patientName = this.item.patientName;
  584. setTimeout(() => {
  585. this.$refs.msgDetails.getDetails(userId,followDoctorId,doctorName,patientName);
  586. }, 500);
  587. this.dialogVisible = true;
  588. },
  589. msgDialogClose(){
  590. this.dialogVisible = false;
  591. },
  592. getPrescribeOrder(){
  593. this.prescribeDialog.open=true;
  594. setTimeout(() => {
  595. this.$refs.prescribeDetails.getDetails(this.item.prescribeId);
  596. }, 1);
  597. },
  598. handlePhone(){
  599. const orderId = this.item.orderId;
  600. getOrderUserPhone(orderId).then(response =>{
  601. this.item.userPhone = response.userPhone;
  602. })
  603. },
  604. editDelivery(){
  605. this.editDy.open = true;
  606. console.log(this.item)
  607. this.editDyForm.orderId = this.item.orderId;
  608. this.editDyForm.deliveryId = this.item.deliveryId;
  609. this.editDyForm.deliveryCode = this.item.deliveryCode;
  610. },
  611. showListD(){
  612. if(this.showList){
  613. this.showProd=this.prod
  614. }else{
  615. this.showProd=[this.prod[0]]
  616. }
  617. this.showList=this.showList?false:true;
  618. },
  619. showExpress(){
  620. this.expressDialog.open=true;
  621. getExpress(this.item.orderId).then(response => {
  622. this.express = response.data;
  623. if(this.express!=null&&this.express.Traces!=null){
  624. this.traces=this.express.Traces
  625. }
  626. });
  627. },
  628. updateErpOrder(){
  629. var that=this;
  630. this.$confirm('确定同步物流单号信息吗', "警告", {
  631. confirmButtonText: "确定",
  632. cancelButtonText: "取消",
  633. type: "warning"
  634. }).then(function() {
  635. var data={orderId:that.item.orderId}
  636. return updateErp(data);
  637. }).then(() => {
  638. this.msgSuccess("操作成功");
  639. getOrder(this.item.orderId).then(response => {
  640. this.item=response.data
  641. that.getlogList(this.item.orderId);
  642. that.$parent.$parent.getList();
  643. });
  644. this.editDy.open = false
  645. }).catch(function() {});
  646. },
  647. sendFollowMsg(){
  648. var that=this;
  649. this.$confirm('是否确认发送消息?', "警告", {
  650. confirmButtonText: "确定",
  651. cancelButtonText: "取消",
  652. type: "warning"
  653. }).then(function() {
  654. return sendMsg(that.item.orderId);
  655. }).then(() => {
  656. this.msgSuccess("操作成功");
  657. }).catch(function() {});
  658. },
  659. handleClose1(){
  660. this.dialogVisible=false;
  661. },
  662. handleClose2(){
  663. this.followDialogVisible=false;
  664. },
  665. follow(row){
  666. getMsgFollow(row).then(response => {
  667. if(response.data.formJson!=null&&response.data.formJson!=''&&response.data.writeStatus==1){
  668. this.messageFollowList=JSON.parse(response.data.formJson );
  669. this.followDialogVisible=true;
  670. }else{
  671. this.$message({
  672. message: '未填写随访单',
  673. type: 'info'
  674. });
  675. return
  676. }
  677. });
  678. },
  679. //修改订单状态
  680. submitEditForm(){
  681. this.$refs["editForm"].validate(valid => {
  682. if (valid) {
  683. updateOrder(this.editForm).then(response => {
  684. if (response.code === 200) {
  685. this.msgSuccess("操作成功");
  686. this.edit.open = false;
  687. getOrder(this.item.orderId).then(response => {
  688. this.item=response.data
  689. that.getlogList(this.item.orderId);
  690. that.$parent.$parent.getList();
  691. });
  692. }
  693. });
  694. }
  695. });
  696. },
  697. editOrder(){
  698. this.edit.open=true;
  699. this.editForm.orderId=this.item.orderId;
  700. this.editForm.remark=this.item.remark;
  701. this.editForm.userAddress = this.item.userAddress.toString();
  702. this.editForm.status = this.item.status.toString();
  703. this.editForm.deliveryType = this.item.deliveryType.toString();
  704. this.editForm.deliveryStatus = this.item.deliveryStatus.toString();
  705. },
  706. updateExpress(){
  707. var that=this;
  708. this.$confirm('定同步物流信息吗,同步后将自动发货?', "警告", {
  709. confirmButtonText: "确定",
  710. cancelButtonText: "取消",
  711. type: "warning"
  712. }).then(function() {
  713. var data=that.item.orderId
  714. return updateExpress(data);
  715. }).then(() => {
  716. this.msgSuccess("操作成功");
  717. getOrder(this.item.orderId).then(response => {
  718. this.item=response.data
  719. that.getlogList(this.item.orderId);
  720. that.$parent.$parent.getList();
  721. });
  722. }).catch(function() {});
  723. },
  724. addErpOrder(){
  725. var that=this;
  726. this.$confirm('是否确认推送管易?', "警告", {
  727. confirmButtonText: "确定",
  728. cancelButtonText: "取消",
  729. type: "warning"
  730. }).then(function() {
  731. var data=that.item.orderId
  732. return createErpOrder(data);
  733. }).then(() => {
  734. this.msgSuccess("操作成功");
  735. getOrder(this.item.orderId).then(response => {
  736. this.item=response.data
  737. that.getlogList(this.item.orderId);
  738. that.$parent.$parent.getList();
  739. });
  740. }).catch(function() {});
  741. },
  742. showErpOrder(){
  743. this.erpDialog.open=true;
  744. var data=this.item.extendOrderId;
  745. getEroOrder(data).then(response => {
  746. this.erp = response.data;
  747. if(response.data.orders!=null&&response.data.orders.length==1){
  748. this.erpOrder=response.data.orders[0]
  749. }
  750. });
  751. },
  752. editTuiMoney1(){
  753. var that=this;
  754. this.$confirm('是否解冻此订单推广佣金吗?', "警告", {
  755. confirmButtonText: "确定",
  756. cancelButtonText: "取消",
  757. type: "warning"
  758. }).then(function() {
  759. var data=that.item.orderId;
  760. return editTuiMoney(data);
  761. }).then(() => {
  762. this.msgSuccess("操作成功");
  763. getOrder(this.item.orderId).then(response => {
  764. this.item=response.data
  765. that.getlogList(this.item.orderId);
  766. that.$parent.$parent.getList();
  767. });
  768. }).catch(function() {});
  769. },
  770. editTuiMoney2(){
  771. var that=this;
  772. this.$confirm('是否冻结此订单推广佣金吗?', "警告", {
  773. confirmButtonText: "确定",
  774. cancelButtonText: "取消",
  775. type: "warning"
  776. }).then(function() {
  777. var data=that.item.orderId;
  778. return editTuiMoney(data);
  779. }).then(() => {
  780. this.msgSuccess("操作成功");
  781. getOrder(this.item.orderId).then(response => {
  782. this.item=response.data
  783. that.getlogList(this.item.orderId);
  784. that.$parent.$parent.getList();
  785. });
  786. }).catch(function() {});
  787. },
  788. returnCost(){
  789. var that=this;
  790. this.$confirm('是否退还此订单成本吗?', "警告", {
  791. confirmButtonText: "确定",
  792. cancelButtonText: "取消",
  793. type: "warning"
  794. }).then(function() {
  795. var data=that.item.orderId;
  796. return returnCost(data);
  797. }).then(() => {
  798. this.msgSuccess("操作成功");
  799. this.getDetails(this.item.orderId,null,null)
  800. }).catch(function() {});
  801. },
  802. moneyCancel(){
  803. this.money=null;
  804. this.moneyVisible=false;
  805. },
  806. refund(){
  807. var that=this;
  808. this.$confirm('是否确认申请退款?', "警告", {
  809. confirmButtonText: "确定",
  810. cancelButtonText: "取消",
  811. type: "warning"
  812. }).then(function() {
  813. var data={
  814. orderId:that.item.orderId
  815. }
  816. return afterSales(data);
  817. }).then(() => {
  818. this.msgSuccess("操作成功");
  819. getOrder(this.item.orderId).then(response => {
  820. this.item = response.data;
  821. this.getlogList(this.item.orderId);
  822. this.$parent.$parent.getList();
  823. });
  824. }).catch(function() {});
  825. },
  826. finishOrder(){
  827. var that=this;
  828. this.$confirm('是否确认客户已收货?', "警告", {
  829. confirmButtonText: "确定",
  830. cancelButtonText: "取消",
  831. type: "warning"
  832. }).then(function() {
  833. var data={
  834. orderId:that.item.orderId
  835. }
  836. return getGoods(data);
  837. }).then(() => {
  838. this.msgSuccess("操作成功");
  839. getOrder(this.item.orderId).then(response => {
  840. this.item = response.data;
  841. this.getlistOrderitem(this.item.orderId);
  842. this.getlogList(this.item.orderId);
  843. this.$parent.$parent.getList();
  844. });
  845. }).catch(function() {});
  846. },
  847. syncExpress(){
  848. var that=this;
  849. this.$confirm('确定同步物流状态吗', "警告", {
  850. confirmButtonText: "确定",
  851. cancelButtonText: "取消",
  852. type: "warning"
  853. }).then(function() {
  854. var data=that.item.orderId
  855. return syncExpress(data);
  856. }).then(() => {
  857. this.msgSuccess("操作成功");
  858. this.expressDialog.open=false
  859. getOrder(this.item.orderId).then(response => {
  860. this.item=response.data
  861. that.getlogList(this.item.orderId);
  862. that.$parent.$parent.getList();
  863. });
  864. }).catch(function() {});
  865. },
  866. getInquiryOrder(){
  867. this.show.open=true;
  868. setTimeout(() => {
  869. this.$refs.Details.getDetails(this.item.inquiryOrderId);
  870. }, 1);
  871. },
  872. getPackageOrder(){
  873. this.pack.open=true;
  874. console.log(this.item.packageOrderId)
  875. setTimeout(() => {
  876. this.$refs.packDetails.getDetails(this.item.packageOrderId);
  877. }, 1);
  878. },
  879. tuiOrder(){
  880. var that=this;
  881. this.$confirm('是否确认推送到智慧药房?', "警告", {
  882. confirmButtonText: "确定",
  883. cancelButtonText: "取消",
  884. type: "warning"
  885. }).then(function() {
  886. var data={
  887. orderId:that.item.orderId
  888. }
  889. return tuiOrder(data);
  890. }).then(() => {
  891. this.msgSuccess("操作成功");
  892. getOrder(this.item.orderId).then(response => {
  893. this.item = response.data;
  894. this.getlogList(this.item.orderId);
  895. this.$parent.$parent.getList();
  896. });
  897. }).catch(function() {});
  898. },
  899. sendCancel(){
  900. this.sendVisible = false;
  901. this.form={
  902. deliveryCode: null,
  903. deliveryName:null,
  904. deliverySn:null,
  905. orderId:null,
  906. }
  907. },
  908. sendGoods(){
  909. this.form.orderId=this.item.orderId;
  910. sendgoods(this.form).then(response => {
  911. this.msgSuccess("修改成功");
  912. this.sendVisible = false;
  913. getOrder(this.item.orderId).then(response => {
  914. this.item = response.data;
  915. this.getlogList(this.item.orderId);
  916. this.$parent.$parent.getList();
  917. });
  918. this.form={
  919. deliveryCode: null,
  920. deliveryName:null,
  921. deliverySn:null,
  922. orderId:null,
  923. }
  924. });
  925. },
  926. getDetails(orderId,nickName,storeName) {
  927. this.nickName=nickName;
  928. this.storeName=storeName;
  929. this.item=null;
  930. this.tuiMoneyLogs=null;
  931. getOrder(orderId).then(response => {
  932. this.item = response.data;
  933. this.tuiMoneyLogs = response.tuiMoneyLogs;
  934. this.getlistOrderitem(orderId);
  935. this.getlogList(orderId);
  936. this.getPayment(orderId);
  937. this.msgForm.userId=response.data.userId;
  938. this.msgForm.followDoctorId=response.data.followDoctorId;
  939. if(this.item.orderType==2){
  940. this.getCount(this.item.prescribeId);
  941. }
  942. });
  943. },
  944. getCount(id){
  945. getPrescribe(id).then(response => {
  946. this.recipeType = response.data.recipeType;
  947. this.counts = JSON.parse(response.data.usageJson).counts
  948. });
  949. },
  950. getOrder(){
  951. getOrder(this.item.orderId).then(response => {
  952. this.item = response.data;
  953. this.getlistOrderitem(this.item.orderId);
  954. this.getlogList(this.item.orderId);
  955. this.getPayment(this.item.orderId);
  956. if(this.item.orderType==2){
  957. this.getCount(this.item.prescribeId);
  958. }
  959. });
  960. },
  961. submitEditDyForm(){
  962. this.$refs["editDyForm"].validate(valid => {
  963. if (valid) {
  964. console.log(this.editDyForm)
  965. updateDelivery(this.editDyForm).then(response => {
  966. if (response.code === 200) {
  967. this.msgSuccess("操作成功");
  968. this.editDy.open = false;
  969. getOrder(this.item.orderId).then(response => {
  970. this.item = response.data;
  971. this.getlogList(this.item.orderId);
  972. this.$parent.$parent.getList();
  973. });
  974. }
  975. }).finally(()=>{
  976. this.editDyForm.deliveryCode = null;
  977. this.editDyForm.orderId = null;
  978. this.editDyForm.deliveryId = null;
  979. this.editDyForm.deliverySn = null;
  980. })
  981. }
  982. });
  983. },
  984. getlistOrderitem(orderId){
  985. listOrderitem(orderId).then(response => {
  986. this.prod = response.rows;
  987. this.showProd=[this.prod[0]]
  988. });
  989. },
  990. getlogList(orderId){
  991. logList(orderId).then(response => {
  992. this.logs = response.rows;
  993. });
  994. },
  995. getPayment(orderId){
  996. payment(orderId).then(response => {
  997. console.log(response)
  998. this.pay = response.data;
  999. });
  1000. }
  1001. }
  1002. }
  1003. </script>
  1004. <style>
  1005. .content{
  1006. height: 100%;
  1007. background-color: #fff;
  1008. padding: 0px 20px;
  1009. }
  1010. </style>
  1011. <style>
  1012. .contentx{
  1013. height: 100%;
  1014. background-color: #fff;
  1015. padding: 0px 20px 20px;
  1016. margin: 20px;
  1017. }
  1018. .el-descriptions-item__label.is-bordered-label{
  1019. font-weight: normal;
  1020. }
  1021. .el-descriptions-item__content {
  1022. max-width: 150px;
  1023. min-width: 100px;
  1024. }
  1025. .desct{
  1026. padding-top: 20px;
  1027. padding-bottom: 20px;
  1028. color: #524b4a;
  1029. font-weight: bold;
  1030. }
  1031. </style>
  1032. <style scoped>
  1033. .order-content{
  1034. margin: 10px;
  1035. }
  1036. .operate-container {
  1037. background: #F2F6FC;
  1038. height: 60px;
  1039. margin: -20px -20px 0;
  1040. line-height: 60px;
  1041. }
  1042. .operate-button-container {
  1043. float: right;
  1044. margin-right: 20px
  1045. }
  1046. </style>
  1047. <style scoped>
  1048. .chat-records {
  1049. overflow-y: auto;
  1050. }
  1051. .timestamp {
  1052. font-size: 12px;
  1053. color: #A9A9A9;
  1054. }
  1055. .chat-record {
  1056. margin: 10px;
  1057. flex-direction: column;
  1058. align-items: flex-start;
  1059. }
  1060. .sent {
  1061. background-color: #fbfdff;
  1062. color: #000839;
  1063. }
  1064. .sent .timestamp {
  1065. float: right;
  1066. }
  1067. .right{
  1068. float: right;
  1069. }
  1070. .received {
  1071. background-color: #fbfdff;
  1072. color: #000000;
  1073. }
  1074. .el-descriptions-item__content {
  1075. max-width: 150px;
  1076. min-width: 100px;
  1077. }
  1078. .order-content{
  1079. margin: 10px;
  1080. }
  1081. .operate-container {
  1082. background: #F2F6FC;
  1083. height: 60px;
  1084. margin: -20px -20px 0;
  1085. line-height: 60px;
  1086. }
  1087. .operate-button-container {
  1088. float: right;
  1089. margin-right: 20px
  1090. }
  1091. </style>