yangfeng
2024-03-29 98d4e2b26ce3a542b8ab6f2c04b9e56f9dd95f42
供应商管理列表搜索功能修改6202
1个文件已修改
8 ■■■■ 已修改文件
src/views/supplierManage/supplier/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/supplierManage/supplier/index.vue
@@ -58,7 +58,7 @@
            :amount-view="false"
            :show-screen="false"
            :show-action-btn="false"
            :placeholder="'请输入产品名称'"
            :placeholder="'请输入产品名称/产品规格/产品编码'"
            @searchClick="onProductFilterSearch"
          >
            <template slot="leftButton">
@@ -341,7 +341,7 @@
    // 搜索产品
    onProductFilterSearch(searchText) {
      this.productPagerOptions.currPage = 1
      this.getProductList("name", searchText)
      this.getProductList("keyword", searchText)
    },
    // 新建供应商
    addBtnClick() {
@@ -356,7 +356,7 @@
    async enableClick(row, value) {
      let status = value === "启用" ? 1 : 0
      await changeSupplierStatus({
        id:Number(row.id),
        id: Number(row.id),
        status: status
      }).then((res) => {
        if (res.code === 200) {
@@ -446,7 +446,7 @@
      this.editPurchaseConfig.title = "新建"
      this.editPurchaseConfig.infomation = {
        supplierId: this.selectRow.id,
        purchaseTypeId:"2",
        purchaseTypeId: "2",
        supplierName: this.selectRow.name
      }
    }