Selaa lähdekoodia

JLHWEB: 1、调整床垫清单行高

JohnnyChan 3 päivää sitten
vanhempi
commit
39d5146d26

+ 17 - 0
JLHWEB/src/components/LjVxeTable/index.vue

@@ -495,6 +495,22 @@ const tableSize = computed(() => {
   return _size;
 });
 
+const cellheight = computed(() => {
+  let _size = 36;
+  switch (globalStore.assemblySize) {
+    case "large":
+      _size = 44;
+      break;
+    case "small":
+      _size = 34;
+      break;
+    default:
+      _size = 40;
+      break;
+  }
+  return _size;
+});
+
 // /**
 //  * @description 虚拟滚动参数
 //  */
@@ -554,6 +570,7 @@ const _defineProps = ref({
   height: "auto",
   minHeight: "100px",
   rowConfig: {
+    height: cellheight.value,
     isCurrent: true,
     isHover: true,
     useKey: true,

+ 8 - 0
JLHWEB/src/views/erpapi/mattressInterface/detail.vue

@@ -1,6 +1,7 @@
 <template>
   <LjDetail
     name="mattressInterfaceDetail"
+    class="mattressInterface-detail-container"
     ref="LjDetailRef"
     v-bind="detailProps"
     :data="mainData"
@@ -1372,3 +1373,10 @@ const autoRowDragend = async data => {
 //   })
 // ];
 </script>
+
+<style lang="scss">
+.mattressInterface-detail-container {
+  --vxe-ui-table-column-padding-mini: 0 !important;
+  --vxe-ui-table-row-height-mini: 23px !important;
+}
+</style>

+ 4 - 0
JLHWEB/src/views/quote/mattressQuote/hooks/index.tsx

@@ -5196,6 +5196,10 @@ export const useHooks = (t?: any) => {
 
   const columnsMx_subSpecs: any = [
     { type: "checkbox", width: 50, fixed: "left" },
+    {
+      title: "报价唯一码",
+      field: "mattresscode"
+    },
     {
       title: "核价编码",
       field: "mattressrelcode",