lilei 3 år sedan
förälder
incheckning
e639537f39

+ 1 - 1
src/components/MultiTab/MultiTab.vue

@@ -158,7 +158,7 @@ export default {
       if (oldVal && oldVal.name && newVal.query.closeLastOldTab) {
         if (oldVal.name.indexOf('List') == -1) { // 要关闭的页面不能是列表页
           this.remove(oldVal.name) // 关闭子页面
-          this.$store.state.app.isNewTab = true
+          this.$store.state.app.isNewTab = !(oldVal.meta.title.indexOf('详情') >= 0)
         }
       }
       this.activeKey = newVal.name

+ 1 - 1
src/components/custom.less

@@ -147,7 +147,7 @@ body{
   .ant-table-row{
     .ant-table-row-cell-break-word, td{
       padding: 2px 4px!important;
-      color: #333!important;
+      color: #000!important;
     }
   }
   .ant-pagination.ant-table-pagination{

+ 2 - 2
src/views/salesManagement/salesQuery/queryPart.vue

@@ -150,13 +150,13 @@
         <a-button
           size="small"
           type="link"
-          class="button-error"
+          class="button-primary"
           @click="handleAdd(record)"
           id="productInfoList-edit-btn">添加</a-button>
         <a-button
           size="small"
           type="link"
-          class="button-info"
+          class="button-primary"
           @click="handleDetail(record)"
           id="productInfoList-detail-btn"
           style="margin-left: 5px;">销售记录</a-button>