dealer_list-detail.vue 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <template>
  2. <div>
  3. <div class="sty">
  4. <el-page-header @back="goBack" content="详情页面"> </el-page-header>
  5. </div>
  6. <el-card class="box-card">
  7. <div slot="header" class="clearfix">
  8. <span>客户</span>
  9. </div>
  10. <el-row>
  11. <el-col :span="8"
  12. ><span class="color">创建组织</span
  13. ><input v-model="infoForm.a" type="text"
  14. /></el-col>
  15. <el-col :span="8"
  16. ><span>客户编码</span><input v-model="infoForm.number" type="text"
  17. /></el-col>
  18. <el-col :span="8"
  19. ><span class="color">使用组织</span
  20. ><input v-model="infoForm.useOrgId" type="text"
  21. /></el-col>
  22. </el-row>
  23. <el-row>
  24. <el-col :span="8"><span>简称</span><input type="text" /></el-col>
  25. </el-row>
  26. </el-card>
  27. <el-card class="box-card">
  28. <div slot="header" class="clearfix">
  29. <span>基本信息</span>
  30. </div>
  31. <div class="baseInfo">
  32. <div>
  33. <div class="base-header">
  34. <span>地址</span>
  35. </div>
  36. <el-row>
  37. <el-col :span="24"
  38. ><span class="marg-r color">国家</span><input type="text"
  39. /></el-col>
  40. </el-row>
  41. <el-row>
  42. <el-col :span="24"
  43. ><span class="marg-r color">地区</span
  44. ><input v-model="infoForm.region" type="text"
  45. /></el-col>
  46. </el-row>
  47. <el-row>
  48. <el-col :span="24"
  49. ><span class="marg-r color">省份</span
  50. ><input v-model="infoForm.province" type="text"
  51. /></el-col>
  52. </el-row>
  53. <el-row>
  54. <el-col :span="24"
  55. ><span class="marg-r color">城市</span><input type="text"
  56. /></el-col>
  57. </el-row>
  58. <el-row>
  59. <el-col :span="24"
  60. ><span class="marg-r">通讯地址</span
  61. ><input v-model="infoForm.invoiceAddress" type="text"
  62. /></el-col>
  63. </el-row>
  64. <el-row>
  65. <el-col :span="24"
  66. ><span class="marg-r">邮政编码</span><input type="text"
  67. /></el-col>
  68. </el-row>
  69. <el-row>
  70. <el-col :span="24"
  71. ><span class="marg-r">公司网址</span><input type="text"
  72. /></el-col>
  73. </el-row>
  74. <el-row>
  75. <el-col :span="24"
  76. ><span class="marg-r color">商城订单对应组织</span
  77. ><input type="text"
  78. /></el-col>
  79. </el-row>
  80. <el-row>
  81. <el-col :span="24"
  82. ><span class="marg-r">联系邮箱</span
  83. ><input v-model="infoForm.email" type="text"
  84. /></el-col>
  85. </el-row>
  86. </div>
  87. <div>
  88. <div class="base-header">
  89. <span>管理</span>
  90. </div>
  91. <el-row>
  92. <el-col :span="24"
  93. ><span class="marg-r">联系电话</span
  94. ><input v-model="infoForm.mobile" type="text"
  95. /></el-col>
  96. </el-row>
  97. <el-row>
  98. <el-col :span="24"
  99. ><span class="marg-r">传真</span><input type="text"
  100. /></el-col>
  101. </el-row>
  102. <el-row>
  103. <el-col :span="24"
  104. ><span class="marg-r color">公司类别</span><input type="text"
  105. /></el-col>
  106. </el-row>
  107. <el-row>
  108. <el-col :span="24"
  109. ><span class="marg-r color">公司性质</span><input type="text"
  110. /></el-col>
  111. </el-row>
  112. <el-row>
  113. <el-col :span="24"
  114. ><span class="marg-r color">公司规模</span><input type="text"
  115. /></el-col>
  116. </el-row>
  117. <div class="base-header">
  118. <span>开票信息</span>
  119. </div>
  120. <el-row>
  121. <el-col :span="24"
  122. ><span class="marg-r">发票抬头</span
  123. ><input v-model="infoForm.invoiceTitle" type="text"
  124. /></el-col>
  125. </el-row>
  126. <el-row>
  127. <el-col :span="24"
  128. ><span class="marg-r">纳税登记号</span><input type="text"
  129. /></el-col>
  130. </el-row>
  131. <el-row>
  132. <el-col :span="24"
  133. ><span class="marg-r">开户银行</span
  134. ><input v-model="infoForm.bank" type="text"
  135. /></el-col>
  136. </el-row>
  137. <el-row>
  138. <el-col :span="24"
  139. ><span class="marg-r">银行账号</span
  140. ><input v-model="infoForm.bankAccount" type="text"
  141. /></el-col>
  142. </el-row>
  143. <el-row>
  144. <el-col :span="24"
  145. ><span class="marg-r">开票联系电话</span
  146. ><input v-model="infoForm.invoicePhone" type="text"
  147. /></el-col>
  148. </el-row>
  149. <el-row>
  150. <el-col :span="24"
  151. ><span class="marg-r">开票通讯地址</span
  152. ><input v-model="infoForm.invoiceAddress" type="text"
  153. /></el-col>
  154. </el-row>
  155. </div>
  156. <div>
  157. <div class="base-header">
  158. <span>相关</span>
  159. </div>
  160. <el-row>
  161. <el-col :span="24"
  162. ><span class="marg-r color">对应供应商</span><input type="text"
  163. /></el-col>
  164. </el-row>
  165. <el-row>
  166. <el-col :span="24"
  167. ><span class="marg-r color">对应集团客户</span><input type="text"
  168. /></el-col>
  169. </el-row>
  170. <el-row>
  171. <el-col :span="24"
  172. ><span class="marg-r">集团客户</span><input type="checkbox"
  173. /></el-col>
  174. </el-row>
  175. <el-row>
  176. <el-col :span="24"
  177. ><span class="marg-r">默认付款方</span><input type="checkbox"
  178. /></el-col>
  179. </el-row>
  180. <el-row>
  181. <el-col :span="24"
  182. ><span class="marg-r">不校验可发量</span><input type="checkbox"
  183. /></el-col>
  184. </el-row>
  185. <el-row>
  186. <el-col :span="24"
  187. ><span class="marg-r color">客户类别</span><input type="text"
  188. /></el-col>
  189. </el-row>
  190. <el-row>
  191. <el-col :span="24"
  192. ><span class="marg-r color">客户分组</span><input type="text"
  193. /></el-col>
  194. </el-row>
  195. <el-row>
  196. <el-col :span="24"
  197. ><span class="marg-r color">对应组织</span><input type="text"
  198. /></el-col>
  199. </el-row>
  200. <el-row>
  201. <el-col :span="24"
  202. ><span class="marg-r">备注</span><input type="text"
  203. /></el-col>
  204. </el-row>
  205. <div class="base-header">
  206. <span>智慧订货</span>
  207. </div>
  208. <el-row>
  209. <el-col :span="24"
  210. ><span class="marg-r">允许对智慧订货</span><input type="checkbox"
  211. /></el-col>
  212. </el-row>
  213. </div>
  214. </div>
  215. </el-card>
  216. <el-card class="box-card">
  217. <div slot="header" class="clearfix">
  218. <span>信用额度</span>
  219. </div>
  220. <el-row>
  221. <el-col :span="8"
  222. ><span class="color">信用额度</span><input type="text"
  223. /></el-col>
  224. <el-col :span="8"><span>有效期</span><input type="text" /></el-col>
  225. <el-col :span="8"></el-col>
  226. </el-row>
  227. </el-card>
  228. <el-card class="box-card">
  229. <div slot="header" class="clearfix">
  230. <span>业务信息</span>
  231. </div>
  232. </el-card>
  233. </div>
  234. </template>
  235. <script>
  236. export default {
  237. props: {
  238. infoList: {
  239. type: Object,
  240. required: true,
  241. },
  242. },
  243. data() {
  244. return {
  245. infoForm: {
  246. adminUserId: "",
  247. bank: "",
  248. bankAccount: "",
  249. bindUser: true,
  250. city: "",
  251. createBy: "",
  252. createTime: "",
  253. creditAmount: 0,
  254. email: "",
  255. forbidStatus: "",
  256. id: "",
  257. invoiceAddress: "",
  258. invoicePhone: "",
  259. invoiceTitle: "",
  260. mobile: "",
  261. name: "",
  262. number: "",
  263. province: "",
  264. region: "",
  265. saleDeptName: "",
  266. saleDeptNumber: "",
  267. syncTime: "",
  268. taxNo: "",
  269. updateBy: "",
  270. updateTime: "",
  271. useOrgId: "",
  272. useOrgName: "",
  273. useOrgNumber: "",
  274. },
  275. };
  276. },
  277. created() {
  278. this.infoForm = this.infoList;
  279. },
  280. methods: {
  281. goBack() {
  282. console.log(this.$parent);
  283. this.$parent.isShow = true;
  284. },
  285. },
  286. };
  287. </script>
  288. <style lang="scss" scoped>
  289. .color {
  290. color: #1f93ec;
  291. }
  292. .el-col-24 {
  293. margin: 6px 0;
  294. }
  295. .marg-r {
  296. padding-right: 15px;
  297. font-size: 12px;
  298. display: inline-block;
  299. width: 120px;
  300. }
  301. .base-header {
  302. height: 20px;
  303. width: 60%;
  304. border-bottom: 2px solid gray;
  305. span {
  306. width: 100px;
  307. height: 100%;
  308. display: block;
  309. text-align: center;
  310. color: #fff;
  311. background-color: gray;
  312. }
  313. }
  314. .box-card {
  315. margin-bottom: 20px;
  316. }
  317. .el-col-8 {
  318. span {
  319. padding-right: 10px;
  320. display: inline-block;
  321. width: 100px;
  322. }
  323. }
  324. .baseInfo {
  325. display: flex;
  326. justify-content: space-between;
  327. > div {
  328. width: 33%;
  329. }
  330. }
  331. .sty {
  332. margin-bottom: 20px;
  333. }
  334. .el-row {
  335. margin-bottom: 20px;
  336. &:last-child {
  337. margin-bottom: 0;
  338. }
  339. }
  340. </style>