lilei 2 years ago
parent
commit
e45065e799

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
 {
   "message": "发现有新版本发布,确定更新系统?",
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
   "vendorJsVersion": "",
-  "version": 1676973787134
+  "version": 1677041215101
 }
 }

+ 3 - 9
src/views/customerManagement/customerInfo/list.vue

@@ -75,12 +75,6 @@
       <div class="table-operator">
       <div class="table-operator">
         <a-button v-if="$hasPermissions('B_customer_customerInfo_add')" id="customerManagementList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
         <a-button v-if="$hasPermissions('B_customer_customerInfo_add')" id="customerManagementList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
       </div>
       </div>
-      <!-- 合计 -->
-      <a-alert type="info" style="margin-bottom:10px">
-        <div class="ftext" slot="message" style="color:#f30f30;">
-          注意:客户合并功能中,将以当前客户合并被选客户。
-        </div>
-      </a-alert>
       <!-- 列表 -->
       <!-- 列表 -->
       <s-table
       <s-table
         class="sTable fixPagination"
         class="sTable fixPagination"
@@ -171,7 +165,7 @@ export default {
         { title: '最后销售时间', dataIndex: 'lastSaleTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '最后销售时间', dataIndex: 'lastSaleTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '是否为下级', dataIndex: 'dealerFlagDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '是否为下级', dataIndex: 'dealerFlagDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '启用禁用', scopedSlots: { customRender: 'enableAction' }, width: '8%', align: 'center' },
         { title: '启用禁用', scopedSlots: { customRender: 'enableAction' }, width: '8%', align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
+        { title: <div><a-tooltip placement='top' title='注意:客户合并功能中,将以当前客户为对象,合并被选客户。'><a-icon type="question-circle" /></a-tooltip>&nbsp;操作</div>, scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
       ],
       ],
       // 加载数据方法 必须为 Promise 对象
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
       loadData: parameter => {
@@ -283,7 +277,7 @@ export default {
     closeMergeModal (flag) {
     closeMergeModal (flag) {
       this.customerTemp = ''
       this.customerTemp = ''
       this.openMergeModal = false
       this.openMergeModal = false
-      if(flag){
+      if (flag) {
         this.$refs.table.refresh()
         this.$refs.table.refresh()
       }
       }
     },
     },
@@ -352,7 +346,7 @@ export default {
     },
     },
     setTableH () {
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 255
+      this.tableHeight = window.innerHeight - tableSearchH - 220
     }
     }
   },
   },
   watch: {
   watch: {

+ 1 - 4
src/views/productManagement/productInfo/list.vue

@@ -74,9 +74,6 @@
         </a-dropdown>
         </a-dropdown>
         <span v-if="rowSelectionInfo&&rowSelectionInfo.selectedRowKeys">已选 {{ rowSelectionInfo.selectedRowKeys.length }} 项</span>
         <span v-if="rowSelectionInfo&&rowSelectionInfo.selectedRowKeys">已选 {{ rowSelectionInfo.selectedRowKeys.length }} 项</span>
       </div>
       </div>
-      <a-alert type="info" style="margin-bottom:10px">
-        <div class="ftext" slot="message">注意:产品被禁用后,不能再销售。</div>
-      </a-alert>
       <!-- 列表 -->
       <!-- 列表 -->
       <s-table
       <s-table
         class="sTable fixPagination"
         class="sTable fixPagination"
@@ -273,7 +270,7 @@ export default {
             return text || text == 0 ? text : '--'
             return text || text == 0 ? text : '--'
           }
           }
         },
         },
-        { title: '状态', scopedSlots: { customRender: 'enabledFlag' }, width: '7%', align: 'center' },
+        { title: <div><a-tooltip placement='top' title='注意:产品被禁用后,不能再销售。'><a-icon type="question-circle" /></a-tooltip>&nbsp;状态</div>, scopedSlots: { customRender: 'enabledFlag' }, width: '7%', align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '9%', align: 'center' }
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '9%', align: 'center' }
       ],
       ],
       // 加载数据方法 必须为 Promise 对象
       // 加载数据方法 必须为 Promise 对象

+ 1 - 0
src/views/purchasingManagement/purchaseOrderNew/chooseProductModal.vue

@@ -204,6 +204,7 @@ export default {
             data.list[i].qtyBackups = data.list[i].qty
             data.list[i].qtyBackups = data.list[i].qty
           }
           }
           this.disabled = false
           this.disabled = false
+          this.setTableH()
           return data
           return data
         })
         })
       },
       },

+ 1 - 1
src/views/shoppingCarManagement/shoppingCar/list.vue

@@ -206,7 +206,7 @@ export default {
       } else {
       } else {
         this.columns = [
         this.columns = [
           { title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: '200px', align: 'center', fixed: 'left' },
           { title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: '200px', align: 'center', fixed: 'left' },
-          { title: '产品名称', dataIndex: 'productEntity.name', width: '250px', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+          { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
           { title: '可用库存数量', dataIndex: 'currentStockQty', width: '140px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '可用库存数量', dataIndex: 'currentStockQty', width: '140px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '成本价', dataIndex: 'productEntity.purchasePrice', width: '80px', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
           { title: '成本价', dataIndex: 'productEntity.purchasePrice', width: '80px', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
           { title: '单位', dataIndex: 'productEntity.unit', width: '80px', align: 'center', customRender: function (text) { return (!text || text == ' ') ? '--' : text } },
           { title: '单位', dataIndex: 'productEntity.unit', width: '80px', align: 'center', customRender: function (text) { return (!text || text == ' ') ? '--' : text } },