|
@@ -26,6 +26,29 @@
|
|
clearable
|
|
clearable
|
|
></el-input>
|
|
></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="screen1"
|
|
|
|
+ placeholder="请选择需筛选的内容"
|
|
|
|
+ clearable
|
|
|
|
+ @change="changeScreen"
|
|
|
|
+ style="width:90px"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in options1"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ >
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ <el-input
|
|
|
|
+ style="width:150px"
|
|
|
|
+ v-model="input1"
|
|
|
|
+ placeholder="请输入查询条件"
|
|
|
|
+ clearable
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<label class="el-form-item__label" style="width: auto;"
|
|
<label class="el-form-item__label" style="width: auto;"
|
|
>订单日期:</label
|
|
>订单日期:</label
|
|
@@ -1454,6 +1477,26 @@ export default {
|
|
lable: '分录ID'
|
|
lable: '分录ID'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
|
|
+ input1: null,
|
|
|
|
+ screen1: '',
|
|
|
|
+ options1: [
|
|
|
|
+ {
|
|
|
|
+ value: '客户',
|
|
|
|
+ lable: '客户'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ value: '承运商',
|
|
|
|
+ lable: '承运商'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ value: '车牌号',
|
|
|
|
+ lable: '车牌号'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ value: '分录ID',
|
|
|
|
+ lable: '分录ID'
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
pickerOptions: {
|
|
pickerOptions: {
|
|
disabledDate(time) {
|
|
disabledDate(time) {
|
|
return time.getTime() > Date.now()
|
|
return time.getTime() > Date.now()
|
|
@@ -2330,9 +2373,9 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- selectOne(selection, row){
|
|
|
|
- console.log("selection:",row);
|
|
|
|
- this.rowClick(row);
|
|
|
|
|
|
+ selectOne(selection, row) {
|
|
|
|
+ console.log('selection:', row)
|
|
|
|
+ this.rowClick(row)
|
|
},
|
|
},
|
|
handleSelectionChange() {
|
|
handleSelectionChange() {
|
|
console.log(this.$refs.tableRef.selection, 'selection')
|
|
console.log(this.$refs.tableRef.selection, 'selection')
|
|
@@ -3763,6 +3806,17 @@ export default {
|
|
} else {
|
|
} else {
|
|
remark = this.input
|
|
remark = this.input
|
|
}
|
|
}
|
|
|
|
+ if (this.screen1 == '客户') {
|
|
|
|
+ consigneeName = this.input1
|
|
|
|
+ } else if (this.screen1 == '承运商') {
|
|
|
|
+ carrierName = this.input1
|
|
|
|
+ } else if (this.screen1 == '车牌号') {
|
|
|
|
+ capacityNo = this.input1
|
|
|
|
+ } else if (this.screen == '分录ID') {
|
|
|
|
+ easPrimaryId = this.input
|
|
|
|
+ } else {
|
|
|
|
+ remark = this.input1
|
|
|
|
+ }
|
|
this.axios
|
|
this.axios
|
|
.post(
|
|
.post(
|
|
'/api/v1/tms/getSaleSteelReport?startTime=' +
|
|
'/api/v1/tms/getSaleSteelReport?startTime=' +
|
|
@@ -3891,6 +3945,15 @@ export default {
|
|
} else {
|
|
} else {
|
|
remark = this.input
|
|
remark = this.input
|
|
}
|
|
}
|
|
|
|
+ if (this.screen1 == '客户') {
|
|
|
|
+ consigneeName = this.input1
|
|
|
|
+ } else if (this.screen1 == '承运商') {
|
|
|
|
+ carrierName = this.input1
|
|
|
|
+ } else if (this.screen1 == '车牌号') {
|
|
|
|
+ capacityNo = this.input1
|
|
|
|
+ } else {
|
|
|
|
+ remark = this.input1
|
|
|
|
+ }
|
|
if (getCookie('orgCode') == 'chengyunshang') {
|
|
if (getCookie('orgCode') == 'chengyunshang') {
|
|
carrierSsoId = getCookie('userId')
|
|
carrierSsoId = getCookie('userId')
|
|
}
|
|
}
|