chenlu
2024-03-08 f38b9b10de303806a8d27734dbbf0ff8815dba49
north-glass-erp/northglass-erp/src/views/pp/Replenish/SelectReplenish.vue
@@ -85,7 +85,7 @@
  keepSource: true,//保持源数据
  align: 'center',//文字居中
  stripe:true,//斑马纹
  rowConfig: {isCurrent: true, isHover: true,height: 50},//鼠标移动或选择高亮
  rowConfig: {isCurrent: true, isHover: true,height: 30},//鼠标移动或选择高亮
  id: 'CustomerList',
  showFooter: true,//显示脚
  printConfig: {},
@@ -154,7 +154,7 @@
  },
  //脚部求和
  footerMethod ({ columns, data }) {//页脚函数
    let footList=['processCardNumber','numberBroken']
    let footList=['patch_num','patch_area']
    return[
      columns.map((column, columnIndex) => {
        if (columnIndex === 0) {
@@ -179,7 +179,10 @@
          const $table = xGrid.value
          if ($table) {
            const selectRecords = $table.getCheckboxRecords()
            if (selectRecords.length === 0) {
              ElMessage.warning("未选中数据")
              return
            }
            let flowData = ref({
              userId:userid,
@@ -190,7 +193,7 @@
            request.post("/Replenish/updateReplenish",flowData.value).then((res) => {
              if(res.code==200){
                ElMessage.success("审核成功")
                location.reload();
                router.push({path:'/main/Replenish/SelectReplenish',query:{random:Math.random()}})
              }else{
                ElMessage.warning(res.msg)