mushencc 3 rokov pred
rodič
commit
cba0e17783

+ 1 - 1
src/views/BidSystem/DeepeningOrder/infoDetail.vue

@@ -1105,7 +1105,7 @@ export default {
 .changeDetail {
   .content {
     overflow: auto;
-    height: 680px;
+    height: 90%;
     .form_content {
       display: flex;
       flex-wrap: wrap;

+ 6 - 2
src/views/OrderMannage/BusinessOrderlist/edit.vue

@@ -14,14 +14,14 @@
        <Button
         @click="quoteRoughDraft"
         type="primary"
-        v-show="type != 3"
+        v-show="type == 1"
         style="margin-right: 10px"
         >引用草稿</Button
       >
        <Button
         @click="saveRoughDraft"
         type="primary"
-        v-show="type != 3"
+        v-show="type == 1"
         style="margin-right: 10px"
         >保存草稿</Button
       >
@@ -2658,6 +2658,7 @@ export default {
       });
     },
     postData() {
+      
       let sendData = JSON.parse(JSON.stringify(this.info));
       // sendData.custom_detail_id = sendData.custom_id
       // let sendList = JSON.parse(JSON.stringify(this.tableData));
@@ -2665,12 +2666,14 @@ export default {
       let _save_metal = this.tableData.filter(
         (v) => v.is_metal && v.product_id
       );
+      // console.log(_save_metal)
       _save_metal.length > 0 &&
         _save_metal.map((v) => {
           v.type = 1;
           v.material_id = v.product_id;
           v.ext_id = v.product_id;
         });
+        console.log(sendList)
       sendList.length > 0 &&
         sendList.map((element, index) => {
           element.ext = element.extArray;
@@ -2685,6 +2688,7 @@ export default {
               });
             }
           });
+          console.log(2)
           if (!element.measurement) {
             element.measurement = "";
           }