liuying
2024-04-25 07562e1627ef14d4a946d352739d2f8d17d6360b
iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/addFormBaseCustomer/addFormBaseCustomer.vue
@@ -73,7 +73,7 @@
          align: 'center'
        },
        {
          title: '客户编号',
          title: '编号',
          align: 'center',
          customHeaderCell: () => {
            return {
@@ -93,7 +93,7 @@
          dataIndex: 'custCode'
        },
        {
          title: '客户中文名称',
          title: '中文名称',
          align: 'center',
          customHeaderCell: () => {
            return {
@@ -181,6 +181,22 @@
      this.list = param
    },
    handleSubmit() {
      var selectedRowsArrMy = this.$refs.showList.selectedRows;
      console.log("3333333")
      console.log(selectedRowsArrMy)
      if(this.list.length==0){
        this.list = selectedRowsArrMy
      }else{
        var arr1 = []
        this.list.forEach(item => {
          var itemArr = selectedRowsArrMy.filter(v=>v.id != item.id)
          if(itemArr.length>0){
            //arr1.push(itemArr[0])
            arr1.concat(itemArr)
          }
        })
        this.list.concat(arr1)
      }
      this.visible = false
    },
    handleCancel() {