|
@@ -112,7 +112,7 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
<el-form-item label="表体业务员" prop="serviceId">
|
|
|
- <el-select v-model="screenForm.serviceId" placeholder="选择表体业务员" size="small" clearable filterable style="width: 100%">
|
|
|
+ <el-select v-model="screenForm.serviceId" placeholder="选择表体业务员" clearable filterable style="width: 100%">
|
|
|
<el-option
|
|
|
v-for="item in salesmanList"
|
|
|
:key="item.adminUserId"
|
|
@@ -124,7 +124,7 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
<el-form-item label="是否直调" prop="isDirectTransfer">
|
|
|
- <el-select v-model="screenForm.isDirectTransfer" placeholder="选择是否直" size="small" style="width: 100%">
|
|
|
+ <el-select v-model="screenForm.isDirectTransfer" placeholder="选择是否直" style="width: 100%">
|
|
|
<el-option :value="null" label="默认"></el-option>
|
|
|
<el-option
|
|
|
v-for="item in transfer"
|
|
@@ -150,7 +150,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="24" :lg="6" class="tr">
|
|
|
+ <el-col :xs="24" :sm="24" :lg="24" class="tr">
|
|
|
<el-form-item label="">
|
|
|
<el-button
|
|
|
size="mini"
|
|
@@ -189,9 +189,8 @@
|
|
|
element-loading-text="Loading"
|
|
|
border
|
|
|
fit
|
|
|
- highlight-current-row
|
|
|
- stripe
|
|
|
show-summary
|
|
|
+ :row-style="rowClass"
|
|
|
:summary-method="$getSummaries"
|
|
|
@select-all="handleSelectionAllChange"
|
|
|
@selection-change="handleSelectionAllChange"
|
|
@@ -207,7 +206,7 @@
|
|
|
<el-progress :percentage="scope.row.thjd || 0"></el-progress>
|
|
|
</template>
|
|
|
</el-table-column> -->
|
|
|
- <el-table-column align="left" type="selection" width="55" />
|
|
|
+ <el-table-column align="center" type="selection" width="55" fixed="left" />
|
|
|
<el-table-column
|
|
|
align="left"
|
|
|
label="订单号"
|
|
@@ -687,6 +686,7 @@ export default {
|
|
|
date: ''
|
|
|
},
|
|
|
salesmanList:[],
|
|
|
+ selectRow: [],
|
|
|
selectData:[],
|
|
|
isShowExamineDialog: false,
|
|
|
examineForm: {
|
|
@@ -714,6 +714,17 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
+ watch: {
|
|
|
+ selectData(data) { // 监听选中状态
|
|
|
+ this.selectRow = []
|
|
|
+ if (data.length > 0) {
|
|
|
+ data.forEach((item, index) => {
|
|
|
+ this.selectRow.push(item.id)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
beforeCreate() {
|
|
|
that = this
|
|
|
},
|
|
@@ -738,7 +749,19 @@ export default {
|
|
|
},
|
|
|
handleSelectionAllChange(e) {
|
|
|
this.selectData = e
|
|
|
+ if(e) {
|
|
|
+ this.selections = e;
|
|
|
+ }else {
|
|
|
+ this.selections = [];
|
|
|
+ }
|
|
|
},
|
|
|
+
|
|
|
+ rowClass({ row, rowIndex }) {
|
|
|
+ if (this.selectRow.includes(row.id)) {
|
|
|
+ return { 'background-color': '#ecf5ff' }
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
// 打开 批量审批
|
|
|
batchExamine() {
|
|
|
if (this.selectData.length) {
|