浏览代码

no message

linwenxin 1 年之前
父节点
当前提交
58a3a0a6fc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/workOrder/workOrderPool/index.vue

+ 2 - 2
src/views/workOrder/workOrderPool/index.vue

@@ -297,10 +297,10 @@ export default {
         if (pam.orderSmallType) {
           pam.params.push({ "param": "a.order_small_type", "compare": "=", "value": pam.orderSmallType })
         }
-        if (this.$route.query.saleOrderId) {
+        if (this.$route.query.saleOrderId && !pam.params.find(item => item.param == "a.sale_order_id")) {
           pam.params.push({ "param": "a.sale_order_id", "compare": "like", "value": this.$route.query.saleOrderId, label: "销售订单号" })
         }
-        if (this.$route.query.pgIncreItemId) {
+        if (this.$route.query.pgIncreItemId && !pam.params.find(item => item.param == "a.pg_incre_item_id")) {
           pam.params.push({ "param": "a.pg_incre_item_id", "compare": "like", "value": this.$route.query.pgIncreItemId, label: "增置服务明细ID" })
         }
         cb && cb(pam)