1
liuying
2024-04-25 cf04c31eb5f3f4c9e2a863010673773e1705385e
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,21 @@
      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 = []
        selectedRowsArrMy.forEach(item => {
          var itemArr = this.list.filter(v=>v.custCode != item.custCode)
          if(itemArr.length>0){
            arr1 = arr1.concat(itemArr)
          }
        })
        this.list = [...arr1,...this.list]
      }
      this.visible = false
    },
    handleCancel() {