Browse Source

大中型我的订单详情页修改

wucl 5 months ago
parent
commit
6ad96913c2

+ 2 - 2
src/api/modules/major.js

@@ -36,7 +36,7 @@ export default {
   doRecall(params){
     return request.get(`major/recall/${params}`)
   },
-  productionDetail(params1,params2){
-    return request.get(`major/${params1}/${params2}`)
+  productionDetail(params1,params2,params3){
+    return request.get(`major/${params1}/${params2}/${params3}`)
   }
 }

+ 1 - 1
src/components/MoreSearchBar/index.vue

@@ -190,7 +190,7 @@ export default {
         nodeCode: {
             type: Boolean,
             require: false,
-            default: false
+            default: true
         },
         clientName: {
             type: Boolean,

+ 1 - 1
src/views/major/myOrder.vue

@@ -132,7 +132,7 @@
           <template slot-scope="{row}">
             <PermissionButton menu-code="_views_myOrder_detail" class-name="filter-item" type="text" :page-jump="true"
               size="mini"
-              :page-query="{ 'couldEdit': true, 'id': row.businessId, 'back': '/major/my/order', 'recall': true, 'couldBack': true, 'orderId': row.orderId,'productionNo':row.productionNo }" />
+              :page-query="{ 'couldEdit': true, 'id': row.businessId, 'back': '/major/my/order', 'recall': true, 'couldBack': true, 'orderId': row.orderId,'productionNo':row.productionNo,'production':row.production}" />
             <el-button type="text" size="small" @click="openShouldAmountDialog(row)">应收款</el-button>
             <!-- <el-button type="text" size="small" @click="openAllotProductionDialog(row)">实收款分配</el-button> -->
             <el-button  type="text" size="small"

+ 7 - 5
src/views/major/myOrderDetail.vue

@@ -307,10 +307,10 @@
                         label-width="120px"
                         class="postInfo-container-item"
                       >
-                          <el-select v-model="major.clienteleContactId" placeholder="请选择(可搜索)"  clearable filterable @change="getContactInfo"  v-if="couldEdit">
+                          <!-- <el-select v-model="major.clienteleContactId" placeholder="请选择(可搜索)"  clearable filterable @change="getContactInfo"  v-if="couldEdit">
                             <el-option v-for="(c,id) in customerContract" :label="c.name" :value="c.id"></el-option> 
-                          </el-select>
-                          <el-input :value="major.cclienteleContactName" class="filter-item"  style=" width: 225px" v-else/>
+                          </el-select> -->
+                          <el-input :value="major.cclienteleContactName" readonly disabled class="filter-item"  style=" width: 225px"/>
                       </el-form-item>
                     </el-col>
                   </el-row>
@@ -780,7 +780,8 @@
           "公共性、公益性房地产评估",],
         saveOrderBtn:null,
         couldEdit:null,
-        productionNo:null
+        productionNo:null,
+        production:null
 
       }
     },
@@ -788,6 +789,7 @@
         this.couldEdit = this.$route.query.couldEdit ==='true';
         this.couldBack = this.$route.query.couldBack ==='true';
         this.productionNo = this.$route.query.productionNo;
+        this.production = this.$route.query.production;
         this.saveOrderBtn = this.$route.query.saveOrderBtn;
         this.majorId = this.$route.query.id;
         this.getAllUser();
@@ -865,7 +867,7 @@
       },
       getMajorDetail(){
         if (this.majorId){
-          this.$api.major.productionDetail(this.majorId,this.productionNo).then(res=>{
+          this.$api.major.productionDetail(this.majorId,this.productionNo,this.production).then(res=>{
             if (res.code === 200){
                 this.major = res.data;
                 this.major.membersId = JSON.parse(this.major.members);