| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  | <!-- | 
					
						
							|  |  |  |  * @Descripttion: | 
					
						
							|  |  |  |  * @version: | 
					
						
							|  |  |  |  * @Author: kBank | 
					
						
							|  |  |  |  * @Date: 2022-11-02 14:15:48 | 
					
						
							|  |  |  | --> | 
					
						
							|  |  |  | <template> | 
					
						
							|  |  |  |   <div class=""> | 
					
						
							|  |  |  |     <div class=""> | 
					
						
							|  |  |  |       <div class="maintop"> | 
					
						
							|  |  |  |         <div class="mainbtn"> | 
					
						
							|  |  |  |           <el-button style="background-color: #3181E5;border-color: #3181E5" | 
					
						
							|  |  |  |                      @click="openDig" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                      class="addBtn">{{'添加'}}</el-button> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |           <el-button @click="delTableList" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                      class="delBtn"> {{ '删除' }}</el-button> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |         </div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |       <div class="maintable"> | 
					
						
							|  |  |  |         <el-table :data="tableData" | 
					
						
							|  |  |  |                   style="width: 100%" | 
					
						
							|  |  |  |                   :header-cell-style="{ background: '#EEEEEE' }" | 
					
						
							|  |  |  |                   :row-class-name="tableRowClassName" | 
					
						
							|  |  |  |                   @selection-change="tableChange"> | 
					
						
							|  |  |  |           <el-table-column type="selection" | 
					
						
							|  |  |  |                            width="55"> </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="cover" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'产品主图'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |             <template slot-scope="scope"> | 
					
						
							|  |  |  |               <img class="bgImg" | 
					
						
							|  |  |  |                    :src="scope.row.cover" | 
					
						
							|  |  |  |                    alt="" /> | 
					
						
							|  |  |  |             </template> | 
					
						
							|  |  |  |           </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="productName" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'产品名称'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |           </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="productCode" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'产品编号'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |           </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="num" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'产品数量'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |             <template slot-scope="scope"> | 
					
						
							|  |  |  |               <el-input-number v-model="scope.row.quantity" | 
					
						
							|  |  |  |                                @change="getData" | 
					
						
							|  |  |  |                                size="medium" | 
					
						
							|  |  |  |                                :min="1" | 
					
						
							|  |  |  |                                label=""></el-input-number> | 
					
						
							|  |  |  |             </template> | 
					
						
							|  |  |  |           </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="isGift" | 
					
						
							|  |  |  |                            width="200" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'销售类型'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |             <template slot-scope="scope"> | 
					
						
							|  |  |  |               <el-select clearable | 
					
						
							|  |  |  |                          v-model="scope.row.isGift" | 
					
						
							|  |  |  |                          @change="getData"> | 
					
						
							|  |  |  |                 <el-option v-for="item in agreeList" | 
					
						
							|  |  |  |                            :key="item.val" | 
					
						
							|  |  |  |                            :label="item.text" | 
					
						
							|  |  |  |                            :value="item.val"></el-option> | 
					
						
							|  |  |  |               </el-select> | 
					
						
							|  |  |  |             </template> | 
					
						
							|  |  |  |           </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="time" | 
					
						
							|  |  |  |                            width="120" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'操作'" | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |                            fixed="right"> | 
					
						
							|  |  |  |             <template slot-scope="scope"> | 
					
						
							|  |  |  |               <el-button @click="handleDelete(scope.row)" | 
					
						
							|  |  |  |                          type="text" | 
					
						
							|  |  |  |                          size="small" | 
					
						
							|  |  |  |                          style="color: #c73030"> | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                 {{ '删除' }} | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |               </el-button> | 
					
						
							|  |  |  |             </template> | 
					
						
							|  |  |  |           </el-table-column> | 
					
						
							|  |  |  |         </el-table> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |     <el-dialog :title="'添加'" | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |                :visible.sync="dialogVisible" | 
					
						
							|  |  |  |                :close-on-click-modal="false" | 
					
						
							|  |  |  |                width="45%" | 
					
						
							|  |  |  |                center | 
					
						
							|  |  |  |                :before-close="handleClose"> | 
					
						
							|  |  |  |       <div class="cpHeight"> | 
					
						
							|  |  |  |         <el-input v-model="select.productName" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                   :placeholder="'请输入'" | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |                   @keyup.enter.native="getDataList" | 
					
						
							|  |  |  |                   prefix-icon="el-icon-search"></el-input> | 
					
						
							|  |  |  |         <div style="height:10px"></div> | 
					
						
							|  |  |  |         <el-table :data="dialogList" | 
					
						
							|  |  |  |                   ref="lessonTableRef" | 
					
						
							|  |  |  |                   style="width: 100%" | 
					
						
							|  |  |  |                   :row-key="(row)=>{ return row.pkProduct}" | 
					
						
							|  |  |  |                   :header-cell-style="{ background: '#EEEEEE' }" | 
					
						
							|  |  |  |                   :row-class-name="tableRowClassName" | 
					
						
							|  |  |  |                   @selection-change="dialogChange"> | 
					
						
							|  |  |  |           <el-table-column type="selection" | 
					
						
							|  |  |  |                            :reserve-selection="true" | 
					
						
							|  |  |  |                            width="55"> </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="cover" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'产品主图'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |             <template slot-scope="scope"> | 
					
						
							|  |  |  |               <img class="bgImg" | 
					
						
							|  |  |  |                    :src="scope.row.cover" | 
					
						
							|  |  |  |                    alt="" /> | 
					
						
							|  |  |  |             </template> | 
					
						
							|  |  |  |           </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="productName" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'产品名称'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |           </el-table-column> | 
					
						
							|  |  |  |           <el-table-column align="center" | 
					
						
							|  |  |  |                            prop="productCode" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                            :label="'产品编号'"> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |           </el-table-column> | 
					
						
							|  |  |  |         </el-table> | 
					
						
							|  |  |  |         <pagination v-show="total>0" | 
					
						
							|  |  |  |                     :total="total" | 
					
						
							|  |  |  |                     :page.sync="queryParams.pageNum" | 
					
						
							|  |  |  |                     :limit.sync="queryParams.pageSize" | 
					
						
							|  |  |  |                     @pagination="getDataList" /> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |       <span slot="footer" | 
					
						
							|  |  |  |             class="dialog-footer"> | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |         <el-button @click="handleClose">{{'取消'}}</el-button> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |         <el-button type="primary" | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |                    @click="onSubmit('form')">{{'确认'}}</el-button> | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |       </span> | 
					
						
							|  |  |  |     </el-dialog> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script> | 
					
						
							|  |  |  | import * as api from '@/api/configManage.js' | 
					
						
							|  |  |  | import { productList } from '@/api/product' | 
					
						
							|  |  |  | import { getToken } from '@/utils/auth' | 
					
						
							|  |  |  | export default { | 
					
						
							|  |  |  |   name: 'Bzpz', | 
					
						
							|  |  |  |   filters: { | 
					
						
							|  |  |  |     isAgree(val) { | 
					
						
							|  |  |  |       if (!val) { | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |         return '允许' | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |       } else { | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |         return '禁止' | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |       } | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   data() { | 
					
						
							|  |  |  |     return { | 
					
						
							|  |  |  |       select: {}, | 
					
						
							|  |  |  |       // 折叠搜索框
 | 
					
						
							|  |  |  |       isActive: false, | 
					
						
							|  |  |  |       // 查询参数
 | 
					
						
							|  |  |  |       queryParams: { | 
					
						
							|  |  |  |         pageNum: 1, | 
					
						
							|  |  |  |         pageSize: 50, | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       total: 0, | 
					
						
							|  |  |  |       dialogVisible: false, | 
					
						
							|  |  |  |       // 表单数组
 | 
					
						
							|  |  |  |       tableData: [], | 
					
						
							|  |  |  |       // 弹框数组
 | 
					
						
							|  |  |  |       dialogList: [], | 
					
						
							|  |  |  |       // 选中弹框临时的数组
 | 
					
						
							|  |  |  |       lsArr: [], | 
					
						
							|  |  |  |       // 选中临时的数组
 | 
					
						
							|  |  |  |       tableArr: [], | 
					
						
							|  |  |  |       agreeList: [ | 
					
						
							|  |  |  |         { | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |           text: '赠品', | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |           val: 0, | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         { | 
					
						
							| 
									
										
										
										
											2025-04-01 23:46:26 +08:00
										 |  |  |           text: '销售', | 
					
						
							| 
									
										
										
										
											2025-03-23 09:18:42 +08:00
										 |  |  |           val: 1, | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |       ], | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   mounted() {}, | 
					
						
							|  |  |  |   methods: { | 
					
						
							|  |  |  |     // table选中
 | 
					
						
							|  |  |  |     tableChange(val) { | 
					
						
							|  |  |  |       this.tableArr = val | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     handleDelete(val) { | 
					
						
							|  |  |  |       this.tableData.splice(this.tableData.indexOf(val), 1) | 
					
						
							|  |  |  |        // 判断重复
 | 
					
						
							|  |  |  |      let arr = this.tableData | 
					
						
							|  |  |  |       let isTrue = false | 
					
						
							|  |  |  |       for (var i = 0; i < arr.length; i++) { | 
					
						
							|  |  |  |         // 首次遍历数组
 | 
					
						
							|  |  |  |         for (var j = i + 1; j < arr.length; j++) { | 
					
						
							|  |  |  |           // 再次遍历数组
 | 
					
						
							|  |  |  |           if (arr[i].productCode == arr[j].productCode) { | 
					
						
							|  |  |  |             if (arr[i].isGift == arr[j].isGift) { | 
					
						
							|  |  |  |               isTrue = true | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |       this.$emit('getTableList', this.tableData,isTrue) | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     // 删除指定数组
 | 
					
						
							|  |  |  |     delTableList() { | 
					
						
							|  |  |  |       this.tableArr.forEach((item) => { | 
					
						
							|  |  |  |         this.tableData.splice(this.tableData.indexOf(item), 1) | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     // 内容变化
 | 
					
						
							|  |  |  |     getData() { | 
					
						
							|  |  |  |      // 判断重复
 | 
					
						
							|  |  |  |      let arr = this.tableData | 
					
						
							|  |  |  |       let isTrue = false | 
					
						
							|  |  |  |       for (var i = 0; i < arr.length; i++) { | 
					
						
							|  |  |  |         // 首次遍历数组
 | 
					
						
							|  |  |  |         for (var j = i + 1; j < arr.length; j++) { | 
					
						
							|  |  |  |           // 再次遍历数组
 | 
					
						
							|  |  |  |           if (arr[i].productCode == arr[j].productCode) { | 
					
						
							|  |  |  |             if (arr[i].isGift == arr[j].isGift) { | 
					
						
							|  |  |  |               isTrue = true | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |       this.$emit('getTableList', this.tableData,isTrue) | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     handleClose() { | 
					
						
							|  |  |  |       this.dialogVisible = false | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     openDig() { | 
					
						
							|  |  |  |       this.select = {} | 
					
						
							|  |  |  |       productList(Object.assign({isPutOn:0}, this.queryParams)).then((res) => { | 
					
						
							|  |  |  |         res.rows.forEach((item) => { | 
					
						
							|  |  |  |           item.quantity = 1 | 
					
						
							|  |  |  |           item.pkProduct = item.pkProduct | 
					
						
							|  |  |  |           item.isGift = 0 | 
					
						
							|  |  |  |         }) | 
					
						
							|  |  |  |         this.dialogList = res.rows | 
					
						
							|  |  |  |         // this.tableArr.forEach((info) => {
 | 
					
						
							|  |  |  |         //   this.dialogList.forEach((row) => {
 | 
					
						
							|  |  |  |         //     if (row.pkProduct == info.pkProduct) {
 | 
					
						
							|  |  |  |         //       this.$refs.lessonTableRef.toggleRowSelection(row, true)
 | 
					
						
							|  |  |  |         //     }
 | 
					
						
							|  |  |  |         //   })
 | 
					
						
							|  |  |  |         // })
 | 
					
						
							|  |  |  |         this.total = res.total | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |       this.dialogVisible = true | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     getDataList() { | 
					
						
							|  |  |  |       productList(Object.assign({isPutOn:0}, this.queryParams, this.select)).then( | 
					
						
							|  |  |  |         (res) => { | 
					
						
							|  |  |  |           res.rows.forEach((item) => { | 
					
						
							|  |  |  |             item.quantity = 1 | 
					
						
							|  |  |  |             item.pkProduct = item.pkProduct | 
					
						
							|  |  |  |             item.isGift = 0 | 
					
						
							|  |  |  |           }) | 
					
						
							|  |  |  |           this.dialogList = res.rows | 
					
						
							|  |  |  |           // this.tableArr.forEach((info) => {
 | 
					
						
							|  |  |  |           //   this.dialogList.forEach((row) => {
 | 
					
						
							|  |  |  |           //     if (row.pkProduct == info.pkProduct) {
 | 
					
						
							|  |  |  |           //       this.$refs.lessonTableRef.toggleRowSelection(row, true)
 | 
					
						
							|  |  |  |           //     }
 | 
					
						
							|  |  |  |           //   })
 | 
					
						
							|  |  |  |           // })
 | 
					
						
							|  |  |  |           this.total = res.total | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       ) | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     dialogChange(val) { | 
					
						
							|  |  |  |       this.lsArr = val | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     onSubmit() { | 
					
						
							|  |  |  |       // this.tableData = []
 | 
					
						
							|  |  |  |       this.lsArr.forEach((item) => { | 
					
						
							|  |  |  |         this.tableData.push(item) | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |       // this.tableData = this.clearArr(this.tableData)
 | 
					
						
							|  |  |  |       this.dialogVisible = false | 
					
						
							|  |  |  |       this.dialogList.forEach((row) => { | 
					
						
							|  |  |  |         this.$refs.lessonTableRef.toggleRowSelection(row, false) | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |       // 判断重复
 | 
					
						
							|  |  |  |       let arr = this.tableData | 
					
						
							|  |  |  |       let isTrue = false | 
					
						
							|  |  |  |       for (var i = 0; i < arr.length; i++) { | 
					
						
							|  |  |  |         // 首次遍历数组
 | 
					
						
							|  |  |  |         for (var j = i + 1; j < arr.length; j++) { | 
					
						
							|  |  |  |           // 再次遍历数组
 | 
					
						
							|  |  |  |           if (arr[i].productCode == arr[j].productCode) { | 
					
						
							|  |  |  |             if (arr[i].isGift == arr[j].isGift) { | 
					
						
							|  |  |  |               isTrue = true | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       this.$emit('getTableList', this.tableData,isTrue) | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     tableRowClassName({ row, rowIndex }) { | 
					
						
							|  |  |  |       if (rowIndex % 2 == 1) { | 
					
						
							|  |  |  |         return 'warning-row' | 
					
						
							|  |  |  |       } else if (rowIndex % 2 == 0) { | 
					
						
							|  |  |  |         return 'success-row' | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |       return '' | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | </script> | 
					
						
							|  |  |  | <style scoped lang="scss"> | 
					
						
							|  |  |  | ::v-deep .el-table .warning-row { | 
					
						
							|  |  |  |   background: #f9f9f9; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ::v-deep .el-table .success-row { | 
					
						
							|  |  |  |   background: #ffffff; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | ::v-deep .el-table thead { | 
					
						
							|  |  |  |   color: #000000; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | ::v-deep .el-select { | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .uploadIcon ::v-deep .el-upload--picture-card { | 
					
						
							|  |  |  |   display: none !important; /* 上传按钮隐藏 */ | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .page { | 
					
						
							|  |  |  |   // padding: 20px;
 | 
					
						
							|  |  |  |   background: #f9f9f9; | 
					
						
							|  |  |  |   font-size: 14px; | 
					
						
							|  |  |  |   .main { | 
					
						
							|  |  |  |     background: #ffffff; | 
					
						
							|  |  |  |     border-radius: 8px; | 
					
						
							|  |  |  |     box-shadow: 0px 2px 20px 0px rgba(238, 238, 238, 0.5); | 
					
						
							|  |  |  |     .maintop { | 
					
						
							|  |  |  |       display: flex; | 
					
						
							|  |  |  |       padding: 10px 20px; | 
					
						
							|  |  |  |       justify-content: space-between; | 
					
						
							|  |  |  |       align-items: center; | 
					
						
							|  |  |  |       .mainbtn { | 
					
						
							|  |  |  |         .thebtn1 { | 
					
						
							|  |  |  |           background: #3181e5; | 
					
						
							|  |  |  |           color: #ffffff; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         .thebtn2 { | 
					
						
							|  |  |  |           background: #c73030; | 
					
						
							|  |  |  |           color: #ffffff; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |       .maintitle { | 
					
						
							|  |  |  |         font-size: 10px; | 
					
						
							|  |  |  |         font-family: MicrosoftYaHei; | 
					
						
							|  |  |  |         color: #999999; | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .tem { | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |     justify-content: center; | 
					
						
							|  |  |  |     img { | 
					
						
							|  |  |  |       width: 28px; | 
					
						
							|  |  |  |       height: 20px; | 
					
						
							|  |  |  |       margin-right: 3px; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .isRed { | 
					
						
							|  |  |  |     color: #ed1d25; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .isGreen { | 
					
						
							|  |  |  |     color: #1ab62b; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .bgImg { | 
					
						
							|  |  |  |     width: 48px; | 
					
						
							|  |  |  |     height: 48px; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .openClose { | 
					
						
							|  |  |  |   text-align: right; | 
					
						
							|  |  |  |   margin-right: 10px; | 
					
						
							|  |  |  |   color: #3181e5; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .cpHeight { | 
					
						
							|  |  |  |   height: 60vh; | 
					
						
							|  |  |  |   overflow-y: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | ::v-deep .el-input__prefix { | 
					
						
							|  |  |  |   top: -3px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | </style> |