JohnnyChan 1 ヶ月 前
コミット
c6a06188b5

+ 3 - 3
JLHWEB/src/views/baseinfo/configure/index.vue

@@ -201,10 +201,10 @@ const orderEditAction = [
       if (orderStatus.value == "new") {
         save_data =
           detailType.value === 2
-            ? LjDetailRightRef.value?.infoParam
+            ? LjDetailRightRef.value?._mainData
             : detailType.value === 1
-            ? LjDetailMidRef.value?.infoParam
-            : LjDetailLeftRef.value?.infoParam;
+            ? LjDetailMidRef.value?._mainData
+            : LjDetailLeftRef.value?._mainData;
       }
       fSave(detailType.value, { configure: Object.assign({}, mainData.value, save_data) }).then(() => {
         LjDrawerRef.value.hide();

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

@@ -4747,7 +4747,7 @@ export const useHooks = (t?: any) => {
         return (
           <el-select
             v-model={scope.row.extraid}
-            disabled={scope.row.extrainputtype == 2}
+            disabled={scope.row.inputtype == 2}
             onChange={val => extratypeOnChange(val, scope)}
           >
             {{
@@ -4778,8 +4778,8 @@ export const useHooks = (t?: any) => {
       field: "extraname",
       editRender: {},
       editColRender: (scope: any) => {
-        let _disabled = scope.row.extrainputtype == 2;
-        if (scope.row.extrainputtype == 0) {
+        let _disabled = scope.row.inputtype == 2;
+        if (scope.row.inputtype == 0) {
           return (
             <el-select
               v-model={scope.row.extramxid}
@@ -4904,7 +4904,7 @@ export const useHooks = (t?: any) => {
         return (
           <el-select
             v-model={scope.row.extraid}
-            disabled={scope.row.extrainputtype == 2}
+            disabled={scope.row.inputtype == 2}
             onChange={val => extratypeOnChange(val, scope)}
           >
             {{
@@ -4936,8 +4936,8 @@ export const useHooks = (t?: any) => {
       editRender: {},
       editColRender: (scope: any) => {
         console.log("editColRender 1111 scope :>> ", scope);
-        let _disabled = scope.row.extrainputtype == 2;
-        if (scope.row.extrainputtype == 0) {
+        let _disabled = scope.row.inputtype == 2;
+        if (scope.row.inputtype == 0) {
           return (
             <el-select
               v-model={scope.row.extramxid}
@@ -5010,8 +5010,6 @@ export const useHooks = (t?: any) => {
     if (state.specialProcessesEnum.length) {
       let item = state.specialProcessesEnum.find(t => t.extraid == value);
       if (item) {
-        row.extrainputtype = item.inputtype;
-
         row.extramxid = 0;
         row.inputtype = 0;
         row.extraname = "";