zuozhengqing
2023-12-14 f56ee2a5f95b4128b8232bdee6411fe8f1e6341e
src/views/purchaseManage/purchase/index.vue
@@ -256,11 +256,14 @@
      this.editConfig.detailEnter=false
      this.editConfig.isDisabled=false
      this.tableLoading = true
      getPurchaseInfo({ id: row.ID }).then((res) => {
      getPurchaseInfo({ id: row.id }).then((res) => {
        if (res.code == 200) {
          this.tableLoading = false
          this.editConfig.visible = true
          this.editConfig.title = "编辑"
          res.data.productList.map((item,index)=>{
            item.productIndex=index
          })
          this.editConfig.infomation = {
            productList: res.data.productList,
            supplierName: res.data.purchase.supplier.name,
@@ -352,7 +355,7 @@
      this.editConfig.detailEnter=true
      this.editConfig.isDisabled=true
      this.tableLoading = true
      getPurchaseInfo({ id: row.ID }).then((res) => {
      getPurchaseInfo({ id: row.id }).then((res) => {
        if (res.code == 200) {
          this.tableLoading = false
          this.editConfig.visible = true