haoxuan
2023-08-30 53f2ab450f00d2f1ddb9cedfc5823b34af0d5545
src/views/other/commonDialog/SelectCommonDialog.vue
@@ -39,7 +39,7 @@
</template>
<script>
import { getProductListFromGrpc } from "@/api/productManage/product"
import { getProductListFromGrpc,getProductList } from "@/api/productManage/product"
export default {
  name: "EditSelCommonDialog",
  props: {
@@ -52,6 +52,10 @@
          tableInfomation: []
        }
      }
    },
    sign:{
      type:String,
      default:''
    }
  },
  components: {},
@@ -105,7 +109,9 @@
    },
    // 产品名称
    async getProductList() {
      await getProductListFromGrpc({
      let fn = this.sign == "purchase" ? getProductList : getProductListFromGrpc;
      await  fn({
        page: 1,
        pageSize: 100
      }).then((res) => {