浏览代码

修改bug

chenrui 2 年之前
父节点
当前提交
2a8a1d1394
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/supplierManagement/costSetting/addProductModal.vue

+ 3 - 2
src/views/supplierManagement/costSetting/addProductModal.vue

@@ -228,12 +228,13 @@ export default {
       this.queryParam.productTypeSn2 = ''
       this.queryParam.productTypeSn2 = ''
       this.queryParam.productTypeSn3 = ''
       this.queryParam.productTypeSn3 = ''
       this.queryParam.productType = []
       this.queryParam.productType = []
-      this.supplierSn = undefined
+      // this.supplierSn = undefined  //供应商sn
     },
     },
     //  重置
     //  重置
     resetSearchForm () {
     resetSearchForm () {
       this.resetData()
       this.resetData()
-      this.$refs.table.clearTable()
+      // this.$refs.table.clearTable()
+      this.$refs.table.refresh(true)
     },
     },
     // 保存
     // 保存
     handleSave () {
     handleSave () {