|  | @@ -29,9 +29,9 @@
 | 
											
												
													
														|  |            <el-button type="info" size="small">报表</el-button>
 |  |            <el-button type="info" size="small">报表</el-button>
 | 
											
												
													
														|  |          </template>
 |  |          </template>
 | 
											
												
													
														|  |          <template slot="cnameSearch">
 |  |          <template slot="cnameSearch">
 | 
											
												
													
														|  | -          <goods-select 
 |  | 
 | 
											
												
													
														|  | -          v-model="search.cname"
 |  | 
 | 
											
												
													
														|  | -          :configuration="goodsConfiguration"
 |  | 
 | 
											
												
													
														|  | 
 |  | +          <goods-select
 | 
											
												
													
														|  | 
 |  | +            v-model="search.cname"
 | 
											
												
													
														|  | 
 |  | +            :configuration="goodsConfiguration"
 | 
											
												
													
														|  |            />
 |  |            />
 | 
											
												
													
														|  |          </template>
 |  |          </template>
 | 
											
												
													
														|  |          <template slot="corpIdSearch">
 |  |          <template slot="corpIdSearch">
 | 
											
										
											
												
													
														|  | @@ -46,6 +46,9 @@
 | 
											
												
													
														|  |          <template slot-scope="scope" slot="grossProfitRate">
 |  |          <template slot-scope="scope" slot="grossProfitRate">
 | 
											
												
													
														|  |            {{ scope.row.grossProfitRate ? scope.row.grossProfitRate : 0 }}%
 |  |            {{ scope.row.grossProfitRate ? scope.row.grossProfitRate : 0 }}%
 | 
											
												
													
														|  |          </template>
 |  |          </template>
 | 
											
												
													
														|  | 
 |  | +        <template slot-scope="scope" slot="status">
 | 
											
												
													
														|  | 
 |  | +          {{ scope.row.status | orderStateFormat }}
 | 
											
												
													
														|  | 
 |  | +        </template>
 | 
											
												
													
														|  |          <template slot-scope="scope" slot="menu">
 |  |          <template slot-scope="scope" slot="menu">
 | 
											
												
													
														|  |            <el-button
 |  |            <el-button
 | 
											
												
													
														|  |              type="text"
 |  |              type="text"
 | 
											
										
											
												
													
														|  | @@ -77,10 +80,11 @@
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script>
 |  |  <script>
 | 
											
												
													
														|  |  import option from "./config/mainList.json";
 |  |  import option from "./config/mainList.json";
 | 
											
												
													
														|  | -import { getList, remove} from "@/api/maintenance/priceLibrary";
 |  | 
 | 
											
												
													
														|  | 
 |  | +import { getList, remove } from "@/api/maintenance/priceLibrary";
 | 
											
												
													
														|  |  import detailPage from "./detailsPage.vue";
 |  |  import detailPage from "./detailsPage.vue";
 | 
											
												
													
														|  |  import { defaultDate } from "@/util/date";
 |  |  import { defaultDate } from "@/util/date";
 | 
											
												
													
														|  |  import { micrometerFormat } from "@/util/validate";
 |  |  import { micrometerFormat } from "@/util/validate";
 | 
											
												
													
														|  | 
 |  | +import { orderStateFormat } from "@/enums/order-stauts";
 | 
											
												
													
														|  |  import _ from "lodash";
 |  |  import _ from "lodash";
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: "customerInformation",
 |  |    name: "customerInformation",
 | 
											
										
											
												
													
														|  | @@ -146,6 +150,15 @@ export default {
 | 
											
												
													
														|  |          };
 |  |          };
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      });
 |  |      });
 | 
											
												
													
														|  | 
 |  | +    this.getWorkDicts("billType").then(res => {
 | 
											
												
													
														|  | 
 |  | +      this.findObject(this.option.column, "billType").dicData =
 | 
											
												
													
														|  | 
 |  | +        res.data.data;
 | 
											
												
													
														|  | 
 |  | +    });
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  | 
 |  | +  filters: {
 | 
											
												
													
														|  | 
 |  | +    orderStateFormat(val) {
 | 
											
												
													
														|  | 
 |  | +      return orderStateFormat(val);
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
												
													
														|  |      cellStyle() {
 |  |      cellStyle() {
 | 
											
										
											
												
													
														|  | @@ -198,10 +211,10 @@ export default {
 | 
											
												
													
														|  |        this.page.pageSize = val;
 |  |        this.page.pageSize = val;
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      onLoad(page, params) {
 |  |      onLoad(page, params) {
 | 
											
												
													
														|  | -      params={
 |  | 
 | 
											
												
													
														|  | 
 |  | +      params = {
 | 
											
												
													
														|  |          ...params,
 |  |          ...params,
 | 
											
												
													
														|  | -        tradeType:"CK"
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | 
 |  | +        tradeType: "CK"
 | 
											
												
													
														|  | 
 |  | +      };
 | 
											
												
													
														|  |        this.loading = true;
 |  |        this.loading = true;
 | 
											
												
													
														|  |        getList(page.currentPage, page.pageSize, params)
 |  |        getList(page.currentPage, page.pageSize, params)
 | 
											
												
													
														|  |          .then(res => {
 |  |          .then(res => {
 |