Browse Source

补充提交

JohnnyChan 2 days ago
parent
commit
01c2bf037f

+ 7 - 0
JLHWEB/src/views/quote/bednetQuote/detail.vue

@@ -146,6 +146,10 @@ interface DetailProps {
    * @description 是否复制
    */
   ifcopy?: boolean;
+  /**
+   * @description 是否取消业务员搜索限制
+   */
+  ifnotoutper?: number;
 }
 
 const props = withDefaults(defineProps<DetailProps>(), {
@@ -681,6 +685,9 @@ onMounted(async () => {
     defaultColumnsValue.value.mattress_width = props?.mattressWidth;
     defaultColumnsValue.value.mattress_length = props?.mattressLength;
   }
+  if (props?.ifnotoutper) {
+    initParams.value.ifnotoutper = props?.ifnotoutper;
+  }
 
   console.log("initParams.value :>> ", initParams.value);
 });

+ 1 - 1
JLHWEB/src/views/quote/bednetQuote/hooks/index.tsx

@@ -136,7 +136,7 @@ export const useHooks = (t?: any, props?: any) => {
     LjDetailRef: null,
     vxeTableMxRef: null,
     vxeTableMxSpringRef: null,
-    initParams: {},
+    initParams: { ifnotoutper: 0 },
     initParamsMx: {},
     initParamsMxSpring: {},
     bednetMxData: [],

+ 1 - 0
JLHWEB/src/views/quote/mattressQuote/detail.vue

@@ -761,6 +761,7 @@
       :mattress-width="LjDetailRef._mainData.mattress_width"
       :mattress-length="LjDetailRef._mainData.mattress_length"
       :ifcopy="ifcopy"
+      :ifnotoutper="1"
       v-bind="bednetDrawerProps"
       @aftersave="autoBednetSave"
       @aftercancel="LjDrawerRef.hide()"