src/components/makepager/CommonFormTableView.vue
@@ -223,7 +223,7 @@
      v-if="editSelCommonConfig.editVisible"
      :edit-common-config="editSelCommonConfig"
      :sign="sign"
      :selectBoxList="tableList.tableData"
      :selectBoxList="arrDisabledList"
      :quotationNumber="quotationNumber"
      @selClient="selClient"
      @getSelectArray="getSelectArray"
@@ -304,13 +304,21 @@
          mergeNumber: 1
        }
      }
    },
    disabledList:{
      type:[Array],
      default: () => {
        return []
      }
    }
  },
  data() {
    return {
      total: 0,
      productList: [],
      tableList: [],
      tableList: {
        tableData:[]
      },
      editSelCommonConfig: {
        editVisible: false,
        isSelectBox: false,
@@ -320,6 +328,7 @@
      },
      productIndex: 0,
      supplierId:null,
      arrDisabledList:[]
    }
  },
  created() {
@@ -338,7 +347,10 @@
    supplierId(n,o) {  
      this.editSelCommonConfig.supplierId=n
      console.log(n,o,"看看那") 
    }
    } ,
    'tableList.tableData':function () {
      this.arrDisabledList=this.disabledList.concat(this.tableList.tableData)
    }
  },
  computed: {},
  methods: {
@@ -372,6 +384,7 @@
    },
    getTableInfo() {
      this.tableList = this.productTableList
      this.arrDisabledList=this.disabledList.concat(this.tableList.tableData)
    },
    // 产品名称
    async getProductList() {
@@ -494,7 +507,7 @@
      }
    },
    commonInputChange(val, prop, row, scope) {
      if (prop === "amount") {
      if (prop === "amount"||prop=='purchasePrice') {
        this.tableList.tableData.map((ite) => {
          if (ite.name === row.name) {
            ite.total = row.amount * row.purchasePrice
@@ -553,6 +566,7 @@
      this.tableList.tableData.map((ite) => {
        if (ite.name === item.name) {
          ite.amount = item.amount || 1
          ite.productId = item.id
          ite.number = item.number
          ite.purchasePrice = item.purchasePrice
          ite.price = item.purchasePrice