| | |
| | | visible: false, |
| | | title: "创建", |
| | | isDisabled:false, |
| | | detailEnter:false, |
| | | infomation: { |
| | | supplierList:[] |
| | | } |
| | |
| | | async getSupplierData() { |
| | | await getSupplierList({ |
| | | // [val]: content, |
| | | status:1, |
| | | page:1, |
| | | pageSize: 10 |
| | | }) |
| | |
| | | }, |
| | | // 新建 |
| | | addBtnClick() { |
| | | this.editConfig.detailEnter=false |
| | | this.editConfig.isDisabled=false |
| | | // this.editRow = {}; |
| | | // this.$refs.add.islook = true; |
| | |
| | | |
| | | // 编辑 |
| | | btnEdit(row) { |
| | | this.editConfig.detailEnter=false |
| | | this.editConfig.isDisabled=false |
| | | this.tableLoading = true |
| | | getPurchaseInfo({ id: row.ID }).then((res) => { |
| | | if (res.code == 200) { |
| | |
| | | }, |
| | | // 查看 |
| | | btnLook(row){ |
| | | this.editConfig.detailEnter=true |
| | | this.editConfig.isDisabled=true |
| | | this.tableLoading = true |
| | | getPurchaseInfo({ id: row.ID }).then((res) => { |