baseForm.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754
  1. <template>
  2. <el-form
  3. ref="ruleForm"
  4. v-loading="loading"
  5. :model="ruleForm"
  6. status-icon
  7. :rules="rulesThis"
  8. :size="'small'"
  9. label-width="100px"
  10. class="supplierAdd"
  11. >
  12. <el-row>
  13. <el-col :span="8">
  14. <div class="supplierAdd-title" style="margin: 6px 0 0 10px">
  15. 基础信息
  16. </div></el-col
  17. >
  18. <el-col :span="8">
  19. <el-form-item label="合作状态" prop="coop_state">
  20. <el-select
  21. style="width: 100%"
  22. v-model="ruleForm.coop_state"
  23. :disabled="type !== 'add' && type !== 'edit'"
  24. placeholder="合作状态"
  25. >
  26. <el-option
  27. v-for="item in coop_stateoptions"
  28. :key="item.value"
  29. :label="item.label"
  30. :value="item.value"
  31. >
  32. </el-option>
  33. </el-select>
  34. </el-form-item>
  35. </el-col>
  36. <el-col :span="8">
  37. <el-form-item label="供应商来源" prop="source">
  38. <el-select
  39. style="width: 100%"
  40. v-model="ruleForm.source"
  41. :disabled="type !== 'add' && type !== 'edit'"
  42. placeholder="供应商来源"
  43. >
  44. <el-option
  45. v-for="item in sourceoptions"
  46. :key="item.value"
  47. :label="item.label"
  48. :value="item.value"
  49. >
  50. </el-option>
  51. </el-select>
  52. </el-form-item>
  53. </el-col>
  54. <el-col :span="8">
  55. <el-form-item label="申请类型" prop="type">
  56. <el-select
  57. style="width: 100%"
  58. v-model="ruleForm.type"
  59. :disabled="type !== 'add' && type !== 'edit'"
  60. placeholder="申请类型"
  61. >
  62. <el-option
  63. v-for="item in typeoptions"
  64. :key="item.value"
  65. :label="item.label"
  66. :value="item.value"
  67. >
  68. </el-option>
  69. </el-select>
  70. </el-form-item>
  71. </el-col>
  72. <el-col :span="8">
  73. <el-form-item label="所属类别" prop="category">
  74. <el-select
  75. style="width: 100%"
  76. v-model="ruleForm.category"
  77. :disabled="type !== 'add' && type !== 'edit'"
  78. placeholder="所属类别"
  79. >
  80. <el-option
  81. v-for="item in categoryoptions"
  82. :key="item.value"
  83. :label="item.label"
  84. :value="item.value"
  85. >
  86. </el-option>
  87. </el-select>
  88. </el-form-item>
  89. </el-col>
  90. <el-col :span="8">
  91. <el-form-item label="物流方式" prop="delivery_way">
  92. <el-select
  93. style="width: 100%"
  94. v-model="ruleForm.delivery_way"
  95. :disabled="type !== 'add' && type !== 'edit'"
  96. placeholder="物流方式"
  97. >
  98. <el-option
  99. v-for="item in delivery_wayoptions"
  100. :key="item.value"
  101. :label="item.label"
  102. :value="item.value"
  103. >
  104. </el-option>
  105. </el-select> </el-form-item
  106. ></el-col>
  107. <el-col :span="8"
  108. ><el-form-item label="供应商类型" prop="supplier_type">
  109. <el-select
  110. style="width: 100%"
  111. v-model="ruleForm.supplier_type"
  112. :disabled="type !== 'add' && type !== 'edit'"
  113. placeholder="供应商类型"
  114. >
  115. <el-option
  116. v-for="item in supplier_typeoptions"
  117. :key="item.value"
  118. :label="item.label"
  119. :value="item.value"
  120. >
  121. </el-option>
  122. </el-select> </el-form-item
  123. ></el-col>
  124. <el-col :span="8">
  125. <el-form-item label="供应商级别" prop="level">
  126. <el-select
  127. style="width: 100%"
  128. v-model="ruleForm.level"
  129. :disabled="type !== 'add' && type !== 'edit'"
  130. placeholder="供应商级别"
  131. >
  132. <el-option
  133. v-for="item in leveloptions"
  134. :key="item.value"
  135. :label="item.label"
  136. :value="item.value"
  137. >
  138. </el-option>
  139. </el-select>
  140. </el-form-item>
  141. </el-col>
  142. <el-col :span="8">
  143. <el-form-item label="付款方式" prop="pay_type">
  144. <el-select
  145. style="width: 100%"
  146. v-model="ruleForm.pay_type"
  147. :disabled="type !== 'add' && type !== 'edit'"
  148. placeholder="付款方式"
  149. >
  150. <el-option
  151. v-for="item in pay_typeoptions"
  152. :key="item.value"
  153. :label="item.label"
  154. :value="item.value"
  155. >
  156. </el-option>
  157. </el-select>
  158. </el-form-item>
  159. </el-col>
  160. <el-col :span="8">
  161. <el-form-item
  162. label="营业执照"
  163. prop="supplier_img"
  164. :disabled="id == 'view'"
  165. class="activity-upload"
  166. >
  167. <div class="btnupload" style="position: relative">
  168. <img
  169. v-if="ruleForm.supplier_img"
  170. :src="ruleForm.supplier_img"
  171. class="avatar"
  172. />
  173. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  174. <file-upload
  175. v-if="type !== 'view'"
  176. class="Upload"
  177. :disabled="id == 'view'"
  178. :accept="'.jpg,.png,.jpeg'"
  179. :multiple="true"
  180. :uploadcondition="beforeAvatarUpload"
  181. @UploadErrorEvent="UploadErrorEventsupplier_img"
  182. @UploadSuccessEvent="UploadSuccessEventsupplier_img"
  183. ></file-upload>
  184. </div>
  185. </el-form-item>
  186. </el-col>
  187. <el-col :span="16">
  188. <el-form-item label="资质证明" prop="prove_img">
  189. <div class="good_info_img_div">
  190. <ul class="clear">
  191. <template
  192. v-if="
  193. ruleForm &&
  194. ruleForm.prove_img &&
  195. ruleForm.prove_img.length > 0
  196. "
  197. >
  198. <li
  199. class="img-show-li"
  200. v-viewer
  201. v-for="(img, iindex) in ruleForm.prove_img"
  202. :key="img + iindex"
  203. >
  204. <div class="img-show-li-div">
  205. <img :src="img" class="img-show" alt="" />
  206. <i
  207. v-if="type === 'add' || type === 'edit'"
  208. class="el-icon-close"
  209. @click="closeImg(iindex)"
  210. ></i>
  211. </div>
  212. </li>
  213. </template>
  214. <li
  215. class="img-show-li"
  216. v-if="
  217. ruleForm &&
  218. ruleForm.prove_img &&
  219. ruleForm.prove_img.length < 10 &&
  220. type !== 'view'
  221. "
  222. >
  223. <div class="activity-upload">
  224. <div class="btnupload" style="position: relative">
  225. <i class="el-icon-plus avatar-uploader-icon"></i>
  226. <file-upload
  227. class="Upload"
  228. :disabled="type !== 'add' && type !== 'edit'"
  229. :accept="'.jpg,.png,.jpeg'"
  230. :multiple="true"
  231. :uploadcondition="beforeAvatarUpload"
  232. @UploadErrorEvent="UploadErrorEventgood_info_img"
  233. @UploadSuccessEvent="UploadSuccessEventgood_info_img"
  234. ></file-upload>
  235. </div>
  236. </div>
  237. </li>
  238. </ul>
  239. </div>
  240. </el-form-item>
  241. </el-col>
  242. <el-col :span="24"
  243. ><div class="supplierAdd-title">联系人信息</div></el-col
  244. >
  245. <el-col :span="8">
  246. <el-form-item label="姓名" prop="contactor">
  247. <el-input
  248. v-model="ruleForm.contactor"
  249. :disabled="type !== 'add' && type !== 'edit'"
  250. placeholder="姓名"
  251. minlength="20"
  252. />
  253. </el-form-item>
  254. </el-col>
  255. <el-col :span="8">
  256. <el-form-item label="手机号" prop="mobile">
  257. <el-input
  258. v-model="ruleForm.mobile"
  259. :disabled="type !== 'add' && type !== 'edit'"
  260. placeholder="手机号"
  261. minlength="20"
  262. />
  263. </el-form-item>
  264. </el-col>
  265. <el-col :span="8">
  266. <el-form-item label="职位" prop="position">
  267. <el-input
  268. v-model="ruleForm.position"
  269. :disabled="type !== 'add' && type !== 'edit'"
  270. placeholder="职位"
  271. minlength="20"
  272. />
  273. </el-form-item>
  274. </el-col>
  275. <el-col :span="24">
  276. <div class="supplierAdd-title">营业执照信息</div></el-col
  277. >
  278. <el-col :span="8">
  279. <el-form-item label="注册号" prop="registercode">
  280. <el-input
  281. v-model="ruleForm.registercode"
  282. :disabled="type !== 'add' && type !== 'edit'"
  283. placeholder="注册号"
  284. minlength="20"
  285. />
  286. </el-form-item>
  287. </el-col>
  288. <el-col :span="16">
  289. <el-form-item label="供应商名称" prop="name">
  290. <el-input
  291. v-model="ruleForm.name"
  292. :disabled="type !== 'add' && type !== 'edit'"
  293. placeholder="供应商名称"
  294. minlength="20"
  295. />
  296. </el-form-item>
  297. </el-col>
  298. <el-col :span="8" v-if="!(ruleForm.supplier_img && type === 'add')">
  299. <el-form-item label="公司类型" prop="nature">
  300. <search-company-type
  301. :value="ruleForm.nature"
  302. :disabled="ruleForm.supplier_img && type !== 'add'"
  303. :size="'small'"
  304. :isDetail="false"
  305. :placeholder="'公司类型'"
  306. @searchChange="type_search_change"
  307. />
  308. </el-form-item>
  309. </el-col>
  310. <el-col :span="16" v-if="!(ruleForm.supplier_img && type === 'add')">
  311. <el-form-item label="详细地址" prop="addr">
  312. <el-input
  313. v-model="ruleForm.addr"
  314. :disabled="ruleForm.supplier_img && type !== 'add'"
  315. placeholder="详细地址"
  316. minlength="20"
  317. />
  318. </el-form-item>
  319. </el-col>
  320. <el-col :span="8" v-if="!(ruleForm.supplier_img && type === 'add')">
  321. <el-form-item label="法人代表" prop="legaler">
  322. <el-input
  323. v-model="ruleForm.legaler"
  324. :disabled="ruleForm.supplier_img && type !== 'add'"
  325. placeholder="法人代表"
  326. minlength="20"
  327. />
  328. </el-form-item>
  329. <el-form-item label="成立日期" prop="registertime">
  330. <el-date-picker
  331. v-model="ruleForm.registertime"
  332. type="date"
  333. value-format="yyyy-MM-dd"
  334. :disabled="ruleForm.supplier_img && type !== 'add'"
  335. style="width: 100%"
  336. :picker-options="pickerOptions"
  337. placeholder="成立日期"
  338. >
  339. </el-date-picker>
  340. </el-form-item>
  341. </el-col>
  342. <el-col :span="16" v-if="!(ruleForm.supplier_img && type === 'add')">
  343. <el-form-item label="运营范围" prop="scope">
  344. <el-input
  345. v-model="ruleForm.scope"
  346. :autosize="{ minRows: 4, maxRows: 4 }"
  347. type="textarea"
  348. :disabled="ruleForm.supplier_img && type !== 'add'"
  349. placeholder="运营范围"
  350. minlength="20"
  351. />
  352. </el-form-item>
  353. </el-col>
  354. <el-col
  355. :span="24"
  356. style="text-align: right"
  357. v-if="type === 'add' || type === 'edit'"
  358. >
  359. <el-button type="primary" @click="submitForm">保 存 </el-button>
  360. </el-col>
  361. </el-row>
  362. </el-form>
  363. </template>
  364. <script>
  365. import asyncRequest from "@/apis/service/serviceParam/supplier";
  366. import resToken from "@/mixins/resToken";
  367. import { isLicense, isMobile } from "@/utils/validate";
  368. export default {
  369. name: "supplierAdd",
  370. mixins: [resToken],
  371. props: ["showModel", "id", "type", "sitem"],
  372. data() {
  373. const validateLicense = (rule, value, callback) => {
  374. if (value !== "") {
  375. if (!isLicense(value)) {
  376. callback(new Error("注册号不正确!"));
  377. } else {
  378. callback();
  379. }
  380. } else {
  381. callback(new Error("请输入注册号!"));
  382. }
  383. };
  384. const validatemobile = (rule, value, callback) => {
  385. if (value === "") {
  386. callback(new Error("手机号不能为空!"));
  387. } else {
  388. if (!isMobile(value)) {
  389. callback(new Error("手机号格式不正确!"));
  390. } else {
  391. callback();
  392. }
  393. }
  394. };
  395. return {
  396. loading: false,
  397. coop_stateoptions: [
  398. { value: "0", label: "白名单" },
  399. { value: "1", label: "黑名单" },
  400. ],
  401. sourceoptions: [
  402. { value: "0", label: "客户提供" },
  403. { value: "1", label: "供应商提供" },
  404. { value: "2", label: "公司开发" },
  405. ],
  406. typeoptions: [
  407. { value: "0", label: "正式供应商" },
  408. { value: "1", label: "临时供应商" },
  409. ],
  410. categoryoptions: [
  411. { value: "0", label: "单品类供应商" },
  412. { value: "1", label: "多品类供应商" },
  413. ],
  414. delivery_wayoptions: [
  415. { value: "0", label: "供应商发货" },
  416. { value: "1", label: "公司自提" },
  417. ],
  418. supplier_typeoptions: [
  419. { value: "0", label: "生产厂家" },
  420. { value: "1", label: "代理商" },
  421. { value: "2", label: "经销商" },
  422. { value: "3", label: "分销商" },
  423. { value: "4", label: "电商平台" },
  424. ],
  425. leveloptions: [
  426. { value: "0", label: "一级代理商" },
  427. { value: "1", label: "二级代理商" },
  428. ],
  429. pay_typeoptions: [
  430. { value: "0", label: "现结" },
  431. { value: "1", label: "月清" },
  432. { value: "2", label: "双月清" },
  433. ],
  434. title: "添加供应商",
  435. showModelThis: this.showModel,
  436. pickerOptions: {
  437. disabledDate(time) {
  438. return time.getTime() > Date.now();
  439. },
  440. },
  441. ruleForm: {},
  442. rulesThis: this.rules,
  443. rules: {
  444. coop_state: [
  445. { required: true, message: "请选择合作状态", trigger: "change" },
  446. ],
  447. source: [
  448. { required: true, message: "请选择供应商来源", trigger: "change" },
  449. ],
  450. type: [
  451. { required: true, message: "请选择申请类型", trigger: "change" },
  452. ],
  453. category: [
  454. { required: true, message: "请选择所属类别", trigger: "change" },
  455. ],
  456. delivery_way: [
  457. { required: true, message: "请选择物流方式", trigger: "change" },
  458. ],
  459. supplier_type: [
  460. { required: true, message: "请选择供应商类型", trigger: "change" },
  461. ],
  462. level: [
  463. { required: true, message: "请选择供应商级别", trigger: "change" },
  464. ],
  465. pay_type: [
  466. { required: true, message: "请选择付款方式", trigger: "change" },
  467. ],
  468. prove_img: [
  469. {
  470. required: true,
  471. type: "array",
  472. message: "至少上传一张图片",
  473. trigger: "change",
  474. },
  475. ],
  476. contactor: [
  477. { required: true, message: "姓名不能为空", trigger: "blur" },
  478. ],
  479. mobile: [
  480. { required: true, validator: validatemobile, trigger: "blur" },
  481. ],
  482. position: [
  483. { required: true, message: "职位不能为空", trigger: "blur" },
  484. ],
  485. registercode: [
  486. { required: true, validator: validateLicense, trigger: "blur" },
  487. ],
  488. name: [
  489. { required: true, message: "供应商名称不能为空", trigger: "blur" },
  490. ],
  491. nature: [
  492. { required: true, message: "公司类型不能为空", trigger: "change" },
  493. ],
  494. addr: [
  495. { required: true, message: "详细地址不能为空", trigger: "blur" },
  496. ],
  497. legaler: [
  498. { required: true, message: "法人代表不能为空", trigger: "blur" },
  499. ],
  500. registertime: [
  501. { required: true, message: "成立时间不能为空", trigger: "change" },
  502. ],
  503. scope: [
  504. { required: true, message: "营业执照不能为空", trigger: "blur" },
  505. ],
  506. },
  507. };
  508. },
  509. mounted() {
  510. this.initForm();
  511. },
  512. methods: {
  513. async initForm() {
  514. this.loading = true;
  515. this.resetFormData();
  516. this.rulesThis = this.rules;
  517. await this.resetForm();
  518. this.loading = false;
  519. },
  520. async resetForm() {
  521. // 重置
  522. await this.$nextTick(() => {
  523. if (this.$refs.ruleForm) {
  524. this.$refs.ruleForm.resetFields();
  525. this.$refs.ruleForm.clearValidate();
  526. this.resetFormData();
  527. }
  528. });
  529. },
  530. resetFormData() {
  531. const {
  532. id,
  533. coop_state,
  534. source,
  535. type,
  536. category,
  537. delivery_way,
  538. supplier_type,
  539. level,
  540. pay_type,
  541. supplier_img,
  542. prove_img,
  543. contactor,
  544. mobile,
  545. position,
  546. registercode,
  547. name,
  548. nature,
  549. addr,
  550. legaler,
  551. registertime,
  552. scope,
  553. } = this.sitem;
  554. this.ruleForm = {
  555. id: id || "",
  556. coop_state: coop_state || "",
  557. source: source || "",
  558. type: type || "",
  559. category: category || "",
  560. delivery_way: delivery_way || "",
  561. supplier_type: supplier_type || "",
  562. level: level || "",
  563. pay_type: pay_type || "",
  564. supplier_img: supplier_img || "",
  565. prove_img: prove_img ? (prove_img || "").split(",") : [],
  566. contactor: contactor || "",
  567. mobile: mobile || "",
  568. position: position || "",
  569. registercode: registercode || "",
  570. name: name || "",
  571. nature: nature || "",
  572. addr: addr || "",
  573. legaler: legaler || "",
  574. registertime: registertime || "",
  575. scope: scope || "",
  576. };
  577. },
  578. async submitForm() {
  579. await this.$refs.ruleForm.validate(async (valid) => {
  580. if (valid) {
  581. this.loading = true;
  582. let model = JSON.parse(JSON.stringify(this.ruleForm));
  583. model.prove_img = model.prove_img.toString();
  584. let res = {};
  585. if (this.id === "add") {
  586. delete model["id"];
  587. res = await asyncRequest.add(model);
  588. } else {
  589. res = await asyncRequest.update(model);
  590. }
  591. this.loading = false;
  592. if (res && res.code === 0) {
  593. const title = this.id === "add" ? "添加成功!" : "修改成功!";
  594. this.$notify.success({
  595. title,
  596. message: "",
  597. });
  598. this.showModelThis = false;
  599. // 刷新
  600. this.$emit("refresh", res.data);
  601. } else if (res && res.code >= 100 && res.code <= 104) {
  602. await this.logout();
  603. } else {
  604. this.$message.warning(res.message);
  605. }
  606. } else {
  607. console.log("error submit!!");
  608. return false;
  609. }
  610. });
  611. },
  612. type_search_change(e) {
  613. const { id, code, label } = e;
  614. if (id) {
  615. this.ruleForm.nature = id;
  616. } else {
  617. this.ruleForm.nature = "";
  618. }
  619. this.$refs.ruleForm.validateField("nature");
  620. },
  621. //图片上传成功
  622. async UploadSuccessEventsupplier_img(data) {
  623. await this.UploadSuccessEvent(1, data);
  624. },
  625. // //图片上传成功
  626. // async UploadSuccessEventgood_img(data) {
  627. // await this.UploadSuccessEvent(2, data);
  628. // },
  629. //图片上传成功
  630. async UploadSuccessEventgood_info_img(data) {
  631. await this.UploadSuccessEvent(3, data);
  632. },
  633. //图片上传成功
  634. async UploadSuccessEvent(type, data) {
  635. const { url } = data;
  636. if (url === "noToken") {
  637. await this.logout();
  638. } else {
  639. if (type === 1) {
  640. this.ruleForm.supplier_img = url;
  641. this.$refs.ruleForm.validateField("supplier_img");
  642. } else if (type === 2) {
  643. this.ruleForm.good_img = url;
  644. this.$refs.ruleForm.validateField("good_img");
  645. } else {
  646. this.ruleForm.prove_img.push(url);
  647. this.$refs.ruleForm.validateField("prove_img");
  648. }
  649. this.$message.success("图片上传成功!");
  650. }
  651. },
  652. //图片上传失败
  653. UploadErrorEventsupplier_img(res) {
  654. this.imgUploadError(1, res);
  655. },
  656. // //图片上传失败
  657. // UploadErrorEventgood_img(res) {
  658. // this.imgUploadError(2, res);
  659. // },
  660. //图片上传失败
  661. UploadErrorEventgood_info_img(res) {
  662. this.imgUploadError(3, res);
  663. },
  664. imgUploadError(type, res) {
  665. if (res !== "break") {
  666. this.$message.error("图片上传失败!");
  667. this.$refs.ruleForm.validateField(
  668. type === 1
  669. ? "supplier_img"
  670. : type === 2
  671. ? "good_img"
  672. : "good_info_img"
  673. );
  674. }
  675. },
  676. //判断图片规格
  677. beforeAvatarUpload(file) {
  678. let isJPG = false;
  679. if (
  680. file.type === "image/jpg" ||
  681. file.type === "image/png" ||
  682. file.type === "image/jpeg"
  683. ) {
  684. isJPG = true;
  685. }
  686. const isLt2M = file.size / 1024 / 1024 < 1;
  687. if (!isJPG) {
  688. this.$message.error("图片格式不正确!");
  689. }
  690. if (!isLt2M) {
  691. this.$message.error("图片大小不能超过 1MB!");
  692. }
  693. return isJPG && isLt2M;
  694. },
  695. },
  696. };
  697. </script>
  698. <style lang="scss" scoped>
  699. .supplierAdd {
  700. .good_info_img_div {
  701. ul {
  702. width: 100%;
  703. li {
  704. float: left;
  705. width: 107px;
  706. height: 107px;
  707. padding: 0 5px 0 0;
  708. .img-show-li-div {
  709. width: 102px;
  710. height: 102px;
  711. border: 1px solid #dfe4ed;
  712. background: #dfe4ed;
  713. position: relative;
  714. img.img-show {
  715. width: 100%;
  716. height: 100%;
  717. position: relative;
  718. display: inline-block;
  719. }
  720. i.el-icon-close {
  721. position: absolute;
  722. z-index: 2;
  723. top: 0;
  724. right: 0;
  725. color: #dfe4ed;
  726. }
  727. &:hover {
  728. i.el-icon-close {
  729. cursor: pointer;
  730. color: #63cbe7;
  731. }
  732. }
  733. }
  734. }
  735. }
  736. }
  737. .supplierAdd-title {
  738. border-left: 5px solid #006eff;
  739. margin: 6px 0 25px 10px;
  740. width: 100%;
  741. box-sizing: border-box;
  742. padding: 0 0 0 10px;
  743. }
  744. }
  745. </style>