Explorar o código

feature_20250722_门店建议订单

zhujindu hai 4 meses
pai
achega
0810eba706

+ 1 - 1
src/views/deviceOutside/productItem.vue

@@ -35,7 +35,7 @@
         </p>
         <el-table class="table-headermd" :data="item.productDetailList" border>
           <el-table-column label="物料名称" prop="productName" align="center" />
-          <el-table-column label="规格" prop="productSku" align="center" width="90px" />
+          <el-table-column label="规格" prop="productSku" align="center" width="120px" />
         </el-table>
       </div>
       <van-empty v-if="list.length == 0" />

+ 87 - 85
src/views/deviceWithin/addStoreVisit.vue

@@ -4918,90 +4918,92 @@ export default {
   font-size: 16px;
 }
 </style>
-<style>
-.table-headermd {
-  font-size: 12px;
-  text-align: center;
-  position: initial;
-  width: 98% !important;
-  margin: 0 auto;
-  border-right: 0;
-}
-.table-headermd .el-table__header,
-.table-headermd .el-table__body {
-  width: 100% !important;
-}
-.table-headermd col:nth-child(4) {
-  width: 5.6rem;
-}
-.table-headermd col:nth-child(2),
-.table-headermd col:nth-child(3) {
-  width: 4.6rem;
-}
-.table-headermdwl col:nth-child(2) {
-  width: auto;
-}
-.table-headermdwl col:nth-child(3) {
-  width: 4.6rem;
-}
-.table-headermd .van-cell {
-  padding: 0 4px;
-  height: 100%;
-}
-.table-headermd th.el-table__cell > .cell {
-  padding: 0 4px;
-  text-align: center;
-}
-.table-headermd th.el-table__cell:first-child > .cell {
-  text-align: left;
-}
-.table-headermd th.el-table__cell {
-  background-color: #1989fa;
-  color: #fff;
-}
-.table-headermd .el-table__cell {
-  padding: 4px 0;
-}
-.table-headermd.el-table .cell {
-  padding: 0;
-}
-.table-headermd .tipTitle {
-  overflow: hidden;
-  text-overflow: ellipsis;
-  display: -webkit-box;
-  -webkit-box-orient: vertical;
-  -webkit-line-clamp: 2;
-}
-.table-headermd::before {
-  height: 0;
-}
-.xing {
-  color: red;
-  padding-left: 4px;
-}
-.formLabel .van-radio__label,
-.formLabel .van-checkbox__label {
-  font-size: 1.4rem;
-}
-.table-headermd .cell,
-.el-table--border .el-table__cell:first-child .cell {
-  padding: 0 4px;
-}
-.isTableMust {
-  padding: 4px;
-  color: #999;
-  margin: 0;
-  margin-top: -10px;
-}
-.mobile-input .van-field__control {
-  font-size: 12px;
-  color: #999;
-  border: 0;
-}
-.formLabel .mobile-input {
-  border: 0 !important;
-}
-.addStoreVisit .van-dialog {
-  overflow: visible;
+<style lang="scss">
+.addStoreVisit {
+  .table-headermd {
+    font-size: 12px;
+    text-align: center;
+    position: initial;
+    width: 98% !important;
+    margin: 0 auto;
+    border-right: 0;
+  }
+  .table-headermd .el-table__header,
+  .table-headermd .el-table__body {
+    width: 100% !important;
+  }
+  .table-headermd col:nth-child(4) {
+    width: 5.6rem;
+  }
+  .table-headermd col:nth-child(2),
+  .table-headermd col:nth-child(3) {
+    width: 4.6rem;
+  }
+  .table-headermdwl col:nth-child(2) {
+    width: auto;
+  }
+  .table-headermdwl col:nth-child(3) {
+    width: 4.6rem;
+  }
+  .table-headermd .van-cell {
+    padding: 0 4px;
+    height: 100%;
+  }
+  .table-headermd th.el-table__cell > .cell {
+    padding: 0 4px;
+    text-align: center;
+  }
+  .table-headermd th.el-table__cell:first-child > .cell {
+    text-align: left;
+  }
+  .table-headermd th.el-table__cell {
+    background-color: #1989fa;
+    color: #fff;
+  }
+  .table-headermd .el-table__cell {
+    padding: 4px 0;
+  }
+  .table-headermd.el-table .cell {
+    padding: 0;
+  }
+  .table-headermd .tipTitle {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: -webkit-box;
+    -webkit-box-orient: vertical;
+    -webkit-line-clamp: 2;
+  }
+  .table-headermd::before {
+    height: 0;
+  }
+  .xing {
+    color: red;
+    padding-left: 4px;
+  }
+  .formLabel .van-radio__label,
+  .formLabel .van-checkbox__label {
+    font-size: 1.4rem;
+  }
+  .table-headermd .cell,
+  .el-table--border .el-table__cell:first-child .cell {
+    padding: 0 4px;
+  }
+  .isTableMust {
+    padding: 4px;
+    color: #999;
+    margin: 0;
+    margin-top: -10px;
+  }
+  .mobile-input .van-field__control {
+    font-size: 12px;
+    color: #999;
+    border: 0;
+  }
+  .formLabel .mobile-input {
+    border: 0 !important;
+  }
+  .addStoreVisit .van-dialog {
+    overflow: visible;
+  }
 }
 </style>

+ 66 - 64
src/views/historicalVisit/hisvistdeils.vue

@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div class="hisvistdeils">
     <!--        顶部条-->
     <van-nav-bar class="navBar" title="拜访任务详情" left-arrow @click-left="onClickLeft" />
     <!--right-text="保存"-->
@@ -553,83 +553,85 @@ export default {
   top: 50px;
 }
 </style>
-<style>
-.table-headermd {
-  font-size: 1.2rem;
-  text-align: center;
-  position: initial;
-  width: 94% !important;
-  margin: 0 auto;
-  border-right: 0;
-}
+<style lang="scss">
+.hisvistdeils {
+  .table-headermd {
+    font-size: 1.2rem;
+    text-align: center;
+    position: initial;
+    width: 94% !important;
+    margin: 0 auto;
+    border-right: 0;
+  }
 
-.table-headermd .el-table__header,
-.table-headermd .el-table__body {
-  width: 100% !important;
-}
+  .table-headermd .el-table__header,
+  .table-headermd .el-table__body {
+    width: 100% !important;
+  }
 
-.table-headermd col {
-  width: 5.8rem;
-}
+  .table-headermd col {
+    width: 5.8rem;
+  }
 
-.table-headermd col:nth-child(2),
-.table-headermd col:nth-child(4),
-.table-headermd col:nth-child(3) {
-  width: 5rem;
-}
+  .table-headermd col:nth-child(2),
+  .table-headermd col:nth-child(4),
+  .table-headermd col:nth-child(3) {
+    width: 5rem;
+  }
 
-.table-headermd .van-cell {
-  padding: 0 4px;
-  height: 100%;
-}
+  .table-headermd .van-cell {
+    padding: 0 4px;
+    height: 100%;
+  }
 
-.table-headermd th.el-table__cell > .cell {
-  padding: 0 4px;
-}
+  .table-headermd th.el-table__cell > .cell {
+    padding: 0 4px;
+  }
 
-.table-headermd th.el-table__cell {
-  background-color: #1989fa;
-  color: #fff;
-}
+  .table-headermd th.el-table__cell {
+    background-color: #1989fa;
+    color: #fff;
+  }
 
-.table-headermd .el-table__cell {
-  padding: 4px 0;
-}
+  .table-headermd .el-table__cell {
+    padding: 4px 0;
+  }
 
-.table-headermd .tipTitle {
-  overflow: hidden;
-  text-overflow: ellipsis;
-  display: -webkit-box;
-  -webkit-box-orient: vertical;
-  -webkit-line-clamp: 2;
-}
+  .table-headermd .tipTitle {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: -webkit-box;
+    -webkit-box-orient: vertical;
+    -webkit-line-clamp: 2;
+  }
 
-.table-headermd::before {
-  height: 0;
-}
+  .table-headermd::before {
+    height: 0;
+  }
 
-.f-right {
-  text-align: right;
-  margin: 0;
-}
+  .f-right {
+    text-align: right;
+    margin: 0;
+  }
 
-.mg0 {
-  margin: 6px 10px;
-  color: #909090;
-  font-size: 14px;
-}
+  .mg0 {
+    margin: 6px 10px;
+    color: #909090;
+    font-size: 14px;
+  }
 
-.selesetText {
-  margin-bottom: 16px;
-}
+  .selesetText {
+    margin-bottom: 16px;
+  }
 
-.z-cells .van-cell__title {
-  font-weight: bold;
-  color: #4a4a4a;
-}
+  .z-cells .van-cell__title {
+    font-weight: bold;
+    color: #4a4a4a;
+  }
 
-.z-cells .van-cell {
-  padding-bottom: 0;
+  .z-cells .van-cell {
+    padding-bottom: 0;
+  }
 }
 </style>
 <style>

+ 64 - 62
src/views/week/SUPTaskApproval/SUPTaskApprovalDetail.vue

@@ -367,82 +367,84 @@ export default {
 }
 </style>
 <style lang="scss">
-.table-headermd {
-  font-size: 1.2rem;
-  text-align: center;
-  position: initial;
-  width: 94% !important;
-  margin: 0 auto;
-  border-right: 0;
-}
+.SUPTaskApprovalDetail {
+  .table-headermd {
+    font-size: 1.2rem;
+    text-align: center;
+    position: initial;
+    width: 94% !important;
+    margin: 0 auto;
+    border-right: 0;
+  }
 
-.table-headermd .el-table__header,
-.table-headermd .el-table__body {
-  width: 100% !important;
-}
+  .table-headermd .el-table__header,
+  .table-headermd .el-table__body {
+    width: 100% !important;
+  }
 
-.table-headermd col {
-  width: 5.8rem;
-}
+  .table-headermd col {
+    width: 5.8rem;
+  }
 
-.table-headermd col:nth-child(2),
-.table-headermd col:nth-child(4),
-.table-headermd col:nth-child(3) {
-  width: 5rem;
-}
+  .table-headermd col:nth-child(2),
+  .table-headermd col:nth-child(4),
+  .table-headermd col:nth-child(3) {
+    width: 5rem;
+  }
 
-.table-headermd .van-cell {
-  padding: 0 4px;
-  height: 100%;
-}
+  .table-headermd .van-cell {
+    padding: 0 4px;
+    height: 100%;
+  }
 
-.table-headermd th.el-table__cell > .cell {
-  padding: 0 4px;
-}
+  .table-headermd th.el-table__cell > .cell {
+    padding: 0 4px;
+  }
 
-.table-headermd th.el-table__cell {
-  background-color: #1989fa;
-  color: #fff;
-}
+  .table-headermd th.el-table__cell {
+    background-color: #1989fa;
+    color: #fff;
+  }
 
-.table-headermd .el-table__cell {
-  padding: 4px 0;
-}
+  .table-headermd .el-table__cell {
+    padding: 4px 0;
+  }
 
-.table-headermd .tipTitle {
-  overflow: hidden;
-  text-overflow: ellipsis;
-  display: -webkit-box;
-  -webkit-box-orient: vertical;
-  -webkit-line-clamp: 2;
-}
+  .table-headermd .tipTitle {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: -webkit-box;
+    -webkit-box-orient: vertical;
+    -webkit-line-clamp: 2;
+  }
 
-.table-headermd::before {
-  height: 0;
-}
+  .table-headermd::before {
+    height: 0;
+  }
 
-.f-right {
-  text-align: right;
-  margin: 0;
-}
+  .f-right {
+    text-align: right;
+    margin: 0;
+  }
 
-.mg0 {
-  margin: 6px 10px;
-  color: #909090;
-  font-size: 14px;
-}
+  .mg0 {
+    margin: 6px 10px;
+    color: #909090;
+    font-size: 14px;
+  }
 
-.selesetText {
-  margin-bottom: 16px;
-}
+  .selesetText {
+    margin-bottom: 16px;
+  }
 
-.z-cells .van-cell__title {
-  font-weight: bold;
-  color: #4a4a4a;
-}
+  .z-cells .van-cell__title {
+    font-weight: bold;
+    color: #4a4a4a;
+  }
 
-.z-cells .van-cell {
-  padding-bottom: 0;
+  .z-cells .van-cell {
+    padding-bottom: 0;
+  }
 }
 .SUPTaskApprovalDetail {
   .newCarList {

+ 53 - 52
src/views/week/SUPTaskApproval/detailItem.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="componVisitSummary">
+  <div class="componVisitSummary detailItem">
     <van-form ref="tabstoreVal">
       <div v-for="(item, index) in collectionItemList" :key="index">
         <div v-if="item.answerType == 'sz'" class="formLabel z-cell">
@@ -801,69 +801,70 @@ export default {
     text-align: right;
   }
 }
-.table-headermd {
-  font-size: 12px;
-  text-align: center;
-  position: initial;
-  width: 98% !important;
-  margin: 0 auto;
-  border-right: 0;
-}
+.detailItem {
+  .table-headermd {
+    font-size: 12px;
+    text-align: center;
+    position: initial;
+    width: 98% !important;
+    margin: 0 auto;
+    border-right: 0;
+  }
 
-.table-headermd .el-table__header,
-.table-headermd .el-table__body {
-  width: 100% !important;
-}
+  .table-headermd .el-table__header,
+  .table-headermd .el-table__body {
+    width: 100% !important;
+  }
 
-/*.table-headermd col {width: 6.8rem;}*/
-.table-headermd col:nth-child(4) {
-  width: 5.6rem;
-}
+  /*.table-headermd col {width: 6.8rem;}*/
+  .table-headermd col:nth-child(4) {
+    width: 5.6rem;
+  }
 
-.table-headermd col:nth-child(2),
-.table-headermd col:nth-child(3) {
-  width: 4.6rem;
-}
+  .table-headermd col:nth-child(2),
+  .table-headermd col:nth-child(3) {
+    width: 4.6rem;
+  }
 
-.table-headermd .van-cell {
-  padding: 0 4px;
-  height: 100%;
-}
+  .table-headermd .van-cell {
+    padding: 0 4px;
+    height: 100%;
+  }
 
-.table-headermd th.el-table__cell > .cell {
-  padding: 0 4px;
-  text-align: center;
-}
+  .table-headermd th.el-table__cell > .cell {
+    padding: 0 4px;
+    text-align: center;
+  }
 
-.table-headermd th.el-table__cell:first-child > .cell {
-  text-align: left;
-}
+  .table-headermd th.el-table__cell:first-child > .cell {
+    text-align: left;
+  }
 
-.table-headermd th.el-table__cell {
-  background-color: #1989fa;
-  color: #fff;
-}
+  .table-headermd th.el-table__cell {
+    background-color: #1989fa;
+    color: #fff;
+  }
 
-.table-headermd .el-table__cell {
-  padding: 4px 0;
-}
+  .table-headermd .el-table__cell {
+    padding: 4px 0;
+  }
 
-.table-headermd.el-table .cell {
-  padding: 0;
-}
+  .table-headermd.el-table .cell {
+    padding: 0;
+  }
 
-.table-headermd .tipTitle {
-  overflow: hidden;
-  text-overflow: ellipsis;
-  display: -webkit-box;
-  -webkit-box-orient: vertical;
-  -webkit-line-clamp: 2;
-}
+  .table-headermd .tipTitle {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: -webkit-box;
+    -webkit-box-orient: vertical;
+    -webkit-line-clamp: 2;
+  }
 
-.table-headermd::before {
-  height: 0;
+  .table-headermd::before {
+    height: 0;
+  }
 }
-
 .xing {
   color: red;
   padding-left: 4px;