yangfeng
2023-08-28 6e84763437df97e194f8c833feca8bdcb90e7103
src/views/supplierManage/supplier/RaleteSupplierList.vue
@@ -16,6 +16,8 @@
        </div>
      </div>
      <div slot="footer" class="dialog-footer"></div>
      <!-- 详情 -->
      <DetailSupplier v-if="commonDetail.visible" :common-detail="commonDetail" />
    </el-dialog>
  </div>
</template>
@@ -23,6 +25,7 @@
<script>
import { getProductList } from "@/api/productManage/product"
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
import DetailSupplier from "@/views/supplierManage/supplier/DetailSupplier"
export default {
  name: "AddSupplierDialog",
  mixins: [pageMixin],
@@ -37,13 +40,17 @@
      }
    }
  },
  components: {},
  components: { DetailSupplier },
  computed: {},
  data() {
    return {
      dialogWidth: "80%",
      editConfig: this.commonConfig,
      tableList: {}
      tableList: {},
      commonDetail: {
        visible: false,
        infomation: {}
      }
    }
  },
  created() {
@@ -90,8 +97,8 @@
    },
    selCommonClick(row) {
      console.log(row)
      // this.commonDetail.visible = true
      // this.commonDetail.infomation = { ...row }
      this.commonDetail.visible = true
      this.commonDetail.infomation = { ...row }
    }
  }
}