zuozhengqing
2023-11-21 d897e9aac7689926551ae413a22430540f765846
src/views/purchaseManage/purchase/index.vue
@@ -96,6 +96,7 @@
        visible: false,
        title: "创建",
        isDisabled:false,
        detailEnter:false,
        infomation: {
          supplierList:[]
        }
@@ -184,6 +185,7 @@
    async getSupplierData() {
      await getSupplierList({
        // [val]: content,
        status:1,
        page:1,
        pageSize: 10
      })
@@ -202,6 +204,7 @@
    },
    // 新建
    addBtnClick() {
      this.editConfig.detailEnter=false
      this.editConfig.isDisabled=false
      // this.editRow = {};
      // this.$refs.add.islook = true;
@@ -229,6 +232,8 @@
    // 编辑
    btnEdit(row) {
      this.editConfig.detailEnter=false
      this.editConfig.isDisabled=false
      this.tableLoading = true
      getPurchaseInfo({ id: row.ID }).then((res) => {
        if (res.code == 200) {
@@ -314,6 +319,7 @@
    },
    // 查看
    btnLook(row){
      this.editConfig.detailEnter=true
      this.editConfig.isDisabled=true
      this.tableLoading = true
      getPurchaseInfo({ id: row.ID }).then((res) => {