| | |
| | | </div> |
| | | </div> |
| | | <div slot="footer" class="dialog-footer"></div> |
| | | <!-- 详情 --> |
| | | <DetailSupplier v-if="commonDetail.visible" :common-detail="commonDetail" /> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | |
| | | <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], |
| | |
| | | } |
| | | } |
| | | }, |
| | | components: {}, |
| | | components: { DetailSupplier }, |
| | | computed: {}, |
| | | data() { |
| | | return { |
| | | dialogWidth: "80%", |
| | | editConfig: this.commonConfig, |
| | | tableList: {} |
| | | tableList: {}, |
| | | commonDetail: { |
| | | visible: false, |
| | | infomation: {} |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | selCommonClick(row) { |
| | | console.log(row) |
| | | // this.commonDetail.visible = true |
| | | // this.commonDetail.infomation = { ...row } |
| | | this.commonDetail.visible = true |
| | | this.commonDetail.infomation = { ...row } |
| | | } |
| | | } |
| | | } |