Ver Fonte

客户详细 样式修改

changhaoning há 1 ano atrás
pai
commit
a84f7bc20e
1 ficheiros alterados com 9 adições e 9 exclusões
  1. 9 9
      src/view/mst/customer/detail.vue

+ 9 - 9
src/view/mst/customer/detail.vue

@@ -1,12 +1,12 @@
 <!-- @desc:客户管理详情  @auth:付斌  @time:2024/1/30 15:15 -->
 <template>
   <div class="main-div">
-    <Card class="card">
+    <Card class="card" style="width: 100%;">
       <p slot="title">
         {{ $t('customerInfo') }}
       </p>
       <DkRow>
-        <Col span="8">
+        <Col>
           <Icon type="md-person" size="20"/>
           {{ $t('cusName') + ':' }}
           <b>{{ formData.cusName }}</b>
@@ -27,7 +27,7 @@
         </Col>
       </DkRow>
     </Card>
-    <Card class="card">
+    <Card class="card" style="width: 100%;">
       <!--  新结构重写一下    -->
       <div class="order-info">
 
@@ -147,7 +147,7 @@
             <Card>
               <DkTable :pageFlag="true" primaryKey="orderId" :id="'table-'+$options.name" name="table"
                        @pageChange="orderPageSizeChange" :refreshSelect="false" :show-footer="true"
-                       ref="orderTable2" :data="orderList" :height="tableHeight - 140" :choose-flag="false">
+                       ref="orderTable2" :data="orderList" :height="tableHeight - 350" :choose-flag="false">
                 <DkTableColumn field="orderNo" width="200px"></DkTableColumn>
                 <DkTableColumn field="orderTypeName" :title="$t('biznisTypeName')" width="120px"></DkTableColumn>
                 <DkTableColumn field="orderStatusName" :title="$t('orderStatus')" width="120px"></DkTableColumn>
@@ -187,7 +187,7 @@
             <Card>
               <DkTable :pageFlag="true" primaryKey="outId" :id="'table-'+$options.name" name="table"
                        @pageChange="outPageSizeChange" :refreshSelect="false" :show-footer="true"
-                       ref="orderTable1" :data="orderOutList" :height="tableHeight - 140" :choose-flag="false">
+                       ref="orderTable1" :data="orderOutList" :height="tableHeight - 350" :choose-flag="false">
                 <DkTableColumn field="outNo"/>
                 <DkTableColumn field="biznisNo"></DkTableColumn>
                 <DkTableColumn field="cusName"></DkTableColumn>
@@ -218,7 +218,7 @@
             <Card>
               <DkTable :pageFlag="true" primaryKey="outId" :id="'table-'+$options.name" name="table"
                        @pageChange="outReturnPageSizeChange2" :refreshSelect="false" :show-footer="true"
-                       ref="orderTable3" :data="outReturnList" :height="tableHeight - 140" :choose-flag="false">
+                       ref="orderTable3" :data="outReturnList" :height="tableHeight - 350" :choose-flag="false">
                 <DkTableColumn field="outNo"/>
                 <DkTableColumn field="biznisNo"></DkTableColumn>
                 <DkTableColumn field="cusName"></DkTableColumn>
@@ -246,7 +246,7 @@
           <Card>
             <DkTable :id="'table-'+$options.name" ref="table-select" :data="receiptList"
                      :pageFlag=true @pageChange="receiptPageSizeChange"
-                     :height="tableHeight - 140" primaryKey="receiptId"
+                     :height="tableHeight - 350" primaryKey="receiptId"
                      :choose-flag="false"
                      name="table">
               <DkTableColumn field="rpNo" :title="$t('receiptNo')"/>
@@ -271,7 +271,7 @@
           <Card>
             <DkTable :id="'table-'+$options.name" ref="table-select" :data="refundList"
                      :pageFlag=true @pageChange="refundPageSizeChange"
-                     :height="tableHeight - 140" primaryKey="receiptId"
+                     :height="tableHeight - 350" primaryKey="receiptId"
                      name="table" :choose-flag="false">
               <DkTableColumn field="rpNo" :title="$t('receiptNo')"/>
               <DkTableColumn field="biznisNo"/>
@@ -384,7 +384,7 @@ export default {
       //编辑将只读属性改为true
       this.loading = true
       //客户信息
-      this.excuteNoParam(this.$service.customerService, this.$service.customerService.selectById, [this.$route.params.id]).then(res => {
+      this.excuteNoParam(this.$service.customerService, this.$service.customerService.selectById, [this.$route.params.id],false).then(res => {
         if (res.code === 200) {
           // 过滤地址中的undefined
           if (res.data.addressFull) {