Browse Source

JLHWEB: 补充提交

JohnnyChan 1 day ago
parent
commit
e860d76f1c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      JLHWEB/src/views/quote/mattressQuote/hooks/index.tsx

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

@@ -4902,7 +4902,7 @@ export const useHooks = (t?: any) => {
               default: () => {
                 let rs = [];
                 if (state.additionalCostsEnum.length) {
-                  state.specialProcessesEnum.map((t: any) => {
+                  state.additionalCostsEnum.map((t: any) => {
                     rs.push(<el-option label={t.typename} value={t.extraid} disabled={t.inputtype == 2} />);
                   });
                 }
@@ -5496,7 +5496,7 @@ export const useHooks = (t?: any) => {
       if (tgVisibleData) {
         let _remove = [];
         tgVisibleData.map(t => {
-          let _itm = result.find(i => i.extraid === t.extraid);
+          let _itm = result.find(i => i.extraid === t.extraid && i.extramxid === t.extramxid);
           if (_itm) {
             _remove.push(t);
           }
@@ -5514,7 +5514,7 @@ export const useHooks = (t?: any) => {
               mattressid: _mattressId,
               mattressmxid: 0,
               extraid: o.extraid,
-              // extratypename: "",
+              extramxid: o.extramxid,
               extraname: o.extramxname,
               price: o.price,
               qty: o.qty,