|
@@ -221,7 +221,7 @@ export default {
|
|
|
this.detailFormBool = false
|
|
|
this.recordSelected = []
|
|
|
this.$nextTick(() => {
|
|
|
- this.defaultSearchData = [{ "param": "a.sale_order_id", "compare": "like", "value": this.$route.query.saleOrderId, label: "销售订单号" }]
|
|
|
+ this.defaultSearchData = [{ "param": "a.sale_order_id", "compare": "=", "value": this.$route.query.saleOrderId, label: "销售订单号" }]
|
|
|
this.$nextTick(() => {
|
|
|
// this.defaultSearchData = []
|
|
|
this.$router.push({ name: "workOrderPool", params: {}, query: {} })
|
|
@@ -233,7 +233,19 @@ export default {
|
|
|
this.detailFormBool = false
|
|
|
this.recordSelected = []
|
|
|
this.$nextTick(() => {
|
|
|
- this.defaultSearchData = [{ "param": "a.pg_incre_order_id", "compare": "like", "value": this.$route.query.pgIncreItemId, label: "增置服务明细ID" }]
|
|
|
+ this.defaultSearchData = [{ "param": "a.pg_incre_order_id", "compare": "=", "value": this.$route.query.pgIncreItemId, label: "增置服务明细ID" }]
|
|
|
+ this.$nextTick(() => {
|
|
|
+ // this.defaultSearchData = []
|
|
|
+ this.$router.push({ name: "workOrderPool", params: {}, query: {} })
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if (this.$route.query.rpProjectRepairId) {
|
|
|
+ this.createFormBool = false
|
|
|
+ this.detailFormBool = false
|
|
|
+ this.recordSelected = []
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.defaultSearchData = [{ "param": "a.rp_project_repair_id", "compare": "=", "value": this.$route.query.rpProjectRepairId, label: "维保配置ID" }]
|
|
|
this.$nextTick(() => {
|
|
|
// this.defaultSearchData = []
|
|
|
this.$router.push({ name: "workOrderPool", params: {}, query: {} })
|
|
@@ -318,6 +330,9 @@ export default {
|
|
|
if (this.$route.query.pgIncreItemId && !pam.params.find(item => item.param == "a.pg_incre_order_id")) {
|
|
|
pam.params.push({ "param": "a.pg_incre_order_id", "compare": "like", "value": this.$route.query.pgIncreItemId, label: "增置服务明细ID" })
|
|
|
}
|
|
|
+ if (this.$route.query.rpProjectRepairId && !pam.params.find(item => item.param == "a.rp_project_repair_id")) {
|
|
|
+ pam.params.push({ "param": "a.rp_project_repair_id", "compare": "=", "value": this.$route.query.rpProjectRepairId })
|
|
|
+ }
|
|
|
cb && cb(pam)
|
|
|
return orderBaseList(pam)
|
|
|
} catch (err) {
|